

INSERT INTO settings (setting_key, setting_value, setting_group)
SELECT 'mobile_access_token_ttl_days', '180', 'mobile_app'
WHERE NOT EXISTS (SELECT 1 FROM settings WHERE setting_key = 'mobile_access_token_ttl_days');
