Update migrations and add more default settings

This commit is contained in:
Nabeel Shahzad
2017-12-12 11:57:52 -06:00
parent 1da0901ae3
commit 695900a008
4 changed files with 14 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateFlightsTable extends Migration
class CreateFlightTables extends Migration
{
/**

View File

@@ -3,7 +3,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateSubfleetsTable extends Migration
class CreateSubfleetTables extends Migration
{
/**

View File

@@ -3,7 +3,7 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatePirepsTable extends Migration
class CreatePirepTables extends Migration
{
/**

View File

@@ -54,34 +54,34 @@ class CreateSettingsTable extends Migration
'name' => 'Flights from Current',
'group' => 'flights',
'key' => 'flights.only_flights_from_current',
'value' => 'true',
'value' => true,
'type' => 'boolean',
'description' => 'Only allow flights from current location',
],
[
'order' => 11,
'order' => 20,
'name' => 'Disable flights on bid',
'group' => 'flights',
'key' => 'flights.disable_on_bid',
'value' => 'true',
'group' => 'bids',
'key' => 'bids.disable_flight_on_bid',
'value' => true,
'type' => 'boolean',
'description' => 'When a flight is bid on, should the flight be shown',
],
[
'order' => 20,
'order' => 21,
'name' => 'Allow multiple bids',
'group' => 'pilots',
'key' => 'pilots.allow_single_bid',
'value' => 'true',
'group' => 'bids',
'key' => 'bids.allow_multiple_bids',
'value' => true,
'type' => 'boolean',
'description' => 'Whether or not someone can bid on multiple flights',
],
[
'order' => 21,
'order' => 30,
'name' => 'Hide Inactive Pilots',
'group' => 'pilots',
'key' => 'pilots.hide_inactive',
'value' => 'true',
'value' => true,
'type' => 'boolean',
'description' => 'Don\'t show inactive pilots in the public view',
],