#!/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 $*"
