9 lines
199 B
MySQL
9 lines
199 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `pbx`.`followme_beforeInsert`
|
||
|
BEFORE INSERT ON `followme`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL pbx.phone_isValid(NEW.phone);
|
||
|
END$$
|
||
|
DELIMITER ;
|