-- Token Pricing Configuration Migration
-- Run this on your live server to enable dynamic token pricing configuration

-- Insert default token cost settings into the settings table
INSERT INTO settings (setting_key, setting_value) VALUES 
    ('token_cost_per_char', '1'),
    ('token_cost_per_image', '2500'),
    ('token_cost_per_video_sec', '100'),
    ('token_cost_per_audio_sec', '10')
ON DUPLICATE KEY UPDATE 
    setting_key = VALUES(setting_key);

-- Verify insertion
SELECT setting_key, setting_value FROM settings WHERE setting_key LIKE 'token_cost_%';
