Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
20f46adbc4
commit
9596d88b48
@@ -30,7 +30,7 @@ class CreateSettingsTable extends Migration
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
/**
|
||||
/*
|
||||
* Initial default settings
|
||||
*/
|
||||
|
||||
@@ -122,7 +122,7 @@ class CreateSettingsTable extends Migration
|
||||
'description' => 'The units for temperature',
|
||||
]);
|
||||
|
||||
/**
|
||||
/*
|
||||
* ACARS Settings
|
||||
*/
|
||||
|
||||
@@ -151,7 +151,7 @@ class CreateSettingsTable extends Migration
|
||||
'description' => 'Initial zoom level on the map',
|
||||
]);
|
||||
|
||||
/**
|
||||
/*
|
||||
* BIDS
|
||||
*/
|
||||
|
||||
@@ -179,7 +179,7 @@ class CreateSettingsTable extends Migration
|
||||
'description' => 'Number of hours to expire bids after',
|
||||
]);
|
||||
|
||||
/**
|
||||
/*
|
||||
* PIREPS
|
||||
*/
|
||||
|
||||
@@ -223,7 +223,7 @@ class CreateSettingsTable extends Migration
|
||||
'description' => 'When a PIREP is accepted, remove the bid, if it exists',
|
||||
]);
|
||||
|
||||
/**
|
||||
/*
|
||||
* PILOTS
|
||||
*/
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ class RolesPermissionsTables extends Migration
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
@@ -67,7 +67,7 @@ class RolesPermissionsTables extends Migration
|
||||
$table->primary(['permission_id', 'role_id']);
|
||||
});
|
||||
|
||||
# create a default user/role
|
||||
// create a default user/role
|
||||
$roles = [
|
||||
[
|
||||
'id' => 1,
|
||||
@@ -77,7 +77,7 @@ class RolesPermissionsTables extends Migration
|
||||
[
|
||||
'id' => 2,
|
||||
'name' => 'user',
|
||||
'display_name' => 'Pilot'
|
||||
'display_name' => 'Pilot',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -87,7 +87,7 @@ class RolesPermissionsTables extends Migration
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
|
||||
@@ -57,7 +57,7 @@ class CreateFlightTables extends Migration
|
||||
$table->primary(['flight_id', 'fare_id']);
|
||||
});
|
||||
|
||||
/**
|
||||
/*
|
||||
* Hold a master list of fields
|
||||
*/
|
||||
Schema::create('flight_fields', function (Blueprint $table) {
|
||||
@@ -66,7 +66,7 @@ class CreateFlightTables extends Migration
|
||||
$table->string('slug', 50)->nullable();
|
||||
});
|
||||
|
||||
/**
|
||||
/*
|
||||
* The values for the actual fields
|
||||
*/
|
||||
Schema::create('flight_field_values', function (Blueprint $table) {
|
||||
|
||||
@@ -39,7 +39,7 @@ class CreateRanksTable extends Migration
|
||||
'hours' => 0,
|
||||
'acars_base_pay_rate' => 50,
|
||||
'manual_base_pay_rate' => 25,
|
||||
]
|
||||
],
|
||||
];
|
||||
|
||||
$this->addData('ranks', $ranks);
|
||||
|
||||
@@ -13,7 +13,7 @@ class CreateNavdataTables extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
/**
|
||||
/*
|
||||
* See for defs, modify/update based on this
|
||||
* https://github.com/skiselkov/openfmc/blob/master/airac.h
|
||||
*/
|
||||
|
||||
@@ -19,11 +19,11 @@ class CreateAwardsTable extends Migration
|
||||
$table->text('description')->nullable();
|
||||
$table->text('image_url')->nullable();
|
||||
|
||||
# ref fields are expenses tied to some model object
|
||||
# EG, the airports has an internal expense for gate costs
|
||||
// ref fields are expenses tied to some model object
|
||||
// EG, the airports has an internal expense for gate costs
|
||||
$table->string('ref_model')->nullable();
|
||||
$table->text('ref_model_params')->nullable();
|
||||
#$table->string('ref_model_id', 36)->nullable();
|
||||
//$table->string('ref_model_id', 36)->nullable();
|
||||
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ class CreateExpensesTable extends Migration
|
||||
$table->boolean('multiplier')->nullable()->default(0);
|
||||
$table->boolean('active')->nullable()->default(true);
|
||||
|
||||
# ref fields are expenses tied to some model object
|
||||
# EG, the airports has an internal expense for gate costs
|
||||
// ref fields are expenses tied to some model object
|
||||
// EG, the airports has an internal expense for gate costs
|
||||
$table->string('ref_model')->nullable();
|
||||
$table->string('ref_model_id', 36)->nullable();
|
||||
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
<?php
|
||||
|
||||
use App\Interfaces\Migration;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateFilesTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Create the files table. Acts as a morphable
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
|
||||
Reference in New Issue
Block a user