9 lines
190 B
MySQL
9 lines
190 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `pbx`.`queue_beforeInsert`
|
||
|
BEFORE INSERT ON `queue`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL queue_isValid(NEW.`name`);
|
||
|
END$$
|
||
|
DELIMITER ;
|