feat(14-01): add PGlite test helper and generate initial PostgreSQL migration

- Rewrite tests/helpers/db.ts to use drizzle-orm/pglite with async createTestDb()
- Generate initial migration with 13 CREATE TABLE statements in drizzle-pg/
- Add drizzle-pg to biome ignore list (generated files)
- PGlite smoke test confirms migrations apply and seed works
This commit is contained in:
2026-04-04 12:18:50 +02:00
parent 3724cf8348
commit 3bf1fd7cb8
5 changed files with 1000 additions and 14 deletions

View File

@@ -7,7 +7,13 @@
},
"files": {
"ignoreUnknown": false,
"includes": ["**", "!src/client/routeTree.gen.ts", "!drizzle", "!.planning"]
"includes": [
"**",
"!src/client/routeTree.gen.ts",
"!drizzle",
"!drizzle-pg",
"!.planning"
]
},
"formatter": {
"enabled": true,