From 80641b60583f43a6de91f135dcfe5e552d612439 Mon Sep 17 00:00:00 2001 From: Catherine Renelle <32781029+catrenelle@users.noreply.github.com> Date: Thu, 26 Feb 2026 20:12:46 -0500 Subject: [PATCH] Fix deploy: add --accept-data-loss for search_vector column prisma db push refuses to sync when the search_vector generated column exists in the DB but not in the schema. The column is managed by setup-search.sql which runs immediately after. Co-Authored-By: Claude Opus 4.6 --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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