Fix flight_id column

This commit is contained in:
Nabeel Shahzad 2017-12-12 13:33:18 -06:00
parent ab4c2ec6eb
commit c543b007fd
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ class CreatePirepTables extends Migration
$table->unsignedInteger('user_id'); $table->unsignedInteger('user_id');
$table->unsignedInteger('airline_id'); $table->unsignedInteger('airline_id');
$table->unsignedInteger('aircraft_id')->nullable(); $table->unsignedInteger('aircraft_id')->nullable();
$table->uuid('flight_id')->nullable(); $table->string('flight_id', 12)->nullable();
$table->string('flight_number', 10)->nullable(); $table->string('flight_number', 10)->nullable();
$table->string('route_code', 5)->nullable(); $table->string('route_code', 5)->nullable();
$table->string('route_leg', 5)->nullable(); $table->string('route_leg', 5)->nullable();

View File

@ -14,7 +14,7 @@ class CreateSettingsTable extends Migration
{ {
Schema::create('settings', function (Blueprint $table) { Schema::create('settings', function (Blueprint $table) {
$table->increments('id'); $table->increments('id');
$table->unsignedInteger('order')->default(1); $table->unsignedInteger('order')->default(99);
$table->string('name'); $table->string('name');
$table->string('key'); $table->string('key');
$table->string('value'); $table->string('value');