Save PIREP route to ACARS data table #102
This commit is contained in:
@@ -28,6 +28,7 @@ class CreatePirepTables extends Migration
|
||||
$table->string('dpt_airport_id', 5);
|
||||
$table->string('arr_airport_id', 5);
|
||||
$table->unsignedInteger('altitude')->nullable();
|
||||
$table->unsignedInteger('level')->nullable();
|
||||
$table->unsignedDecimal('flight_time', 19)->nullable();
|
||||
$table->unsignedDecimal('planned_flight_time', 19)->nullable();
|
||||
$table->unsignedDecimal('gross_weight', 19)->nullable();
|
||||
|
||||
@@ -18,7 +18,7 @@ class CreateNavdataTables extends Migration
|
||||
* https://github.com/skiselkov/openfmc/blob/master/airac.h
|
||||
*/
|
||||
Schema::create('navdata', function (Blueprint $table) {
|
||||
$table->string('id', 4);
|
||||
$table->string('id', 5);
|
||||
$table->string('name', 24);
|
||||
$table->unsignedInteger('type');
|
||||
$table->float('lat', 7, 4)->default(0.0);
|
||||
|
||||
@@ -17,6 +17,8 @@ class CreateAcarsTables extends Migration
|
||||
$table->string('id', 12);
|
||||
$table->string('pirep_id', 12);
|
||||
$table->unsignedTinyInteger('type');
|
||||
$table->unsignedInteger('nav_type')->nullable();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('log')->nullable();
|
||||
$table->float('lat', 7, 4)->default(0.0);
|
||||
$table->float('lon', 7, 4)->default(0.0);
|
||||
|
||||
Reference in New Issue
Block a user