9 lines
187 B
MySQL
9 lines
187 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `pbx`.`sip_beforeUpdate`
|
||
|
BEFORE UPDATE ON `sip`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL sip_isValid(NEW.extension);
|
||
|
END$$
|
||
|
DELIMITER ;
|