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