fix(db): make accentColor migration idempotent with IF NOT EXISTS
Tessera CI/CD / Lint & Type Check (push) Successful in 43s
Tessera CI/CD / Tests (push) Successful in 48s
Tessera CI/CD / Build & Publish Images (push) Successful in 4m1s

Column already existed in production DB — migration failed with 42701.
Hotfixed via psql UPDATE on _prisma_migrations; migration SQL updated
to prevent recurrence on fresh deploys.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-02 10:47:00 +02:00
parent 819d50a222
commit 4aef69bd83
@@ -1,2 +1,2 @@
-- AlterTable -- AlterTable
ALTER TABLE "User" ADD COLUMN "accentColor" TEXT; ALTER TABLE "User" ADD COLUMN IF NOT EXISTS "accentColor" TEXT;