Skip to content

Commit f20edb0

Browse files
jakechen1claude
andcommitted
Align all db references to aimeddata.db - prisma, rebuild, and runtime
Both prisma generate and rebuild-db.mjs now use the SAME file (aimeddata.db). Rebuild runs AFTER generate and overwrites with correct schema from data/schema.sql. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 43fadee commit f20edb0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
66
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
77

8-
DATABASE_URL="file:./prisma-schema-only.db"
8+
DATABASE_URL="file:./aimeddata.db"

prisma.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ export default defineConfig({
1010
},
1111
datasource: {
1212
// Use a dummy name that won't conflict with the production database
13-
url: process.env["DATABASE_URL"] || "file:./prisma-schema-only.db",
13+
url: process.env["DATABASE_URL"] || "file:./aimeddata.db",
1414
},
1515
});

0 commit comments

Comments
 (0)