13 lines
323 B
SQL
13 lines
323 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`zoneExclusion_afterDelete`
|
|
AFTER DELETE ON `zoneExclusion`
|
|
FOR EACH ROW
|
|
BEGIN
|
|
INSERT INTO zoneLog
|
|
SET `action` = 'delete',
|
|
`changedModel` = 'zoneExclusion',
|
|
`changedModelId` = OLD.id,
|
|
`userFk` = account.myUser_getId();
|
|
END$$
|
|
DELIMITER ;
|