9 lines
185 B
MySQL
9 lines
185 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`town_afterDelete`
|
||
|
AFTER DELETE ON `town`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL zoneGeo_delete(OLD.geoFk);
|
||
|
END$$
|
||
|
DELIMITER ;
|