Major refactoring for PIREP statuses and states to accomodate ACARS/route data
This commit is contained in:
15
app/Database/factories/NavpointFactory.php
Normal file
15
app/Database/factories/NavpointFactory.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(App\Models\Navpoint::class, function (Faker $faker) {
|
||||
return [
|
||||
'id' => $faker->unique()->numberBetween(10, 100000),
|
||||
'name' => $faker->unique()->text(10),
|
||||
'title' => $faker->unique()->text(25),
|
||||
'airway' => $faker->unique()->text(7),
|
||||
'lat' => $faker->latitude,
|
||||
'lon' => $faker->longitude,
|
||||
'freq' => $faker->randomFloat(2, 100, 1000),
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user