Change flight_number field to uint

This commit is contained in:
Nabeel Shahzad
2018-03-22 23:11:59 -05:00
parent 49dfa7fc17
commit 182cb2d33b
2 changed files with 6 additions and 1 deletions

View File

@@ -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);
}