mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-29 06:11:36 +00:00
try to fix env var
This commit is contained in:
parent
1a7189787d
commit
d57d29392e
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ pub fn get_dump() -> String {
|
|||
"--no-table-access-method",
|
||||
"--no-tablespaces",
|
||||
])
|
||||
.env("DATABASE_URL", SETTINGS.get_database_url())
|
||||
.env("PGDATABASE", SETTINGS.get_database_url())
|
||||
.stderr(Stdio::inherit())
|
||||
.output()
|
||||
.expect("failed to start pg_dump process");
|
||||
|
|
Loading…
Reference in a new issue