diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 2f67c04..5533f38 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -6,7 +6,7 @@ MAX_RETRIES=30 RETRY=0 while [ $RETRY -lt $MAX_RETRIES ]; do - if npx prisma db push --skip-generate 2>&1; then + if npx prisma db push --skip-generate --accept-data-loss 2>&1; then echo "Database schema synced successfully." break fi