DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`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 ;