Update Prisma binary execution path

This commit is contained in:
Jesse Wierzbinski 2024-04-07 00:45:20 -10:00
parent 79f278e0bf
commit 6a358ce898
No known key found for this signature in database

View file

@ -31,7 +31,7 @@ case "$1" in
# Set DATABASE_URL env variable to the output of bun run ./dist/prisma.js # Set DATABASE_URL env variable to the output of bun run ./dist/prisma.js
export DATABASE_URL=$(bun run ./prisma.js) export DATABASE_URL=$(bun run ./prisma.js)
# Execute the Prisma binary # Execute the Prisma binary
exec bunx prisma "$@" exec ./node_modules/.bin/prisma "$@"
;; ;;
*) *)
# Run custom commands # Run custom commands