7 lines
224 B
MySQL
7 lines
224 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`ektEntryAssign_afterInsert`
|
||
|
AFTER INSERT ON `ektEntryAssign`
|
||
|
FOR EACH ROW
|
||
|
UPDATE entry SET reference = NEW.`ref` WHERE id = NEW.entryFk$$
|
||
|
DELIMITER ;
|