ALTER TABLE audit_logs
  ADD INDEX idx_audit_logs_created (created_at),
  ADD INDEX idx_audit_logs_ip_created (ip_address, created_at),
  ADD INDEX idx_audit_logs_module_created (entity_type, created_at);

ALTER TABLE appointments
  ADD INDEX idx_appointments_start (start_at),
  ADD INDEX idx_appointments_status_start (status, start_at),
  ADD INDEX idx_appointments_type_start (appointment_type, start_at);
