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

10 lines
257 B
MySQL
Raw Normal View History

DELIMITER $$
2024-08-20 08:06:10 +00:00
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`roadmapStop_beforeUpdate`
BEFORE UPDATE ON `roadmapStop`
FOR EACH ROW
BEGIN
2025-01-21 13:03:50 +00:00
SET NEW.editorFk = account.myUser_getId();
SET NEW.description = UCASE(NEW.description);
END$$
DELIMITER ;