mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-12 22:06:34 +00:00
try to fix env var
This commit is contained in:
parent
1a7189787d
commit
d57d29392e
|
@ -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