DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` TRIGGER `account`.`roleInherit_afterDelete`
	AFTER DELETE ON `roleInherit`
	FOR EACH ROW
BEGIN
	INSERT INTO roleLog
		SET `action` = 'delete',
			`changedModel` = 'RoleInherit',
			`changedModelId` = OLD.id,
			`userFk` = account.myUser_getId();
END$$
DELIMITER ;
