-- Rollback performance optimization indexes
-- Migration: 006_performance_indexes

DROP INDEX IF EXISTS idx_user_email_lower;
DROP INDEX IF EXISTS idx_user_username_lower;
DROP INDEX IF EXISTS idx_admin_email_lower;

DROP INDEX IF EXISTS idx_task_residence_status;
DROP INDEX IF EXISTS idx_task_residence_active;
DROP INDEX IF EXISTS idx_task_next_due_date;

DROP INDEX IF EXISTS idx_notification_user_read;
DROP INDEX IF EXISTS idx_notification_user_sent;
DROP INDEX IF EXISTS idx_notification_task;

DROP INDEX IF EXISTS idx_document_residence_active_type;
DROP INDEX IF EXISTS idx_document_expiry_active;

DROP INDEX IF EXISTS idx_contractor_created_by;
DROP INDEX IF EXISTS idx_completion_task;
DROP INDEX IF EXISTS idx_completion_completed_by;
DROP INDEX IF EXISTS idx_residence_member_user;
DROP INDEX IF EXISTS idx_share_code_active;
