2023-10-30 08:11:52 +00:00
|
|
|
DELIMITER $$
|
2024-01-25 16:33:54 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`expeditionState_beforeInsert`
|
2023-10-30 08:11:52 +00:00
|
|
|
BEFORE INSERT ON `expeditionState`
|
|
|
|
FOR EACH ROW
|
|
|
|
BEGIN
|
|
|
|
SET NEW.userFk = IFNULL(NEW.userFk, account.myUser_getId());
|
|
|
|
END$$
|
|
|
|
DELIMITER ;
|