|
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`itemShelving_beforeInsert`
|
|
BEFORE INSERT ON `itemShelving`
|
|
FOR EACH ROW
|
|
BEGIN
|
|
SET NEW.editorFk = account.myUser_getId();
|
|
SET NEW.userFk = account.myUser_getId();
|
|
|
|
END$$
|
|
DELIMITER ;
|