Change flight_number field to uint
This commit is contained in:
@@ -102,6 +102,11 @@ class ImportService extends Service
|
||||
continue;
|
||||
}
|
||||
|
||||
// turn it into a collection and run some filtering
|
||||
$row = collect($row)->map(function ($val, $index) {
|
||||
return trim($val);
|
||||
})->toArray();
|
||||
|
||||
$importer->import($row, $offset);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user