11 lines
241 B
MySQL
11 lines
241 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`town_beforeUpdate`
|
||
|
BEFORE UPDATE ON `town`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
-- IF !(OLD.geoFk <=> NEW.geoFk) THEN
|
||
|
-- CALL zoneGeo_throwNotEditable;
|
||
|
-- END IF;
|
||
|
END$$
|
||
|
DELIMITER ;
|