Cleanup column types and assign Time class to fields #189

This commit is contained in:
Nabeel Shahzad
2018-02-11 20:38:56 -06:00
parent fd4407a798
commit 61af5fe226
8 changed files with 89 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ $factory->define(App\Models\Flight::class, function (Faker $faker) use ($airline
'route' => $faker->randomElement(['', $faker->text(5)]),
'dpt_time' => $faker->time(),
'arr_time' => $faker->time(),
'flight_time' => $faker->randomFloat(2),
'flight_time' => $faker->numberBetween(60, 360),
'has_bid' => false,
'active' => true,
'created_at' => $faker->dateTimeBetween('-1 week', 'now'),