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.
1 parent b79de13 commit 985f6f5Copy full SHA for 985f6f5
1 file changed
packages/database/src/dbDotEnv.mjs
@@ -23,6 +23,10 @@ export const getVariant = () => {
23
useDbArgPos > 0
24
? process.argv[useDbArgPos + 1]
25
: process.env["SUPABASE_USE_DB"];
26
+ if (variant === undefined) {
27
+ dotenv.config();
28
+ variant = process.env["SUPABASE_USE_DB"];
29
+ }
30
31
if (
32
["local", "branch", "production", "none", "implicit", undefined].indexOf(
0 commit comments