-- migrations/001_create_bot_settings.sql
CREATE TABLE IF NOT EXISTS bot_settings (
    id INT AUTO_INCREMENT PRIMARY KEY,
    setting_key VARCHAR(50) UNIQUE NOT NULL,
    setting_value TEXT,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);

INSERT IGNORE INTO bot_settings (setting_key, setting_value) VALUES 
('discord_token', ''),
('guild_id', ''),
('voice_channel_id', ''),
('last_voice_channel', '');
