Basic import logic and scaffolding #114

This commit is contained in:
Nabeel Shahzad
2018-01-02 21:00:46 -06:00
parent da9d47513f
commit a6ddecf159
7 changed files with 439 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ class CreateAircraftsTable extends Migration
Schema::create('aircraft', function (Blueprint $table) {
$table->increments('id');
$table->unsignedInteger('subfleet_id');
$table->string('icao', 4)->nullable();
$table->string('airport_id', 5)->nullable();
$table->string('hex_code', 10)->nullable();
$table->string('name', 50);

View File

@@ -16,6 +16,7 @@ class CreateRanksTable extends Migration
Schema::create('ranks', function (Blueprint $table) {
$table->increments('id');
$table->string('name', 50);
$table->string('link')->nullable();
$table->unsignedInteger('hours')->default(0);
$table->boolean('auto_approve_acars')->default(false);
$table->boolean('auto_approve_manual')->default(false);