fix: Database migration failed

This commit is contained in:
sunny
2025-03-04 17:31:54 +08:00
parent 5173cbf9d3
commit cd429b96d8
3 changed files with 284 additions and 20 deletions

View File

@@ -8,8 +8,8 @@
"start": "next start",
"lint": "next lint",
"build:pages": "npx @cloudflare/next-on-pages",
"db:migrate-local": "bun run scripts/migrate.ts local",
"db:migrate-remote": "bun run scripts/migrate.ts remote",
"db:migrate-local": "tsx scripts/migrate.ts local",
"db:migrate-remote": "tsx scripts/migrate.ts remote",
"webhook-test-server": "bun run scripts/webhook-test-server.ts",
"generate-test-data": "wrangler dev scripts/generate-test-data.ts",
"dev:cleanup": "wrangler dev --config wrangler.cleanup.json --test-scheduled",
@@ -53,7 +53,6 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241127.0",
"@iarna/toml": "^3.0.0",
"@types/bun": "^1.1.14",
"@types/next-pwa": "^5.6.9",
"@types/node": "^20",
@@ -67,6 +66,7 @@
"eslint-config-next": "15.0.3",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"tsx": "^4.19.3",
"typescript": "^5",
"vercel": "39.1.1",
"wrangler": "^3.91.0"