Cleanup factories and seed data for airport timezone column change

This commit is contained in:
Nabeel Shahzad
2018-02-06 13:11:42 -06:00
parent 531c7ddba3
commit 7d8dc2a4d4
12 changed files with 33 additions and 36 deletions

View File

@@ -8,7 +8,7 @@ use Hashids\Hashids;
*/
$factory->define(App\Models\Airline::class, function (Faker $faker) {
return [
#'id' => $faker->unique()->numberBetween(10, 10000),
'id' => null,
'icao' => function (array $apt) use ($faker) {
$hashids = new Hashids(microtime(), 5);
$mt = str_replace('.', '', microtime(true));