This commit is contained in:
parent
5fe032ac75
commit
cb065f42cd
|
@ -3,7 +3,6 @@ CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`itemTaxCountry_beforeDe
|
||||||
BEFORE DELETE ON `itemTaxCountry`
|
BEFORE DELETE ON `itemTaxCountry`
|
||||||
FOR EACH ROW
|
FOR EACH ROW
|
||||||
BEGIN
|
BEGIN
|
||||||
SIGNAL SQLSTATE '45000'
|
CALL util.throw('Records in this table cannot be deleted');
|
||||||
SET MESSAGE_TEXT = 'Records in this table cannot be deleted';
|
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
Loading…
Reference in New Issue