9 lines
192 B
MySQL
9 lines
192 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `hedera`.`link_afterInsert`
|
||
|
AFTER INSERT ON `link`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL image_ref('link', NEW.image);
|
||
|
END$$
|
||
|
DELIMITER ;
|