ALTER TABLE `ohrm_audittrail_section`
  ADD CONSTRAINT `fk_ohrm_audittrail_section_module_id` FOREIGN KEY (`module_id`)
        REFERENCES `ohrm_audittrail_module`(`id`) ON DELETE CASCADE;

ALTER TABLE ohrm_audittrail_section_actions
  ADD CONSTRAINT `ohrm_audittrail_section_actions_section_id` FOREIGN KEY (`section_id`)
      REFERENCES `ohrm_audittrail_section`(`id`) ON DELETE CASCADE;