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