VE-1577 Update preference migration script with end date param