2024-04-16 14:25:27 +00:00
|
|
|
DELIMITER $$
|
2024-08-20 08:06:10 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`agency_beforeInsert`
|
2024-04-16 14:25:27 +00:00
|
|
|
BEFORE INSERT ON `agency`
|
|
|
|
FOR EACH ROW
|
|
|
|
BEGIN
|
|
|
|
SET NEW.editorFk = account.myUser_getId();
|
|
|
|
END$$
|
|
|
|
DELIMITER ;
|