Rename database environment variables for consistency

This commit is contained in:
Aman Varshney
2025-04-09 08:42:23 +05:30
parent 33a43fcf14
commit 7504d2734f
10 changed files with 23 additions and 26 deletions

View File

@@ -56,8 +56,8 @@ export async function setupEnvironmentVariables(
}
if (options.database === "sqlite" && options.dbSetup !== "turso") {
if (!envContent.includes("TURSO_CONNECTION_URL")) {
envContent += "\nTURSO_CONNECTION_URL=file:./local.db";
if (!envContent.includes("DATABASE_URL")) {
envContent += "\nDATABASE_URL=file:./local.db";
}
}
}