Initial commit
This commit is contained in:
10
prisma-cli.sh
Executable file
10
prisma-cli.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Helper script to run Prisma commands in Docker container
|
||||
# Usage: ./prisma-cli.sh <command>
|
||||
# Examples:
|
||||
# ./prisma-cli.sh migrate deploy
|
||||
# ./prisma-cli.sh generate
|
||||
# ./prisma-cli.sh studio
|
||||
# ./prisma-cli.sh db seed
|
||||
|
||||
docker compose -f docker-compose.yaml exec web sh -c "cd /app && /app/node_modules/.bin/prisma $*"
|
||||
Reference in New Issue
Block a user