From 8179611cac67877bb228fc5a651da3575e8ed8e1 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 21 May 2018 12:00:14 -0500 Subject: [PATCH] Remove unneeded migratoin --- ...2017_06_17_214650_create_flight_tables.php | 2 +- ...8_change_route_leg_to_unsigned_integer.php | 32 ------------------- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 app/Database/migrations/2018_05_16_200138_change_route_leg_to_unsigned_integer.php diff --git a/app/Database/migrations/2017_06_17_214650_create_flight_tables.php b/app/Database/migrations/2017_06_17_214650_create_flight_tables.php index 2b8b13d3..cd0442de 100644 --- a/app/Database/migrations/2017_06_17_214650_create_flight_tables.php +++ b/app/Database/migrations/2017_06_17_214650_create_flight_tables.php @@ -18,7 +18,7 @@ class CreateFlightTables extends Migration $table->unsignedInteger('airline_id'); $table->unsignedInteger('flight_number'); $table->string('route_code', 5)->nullable(); - $table->string('route_leg', 5)->nullable(); + $table->unsignedInteger('route_leg')->nullable(); $table->string('dpt_airport_id', 4); $table->string('arr_airport_id', 4); $table->string('alt_airport_id', 4)->nullable(); diff --git a/app/Database/migrations/2018_05_16_200138_change_route_leg_to_unsigned_integer.php b/app/Database/migrations/2018_05_16_200138_change_route_leg_to_unsigned_integer.php deleted file mode 100644 index 97bb8594..00000000 --- a/app/Database/migrations/2018_05_16_200138_change_route_leg_to_unsigned_integer.php +++ /dev/null @@ -1,32 +0,0 @@ -unsignedInteger('route_leg')->nullable()->change(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('flights', function (Blueprint $table) { - // - }); - } -}