change field to in acars table

This commit is contained in:
Nabeel Shahzad
2017-12-25 18:22:46 -06:00
parent f29a9cfdc5
commit 9916444ca2
4 changed files with 16 additions and 11 deletions

View File

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