#33 add airline country ID and hex code for aircraft
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user