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:
parent
b06842bcab
commit
f7d6f23b78
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
Loading…
Reference in a new issue