File tree 4 files changed +4
-3
lines changed
4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
if [[ " $DATABASE_PROVIDER " == " postgresql" || " $DATABASE_PROVIDER " == " mysql" ]]; then
10
10
export DATABASE_URL
11
- prisma migrate deploy --schema=prisma/$DATABASE_PROVIDER -schema.prisma
12
- prisma generate --schema=prisma/$DATABASE_PROVIDER -schema.prisma
11
+ ./node_modules/.bin/ prisma migrate deploy --schema=prisma/$DATABASE_PROVIDER -schema.prisma
12
+ ./node_modules/.bin/ prisma generate --schema=prisma/$DATABASE_PROVIDER -schema.prisma
13
13
else
14
14
echo " Error: Database provider $DATABASE_PROVIDER invalid."
15
15
exit 1
Original file line number Diff line number Diff line change 9
9
if [[ " $DATABASE_PROVIDER " == " postgresql" || " $DATABASE_PROVIDER " == " mysql" ]]; then
10
10
export DATABASE_URL
11
11
echo " Database URL: $DATABASE_URL "
12
- prisma generate --schema=prisma/$DATABASE_PROVIDER -schema.prisma
12
+ ./node_modules/.bin/ prisma generate --schema=prisma/$DATABASE_PROVIDER -schema.prisma
13
13
else
14
14
echo " Error: Database provider $DATABASE_PROVIDER invalid."
15
15
exit 1
Original file line number Diff line number Diff line change 84
84
"parse-bmfont-xml" : " ^1.1.4" ,
85
85
"pg" : " ^8.11.3" ,
86
86
"pino" : " ^8.11.0" ,
87
+ "prisma" : " ^5.15.0" ,
87
88
"qrcode" : " ^1.5.1" ,
88
89
"qrcode-terminal" : " ^0.12.0" ,
89
90
"redis" : " ^4.6.5" ,
You can’t perform that action at this time.
0 commit comments