Rebuild: a dedicated Postgres for development (its own database, as in production)

The shared database's public schema leaked the old indexer's tables into
the generated schema.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daan MeijerandClaude Opus 5.5 committed 2026-10-09 00:19:51 +02:00
1 parent 2209921846
commit 0714b2c81a
3 files changed
-705

No files matched your search

-2
View File
@@ -18,8 +18,6 @@ const dbConfig = defineConfig({
password: env.get('DB_PASSWORD'),
database: env.get('DB_DATABASE'),
},
// Local development may share a database, in its own schema (DB_SEARCH_PATH=rebuild).
...(env.get('DB_SEARCH_PATH') ? { searchPath: env.get('DB_SEARCH_PATH')!.split(',') } : {}),
pool: { min: 0, max: env.get('DB_POOL_MAX', 10) },
migrations: {
naturalSort: true,