-- Drop performance optimization indexes for WHOOSH

-- Drop agents table performance indexes
DROP INDEX IF EXISTS idx_agents_status_last_seen;

-- Drop repositories table performance indexes
DROP INDEX IF EXISTS idx_repositories_full_name_lookup;
DROP INDEX IF EXISTS idx_repositories_last_issue_sync;

-- Drop tasks table performance indexes
DROP INDEX IF EXISTS idx_tasks_external_source_lookup;

-- Drop council_agents table performance indexes
DROP INDEX IF EXISTS idx_council_agents_council_lookup;

-- Drop additional performance indexes
DROP INDEX IF EXISTS idx_teams_status_task;
DROP INDEX IF EXISTS idx_repository_webhooks_active_repo;
DROP INDEX IF EXISTS idx_repository_sync_logs_recent;
DROP INDEX IF EXISTS idx_task_assignments_active;
DROP INDEX IF EXISTS idx_council_agents_deployment_status;
DROP INDEX IF EXISTS idx_tasks_completion_analysis;
DROP INDEX IF EXISTS idx_agents_performance_monitoring;