CREATE TABLE IF NOT EXISTS ai_operator_settings (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    settings_key TEXT NOT NULL UNIQUE,
    config_json TEXT NOT NULL DEFAULT '{}',
    updated_at TEXT NOT NULL
);

CREATE INDEX IF NOT EXISTS idx_ai_operator_settings_key
ON ai_operator_settings(settings_key);

CREATE INDEX IF NOT EXISTS idx_ai_operator_settings_updated_at
ON ai_operator_settings(updated_at);
