Add distance/fuel fields to ACARS tables

This commit is contained in:
Nabeel Shahzad
2018-05-03 15:06:50 -05:00
parent ff8f29be24
commit cbb5182cea
4 changed files with 272 additions and 504 deletions

View File

@@ -20,9 +20,11 @@ class CreateAcarsTables extends Migration
$table->unsignedInteger('nav_type')->nullable();
$table->unsignedInteger('order')->default(0);
$table->string('name')->nullable();
$table->char('status', 3)->default(PirepStatus::SCHEDULED);
$table->string('log')->nullable();
$table->float('lat', 7, 4)->nullable()->default(0.0);
$table->float('lon', 7, 4)->nullable()->default(0.0);
$table->unsignedInteger('distance')->nullable();
$table->unsignedInteger('heading')->nullable();
$table->unsignedInteger('altitude')->nullable();
$table->integer('vs')->nullable();