-- Ads economics: 60% platform owner, 40% viewers per view
USE aihub;

INSERT INTO settings (setting_key, setting_value) VALUES ('ads_platform_fee_pct', '50')
ON DUPLICATE KEY UPDATE setting_value = '50';

INSERT INTO settings (setting_key, setting_value) VALUES ('ads_platform_owner_user_id', '')
ON DUPLICATE KEY UPDATE setting_value = setting_value;

UPDATE settings SET setting_value = '250' WHERE setting_key = 'ads_default_cpv' AND setting_value = '150';
