diff --git a/database/migrations/2017_06_17_214650_create_flights_table.php b/database/migrations/2017_06_17_214650_create_flights_table.php index 59ff10f64..48db5cea4 100644 --- a/database/migrations/2017_06_17_214650_create_flights_table.php +++ b/database/migrations/2017_06_17_214650_create_flights_table.php @@ -16,7 +16,7 @@ public function up() Schema::create('flights', function (Blueprint $table) { $table->uuid('id'); $table->integer('airline_id')->unsigned(); - $table->text('flight_number'); + $table->integer('flight_number')->unsigned(); $table->text('route_code')->nullable(); $table->text('route_leg')->nullable(); $table->integer('dpt_airport_id')->unsigned();