update db deploy
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@
|
||||
"type-check": "turbo type-check",
|
||||
"clerk:keys": "bash scripts/setup-clerk-keys.sh",
|
||||
"db:generate": "turbo db:generate",
|
||||
"db:deploy": "sh -c 'if [ -n \"$(find packages/database/prisma/migrations -mindepth 1 -maxdepth 1 -print -quit 2>/dev/null)\" ]; then npm run db:migrate:deploy --workspace @rentaldrivego/database; else npm run db:push --workspace @rentaldrivego/database; fi'",
|
||||
"db:deploy": "node packages/database/scripts/db-deploy.cjs",
|
||||
"db:push": "turbo db:push",
|
||||
"db:migrate": "turbo db:migrate",
|
||||
"db:seed": "turbo db:seed",
|
||||
|
||||
Reference in New Issue
Block a user