mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Rename database environment variables for consistency
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user