salix/db/routines/vn/triggers/saleGroup_beforeUpdate.sql

9 lines
212 B
MySQL
Raw Normal View History

2024-01-25 16:33:54 +00:00
DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` TRIGGER `vn`.`saleGroup_beforeUpdate`
2024-01-25 16:33:54 +00:00
BEFORE UPDATE ON `saleGroup`
FOR EACH ROW
BEGIN
SET NEW.editorFk = account.myUser_getId();
END$$
DELIMITER ;