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

9 lines
189 B
MySQL
Raw Normal View History

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