Update migrations and add more default settings
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
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\Migrations\Migration;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
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\Migrations\Migration;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
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',
|
'name' => 'Flights from Current',
|
||||||
'group' => 'flights',
|
'group' => 'flights',
|
||||||
'key' => 'flights.only_flights_from_current',
|
'key' => 'flights.only_flights_from_current',
|
||||||
'value' => 'true',
|
'value' => true,
|
||||||
'type' => 'boolean',
|
'type' => 'boolean',
|
||||||
'description' => 'Only allow flights from current location',
|
'description' => 'Only allow flights from current location',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'order' => 11,
|
'order' => 20,
|
||||||
'name' => 'Disable flights on bid',
|
'name' => 'Disable flights on bid',
|
||||||
'group' => 'flights',
|
'group' => 'bids',
|
||||||
'key' => 'flights.disable_on_bid',
|
'key' => 'bids.disable_flight_on_bid',
|
||||||
'value' => 'true',
|
'value' => true,
|
||||||
'type' => 'boolean',
|
'type' => 'boolean',
|
||||||
'description' => 'When a flight is bid on, should the flight be shown',
|
'description' => 'When a flight is bid on, should the flight be shown',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'order' => 20,
|
'order' => 21,
|
||||||
'name' => 'Allow multiple bids',
|
'name' => 'Allow multiple bids',
|
||||||
'group' => 'pilots',
|
'group' => 'bids',
|
||||||
'key' => 'pilots.allow_single_bid',
|
'key' => 'bids.allow_multiple_bids',
|
||||||
'value' => 'true',
|
'value' => true,
|
||||||
'type' => 'boolean',
|
'type' => 'boolean',
|
||||||
'description' => 'Whether or not someone can bid on multiple flights',
|
'description' => 'Whether or not someone can bid on multiple flights',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'order' => 21,
|
'order' => 30,
|
||||||
'name' => 'Hide Inactive Pilots',
|
'name' => 'Hide Inactive Pilots',
|
||||||
'group' => 'pilots',
|
'group' => 'pilots',
|
||||||
'key' => 'pilots.hide_inactive',
|
'key' => 'pilots.hide_inactive',
|
||||||
'value' => 'true',
|
'value' => true,
|
||||||
'type' => 'boolean',
|
'type' => 'boolean',
|
||||||
'description' => 'Don\'t show inactive pilots in the public view',
|
'description' => 'Don\'t show inactive pilots in the public view',
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user