DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` TRIGGER `vn`.`travel_afterDelete`
	AFTER DELETE ON `travel`
	FOR EACH ROW
BEGIN
	INSERT INTO travelLog
		SET `action` = 'delete',
			`changedModel` = 'Travel',
			`changedModelId` = OLD.id,
			`userFk` = account.myUser_getId();
END$$
DELIMITER ;
