From 99027c9e404b4faf04df797d4bee213b39c77f30 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 7 Dec 2017 14:10:56 -0600 Subject: [PATCH] adjust airport name length --- .../migrations/2017_06_11_135707_create_airports_table.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/database/migrations/2017_06_11_135707_create_airports_table.php b/database/migrations/2017_06_11_135707_create_airports_table.php index a02a9f2b..19fd6e91 100644 --- a/database/migrations/2017_06_11_135707_create_airports_table.php +++ b/database/migrations/2017_06_11_135707_create_airports_table.php @@ -16,10 +16,11 @@ class CreateAirportsTable extends Migration Schema::create('airports', function (Blueprint $table) { // $table->bigIncrements('id'); $table->string('id', 5)->primary(); + $table->string('iata', 5); $table->string('icao', 5); - $table->string('name', 50); - $table->string('location', 50)->nullable(); - $table->string('country', 50)->nullable(); + $table->string('name', 100); + $table->string('location', 100)->nullable(); + $table->string('country', 48)->nullable(); $table->string('timezone', 64)->nullable(); $table->double('fuel_100ll_cost', 19, 2)->default(0); $table->double('fuel_jeta_cost', 19, 2)->default(0);