DROP INDEX IF EXISTS idx_generation_tasks_recent_completed_state_check; DROP INDEX IF EXISTS idx_generation_tasks_active_state_check;