-- Migration 045: Add V2 tab fields required by validator
CREATE TABLE IF NOT EXISTS ftt_migration_marker_045 (id INT PRIMARY KEY AUTO_INCREMENT);
-- Add example columns to app_tabs for v2 fields
ALTER TABLE IF EXISTS app_tabs ADD COLUMN IF NOT EXISTS button_color_hex VARCHAR(16);
ALTER TABLE IF EXISTS app_tabs ADD COLUMN IF NOT EXISTS active_color_hex VARCHAR(16);
ALTER TABLE IF EXISTS app_tabs ADD COLUMN IF NOT EXISTS override_theme_color VARCHAR(16);
-- Add feature policy table stub
CREATE TABLE IF NOT EXISTS app_feature_policy (
  id INT PRIMARY KEY AUTO_INCREMENT,
  tab_id VARCHAR(64),
  visibility VARCHAR(32)
);
