From 04f1801b892c1046f636f4a19e9d3a402ab1a685 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 2 Jul 2026 14:34:46 -0500 Subject: [PATCH] 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 --- backend/entrypoint.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh index aa1cd85..f2bb2de 100644 --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -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..."