-- Add custom page and navigation fields to settings

ALTER TABLE settings
ADD COLUMN IF NOT EXISTS about_html TEXT,
ADD COLUMN IF NOT EXISTS show_about_in_nav BOOLEAN DEFAULT TRUE,
ADD COLUMN IF NOT EXISTS custom_nav_json TEXT;

COMMENT ON COLUMN settings.about_html IS 'Rich HTML content for the unified custom club page';
COMMENT ON COLUMN settings.show_about_in_nav IS 'Controls whether the custom club page appears in main navigation';
COMMENT ON COLUMN settings.custom_nav_json IS 'Serialized custom navigation links managed via admin settings';
