AddScheduleIdToScans migration: Assign Schedules to old scans