salix/db/routines/vn/triggers/autonomy_afterDelete.sql

9 lines
194 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`autonomy_afterDelete`
AFTER DELETE ON `autonomy`
FOR EACH ROW
BEGIN
CALL zoneGeo_delete(OLD.geoFk);
END$$
DELIMITER ;