ALTER TABLE app_settings
ADD COLUMN llm_active_provider TEXT NOT NULL DEFAULT 'openai';

ALTER TABLE app_settings
ADD COLUMN llm_active_model TEXT NOT NULL DEFAULT '';

ALTER TABLE app_settings
ADD COLUMN llm_base_url TEXT NOT NULL DEFAULT '';

ALTER TABLE app_settings
ADD COLUMN openai_api_key_encrypted TEXT NOT NULL DEFAULT '';

ALTER TABLE app_settings
ADD COLUMN anthropic_api_key_encrypted TEXT NOT NULL DEFAULT '';

ALTER TABLE app_settings
ADD COLUMN google_api_key_encrypted TEXT NOT NULL DEFAULT '';

ALTER TABLE app_settings
ADD COLUMN xai_api_key_encrypted TEXT NOT NULL DEFAULT '';

ALTER TABLE app_settings
ADD COLUMN ollama_api_key_encrypted TEXT NOT NULL DEFAULT '';
