#33 add airline country ID and hex code for aircraft

This commit is contained in:
Nabeel Shahzad 2017-06-22 20:57:09 -05:00
parent aaaead77a5
commit b423b66963
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ class CreateAirlinesTable extends Migration
$table->increments('id');
$table->string('code');
$table->string('name');
$table->char('country', 2)->nullable();
$table->boolean('active');
$table->timestamps();

View File

@ -9,7 +9,8 @@ class CreateAircraftsTable extends Migration
{
Schema::create('aircraft', function (Blueprint $table) {
$table->increments('id');
$table->integer('aircraft_class_id')->unsigned()->nullable();
$table->integer('subfleet_id')->unsigned()->nullable();
$table->string('hex_code')->nullable();
$table->string('icao');
$table->string('name');
$table->string('registration')->nullable();