mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(env-setup): use a local file as default in sqlite (#124)
This commit is contained in:
committed by
GitHub
parent
711c733b50
commit
33a43fcf14
@@ -57,7 +57,7 @@ export async function setupEnvironmentVariables(
|
||||
|
||||
if (options.database === "sqlite" && options.dbSetup !== "turso") {
|
||||
if (!envContent.includes("TURSO_CONNECTION_URL")) {
|
||||
envContent += "\nTURSO_CONNECTION_URL=http://127.0.0.1:8080";
|
||||
envContent += "\nTURSO_CONNECTION_URL=file:./local.db";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user