DB deploy fixes (#2408)

* DB deploy fixes

* Update turbo.json

* Turbo fixes
pull/2406/head^2
Omar López 2022-04-06 13:52:48 -06:00 committed by GitHub
parent 0e93af912e
commit f9bd93197e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -13,7 +13,7 @@
"db-setup": "run-s db-up db-deploy db-seed",
"db-studio": "yarn prisma studio",
"db-up": "docker-compose up -d",
"deploy": "run-s build db-deploy",
"deploy": "yarn prisma migrate deploy",
"dx": "yarn db-setup",
"generate-schemas": "prisma generate && prisma format",
"postinstall": "yarn generate-schemas"

View File

@ -8,6 +8,7 @@
"outputs": ["zod/**"]
},
"@calcom/prisma#db-deploy": {
"cache": false,
"dependsOn": ["$DATABASE_URL"]
},
"@calcom/prisma#db-reset": {
@ -20,6 +21,7 @@
"@calcom/web#build": {
"dependsOn": [
"^build",
"@calcom/prisma#build",
"$CALENDSO_ENCRYPTION_KEY",
"$CRON_API_KEY",
"$DAILY_API_KEY",
@ -92,7 +94,9 @@
"db-deploy": {},
"db-seed": {},
"deploy": {
"dependsOn": ["@calcom/web#build"]
"cache": false,
"dependsOn": ["@calcom/web#build"],
"outputs": []
},
"clean": {
"cache": false