Files
MOPC-Portal/docker/docker-entrypoint.sh
Matt 3854b6ff0c
All checks were successful
Build and Push Docker Image / build (push) Successful in 9m25s
fix: auto-resolve failed migrations in docker entrypoint
On startup, check for any failed migration in _prisma_migrations and
automatically mark it as rolled-back before running migrate deploy.
This prevents a partially-applied migration from permanently blocking
all future deployments. Also reduce max retries from 30 to 6.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 13:50:20 -04:00

3.1 KiB