#33 add airline country ID and hex code for aircraft
This commit is contained in:
parent
aaaead77a5
commit
b423b66963
@ -17,6 +17,7 @@ class CreateAirlinesTable extends Migration
|
|||||||
$table->increments('id');
|
$table->increments('id');
|
||||||
$table->string('code');
|
$table->string('code');
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
|
$table->char('country', 2)->nullable();
|
||||||
$table->boolean('active');
|
$table->boolean('active');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@ class CreateAircraftsTable extends Migration
|
|||||||
{
|
{
|
||||||
Schema::create('aircraft', function (Blueprint $table) {
|
Schema::create('aircraft', function (Blueprint $table) {
|
||||||
$table->increments('id');
|
$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('icao');
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('registration')->nullable();
|
$table->string('registration')->nullable();
|
||||||
|
Loading…
Reference in New Issue
Block a user