mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +00:00
build(deploy): migrate d1 before deployment
Apply pending D1 migrations before deploying code that requires them. Stop deployment when migration fails instead of running against an incomplete schema.
This commit is contained in:
1 parent
8bfa8da2ec
commit
a62044f359
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@
|
||||
"scripts": {
|
||||
"dev": "nuxt dev",
|
||||
"build": "nuxt build",
|
||||
"deploy": "wrangler deploy",
|
||||
"deploy": "bun run db:migrate:prod && wrangler deploy",
|
||||
"cf:dev": "nuxt build && wrangler dev",
|
||||
"preview": "nuxt preview",
|
||||
"typecheck": "nuxt typecheck",
|
||||
|
||||
Reference in new issue
Block a user