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