feat: remove --skip-generate option from Prisma db push in entrypoint script
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions

This commit is contained in:
Najjar\NajjarV02 2026-04-15 10:30:13 +04:00
parent 4924593b40
commit 45ffd33d39

View File

@ -7,8 +7,7 @@ mkdir -p /app/prisma
echo "→ Syncing database schema..." echo "→ Syncing database schema..."
# db push creates the SQLite file and syncs tables to match schema.prisma # db push creates the SQLite file and syncs tables to match schema.prisma
# --skip-generate: client was already generated at build time /app/node_modules/.bin/prisma db push
/app/node_modules/.bin/prisma db push --skip-generate
echo "→ Starting Next.js on port ${PORT:-3000}..." echo "→ Starting Next.js on port ${PORT:-3000}..."
exec node /app/server.js exec node /app/server.js