ref #5216 refactor expeditionState BeforeInsert
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
ab0640291b
commit
f250c084f7
|
@ -0,0 +1,13 @@
|
|||
DELIMITER $$
|
||||
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`expeditionState_BeforeInsert`
|
||||
BEFORE INSERT ON `expeditionState`
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
|
||||
SET NEW.userFk = IFNULL(NEW.userFk, account.myUser_getId());
|
||||
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue