feat: add reviewed postgres migration foundation

This commit is contained in:
Jesse_Chen
2026-07-21 07:45:14 +08:00
parent 1afbc23e19
commit 69b38ee6ed
8 changed files with 750 additions and 3 deletions
+6 -1
View File
@@ -7,8 +7,10 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"test": "tsx --test tests/*.test.ts",
"test": "tsx --test --test-concurrency=1 tests/*.test.ts",
"test:db": "tsx --test --test-concurrency=1 tests/database-*.test.ts",
"db:migrate": "node scripts/db-migrate.mjs",
"db:migrate:check": "node scripts/db-migrate.mjs --check",
"lint": "eslint",
"data:china": "node scripts/pull-china-locations.mjs"
},
@@ -21,8 +23,10 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.4.0",
"drizzle-orm": "^0.45.2",
"lucide-react": "^1.24.0",
"next": "16.2.10",
"pg": "^8.22.0",
"react": "19.2.4",
"react-day-picker": "^10.0.1",
"react-dom": "19.2.4",
@@ -35,6 +39,7 @@
},
"devDependencies": {
"@types/node": "^20",
"@types/pg": "^8.20.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",