-- Add admin setting to control auto-refresh on tab visibility change
INSERT INTO admin_settings (setting_key, setting_value, category, description, created_at, updated_at)
VALUES (
  'system.refresh_on_tab_visible',
  'false',
  'system',
  'Auto-refresh moderation queue when returning to tab (default: false, realtime handles updates)',
  now(),
  now()
)
ON CONFLICT (setting_key) DO NOTHING;