update db deploy

This commit is contained in:
root
2026-05-11 16:59:05 -04:00
committed by Administrator
parent cd9fe155ba
commit 0e1b6f0338
2 changed files with 107 additions and 1 deletions
+1 -1
View File
@@ -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",