ALTER TABLE system_logs
  ADD COLUMN module VARCHAR(100) DEFAULT NULL AFTER event,
  ADD COLUMN details TEXT DEFAULT NULL AFTER module;

ALTER TABLE system_logs
  ADD INDEX idx_system_logs_module (module),
  ADD INDEX idx_system_logs_created_at (created_at);
