From d57d29392ebb064e71dd63df17bfade74ff58d94 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Thu, 23 May 2024 14:11:58 -0700 Subject: [PATCH] try to fix env var --- crates/db_schema/src/schema_setup/diff_check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_schema/src/schema_setup/diff_check.rs b/crates/db_schema/src/schema_setup/diff_check.rs index aa86c0a36..a14d745e1 100644 --- a/crates/db_schema/src/schema_setup/diff_check.rs +++ b/crates/db_schema/src/schema_setup/diff_check.rs @@ -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");