Lägesmedveten DB-URL: runtime endast DATABASE_URL, tester endast TEST_DATABASE_URL

This commit is contained in:
Sven (AAMOS AI)
2026-08-06 17:43:11 +07:00
parent fd5c828f96
commit e5a9d72197
6 changed files with 50 additions and 12 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "tsx src/migrate.ts && vitest run --passWithNoTests",
"test": "tsx src/migrate.ts --test && vitest run --passWithNoTests",
"db:generate": "drizzle-kit generate",
"db:migrate": "tsx src/migrate.ts",
"db:seed": "tsx src/seed/run.ts"