DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`itemShelving _afterDelete`
	AFTER DELETE ON `itemShelving`
	FOR EACH ROW
BEGIN
	INSERT INTO shelvingLog
		SET `action` = 'delete',
			`changedModel` = 'itemShelving',
			`changedModelId` = OLD.id,
			`userFk` = account.myUser_getId();
END$$
DELIMITER ;
