fix(entrypoint): let 0001 migration run so rethus columns are created on deploy

Baselining 0001 caused rethus_code/rethus_validated to never be added
automatically. The SQL already uses IF NOT EXISTS so it is safe to deploy
on every fresh container even if the columns already exist.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-02 14:34:46 -05:00
co-authored by Claude Sonnet 4.6
parent 57c159e91f
commit 04f1801b89
-1
View File
@@ -12,7 +12,6 @@ echo "=== ProsApp Backend Starting ==="
# migration so prisma migrate deploy skips them and only runs new ones.
echo "Baselining existing migrations..."
$PRISMA migrate resolve --applied "0000_init" 2>/dev/null || true
$PRISMA migrate resolve --applied "0001_add_rethus_code" 2>/dev/null || true
# Apply only new/pending migrations (0002, 0003, ...)
echo "Applying pending migrations..."