webupdate1

This commit is contained in:
Local Server
2026-01-04 18:09:47 -06:00
parent c1da8eff42
commit dc58a8ae5f
28 changed files with 44 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
-- Add structured fields to pages table for contact information
-- This allows each section to be edited independently without breaking layout
ALTER TABLE pages
ADD COLUMN IF NOT EXISTS pagedata JSONB DEFAULT '{}'::jsonb;
-- This is valid PostgreSQL syntax (JSONB type and IF NOT EXISTS are PostgreSQL features)
ALTER TABLE pages ADD COLUMN IF NOT EXISTS pagedata JSONB DEFAULT '{}'::jsonb;
COMMENT ON COLUMN pages.pagedata IS 'Structured data for pages that need separate editable fields (e.g., contact info)';