mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +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-table-access-method",
|
||||||
"--no-tablespaces",
|
"--no-tablespaces",
|
||||||
])
|
])
|
||||||
.env("DATABASE_URL", SETTINGS.get_database_url())
|
.env("PGDATABASE", SETTINGS.get_database_url())
|
||||||
.stderr(Stdio::inherit())
|
.stderr(Stdio::inherit())
|
||||||
.output()
|
.output()
|
||||||
.expect("failed to start pg_dump process");
|
.expect("failed to start pg_dump process");
|
||||||
|
|
Loading…
Reference in a new issue