We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DATABASE_URL
1 parent 9f232e5 commit 0c731aeCopy full SHA for 0c731ae
sqlx-macros-core/src/query/mod.rs
@@ -129,9 +129,7 @@ fn init_metadata(manifest_dir: &String) -> crate::Result<Metadata> {
129
130
let offline_dir = env("SQLX_OFFLINE_DIR").ok();
131
132
- let database_url = env(config.common.database_url_var())
133
- .ok()
134
- .or_else(|| env("DATABASE_URL").ok());
+ let database_url = env(config.common.database_url_var()).ok();
135
136
Ok(Metadata {
137
manifest_dir,
0 commit comments