Skip to content

Commit aa2d992

Browse files
committed
feat: adding prisma database url env in turborepo tasks
1 parent 044b3a2 commit aa2d992

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

turbo.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"JWT_SECRET",
3838
"DATABASE_URL",
3939
"DATABASE_URL_REPLICA_1",
40+
"POSTGRES_PRISMA_URL",
41+
"POSTGRES_URL_NON_POOLING",
4042
"REDIS_URL",
4143
"AWS_SES_REGION",
4244
"EMAIL_SERVER_HOST",
@@ -94,6 +96,8 @@
9496
"JWT_SECRET",
9597
"DATABASE_URL",
9698
"DATABASE_URL_REPLICA_1",
99+
"POSTGRES_PRISMA_URL",
100+
"POSTGRES_URL_NON_POOLING",
97101
"REDIS_URL",
98102
"AWS_SES_REGION",
99103
"EMAIL_SERVER_HOST",
@@ -113,6 +117,13 @@
113117
],
114118
"outputs": ["api/**", ".next/**", "!.next/cache/**"]
115119
},
120+
"db:migrate": {
121+
"cache": false,
122+
"persistent": true
123+
},
124+
"db:deploy": {
125+
"cache": false
126+
},
116127
"db:generate": {
117128
"cache": false
118129
},

0 commit comments

Comments
 (0)