DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`zone_afterDelete`
	AFTER DELETE ON `zone`
	FOR EACH ROW
BEGIN
	INSERT INTO zoneLog
		SET `action` = 'delete',
			`changedModel` = 'Zone',
			`changedModelId` = OLD.id,
			`userFk` = account.myUser_getId();
END$$
DELIMITER ;
