Моя ошибка триггера все еще, это мой SQL-код
Запрос SQL:
CREATE DEFINER = `user`@`localhost`
TRIGGER `trg_group`
BEFORE DELETE ON `ref_group`
FOR EACH ROW IF old.id = 1 OR old.name ='super_admin' THEN
SIGNAL SQLSTATE '45000'
SET MESSAGE_TEXT = 'This record is sacred! You are not allowed to remove it!!'
MySQL
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near '' at line 3
Что не так?