Files
portfolio/scripts/start-with-migrate.js
denshooter 42850ea17c
Some checks failed
Gitea CI / test-build (push) Has been cancelled
fix: prevent crash loop when database is unreachable
Make prisma migrate deploy failure non-fatal in start-with-migrate.js.
Previously, migration failure caused process.exit() which killed the
container, triggering an infinite restart loop. Now logs a warning
and starts the Next.js server anyway (app has DB fallbacks).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 14:38:59 +01:00

4.6 KiB