Update migrations and add more default settings
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateFlightsTable extends Migration
|
||||
class CreateFlightTables extends Migration
|
||||
{
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateSubfleetsTable extends Migration
|
||||
class CreateSubfleetTables extends Migration
|
||||
{
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreatePirepsTable extends Migration
|
||||
class CreatePirepTables extends Migration
|
||||
{
|
||||
|
||||
/**
|
||||
|
||||
@@ -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',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user