fix: add missing migration for project header visibility fields

Fixes P0 production error where projects failed to load due to missing
database columns. The schema was updated in commit 12d2ba1 to add three
Boolean fields (showFeaturedImageInHeader, showBackgroundColorInHeader,
showLogoInHeader) but no migration was created.

This migration adds the missing columns to the Project table with their
proper defaults (all true), resolving the "column does not exist" error
in production.
This commit is contained in:
Justin Edmund 2025-11-23 06:05:42 -08:00
parent b06842bcab
commit f7d6f23b78

View file

@ -0,0 +1,4 @@
-- AlterTable
ALTER TABLE "Project" ADD COLUMN "showFeaturedImageInHeader" BOOLEAN NOT NULL DEFAULT true,
ADD COLUMN "showBackgroundColorInHeader" BOOLEAN NOT NULL DEFAULT true,
ADD COLUMN "showLogoInHeader" BOOLEAN NOT NULL DEFAULT true;