Fix in consent-type migration script