Add pnpm run db:studio command to open prisma studio

This commit is contained in:
Eric Allam
2023-06-27 11:27:31 +01:00
parent a764cf64b3
commit e1d942bb3a
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@
"build:force": "turbo run build --force",
"db:migrate": "turbo run db:migrate:deploy generate",
"db:seed": "turbo run db:seed",
"db:studio": "turbo run db:studio",
"dev": "turbo run dev --parallel",
"i:dev": "infisical run -- turbo run dev --parallel",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
+2 -1
View File
@@ -14,6 +14,7 @@
"scripts": {
"generate": "prisma generate",
"db:migrate:dev": "prisma migrate dev",
"db:migrate:deploy": "prisma migrate deploy"
"db:migrate:deploy": "prisma migrate deploy",
"db:studio": "prisma studio"
}
}
+3
View File
@@ -38,6 +38,9 @@
"db:seed": {
"cache": false
},
"db:studio": {
"cache": false
},
"dev": {
"cache": false
},