DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` TRIGGER `account`.`role_beforeInsert`
	BEFORE INSERT ON `role`
	FOR EACH ROW
BEGIN
	SET NEW.editorFk = account.myUser_getId();
	CALL role_checkName(NEW.`name`);
END$$
DELIMITER ;
