mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-13 14:12:09 +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-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