Add AcarsType column and enum; save flight updates as FLIGHT_PATH #102

This commit is contained in:
Nabeel Shahzad
2018-01-01 10:30:31 -06:00
parent c65da0a0af
commit 078e26df57
5 changed files with 23 additions and 11 deletions

View File

@@ -16,6 +16,7 @@ class CreateAcarsTables extends Migration
Schema::create('acars', function (Blueprint $table) {
$table->string('id', 12);
$table->string('pirep_id', 12);
$table->unsignedTinyInteger('type');
$table->string('log')->nullable();
$table->float('lat', 7, 4)->default(0.0);
$table->float('lon', 7, 4)->default(0.0);