Change flight_number field to uint

This commit is contained in:
Nabeel Shahzad
2018-03-22 23:11:59 -05:00
parent 49dfa7fc17
commit 182cb2d33b
2 changed files with 6 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ class CreateFlightTables extends Migration
Schema::create('flights', function (Blueprint $table) {
$table->string('id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->unsignedInteger('airline_id');
$table->string('flight_number', 10);
$table->unsignedInteger('flight_number');
$table->string('route_code', 5)->nullable();
$table->string('route_leg', 5)->nullable();
$table->string('dpt_airport_id', 5);