salix/db/routines/hedera/triggers/link_afterInsert.sql

9 lines
192 B
MySQL
Raw Normal View History

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 ;