Add explicit pilot states
This commit is contained in:
@@ -87,6 +87,15 @@ class CreateSettingsTable extends Migration
|
||||
],
|
||||
[
|
||||
'order' => 31,
|
||||
'name' => 'Auto Accept New Pilot',
|
||||
'group' => 'pilots',
|
||||
'key' => 'pilot.auto_accept',
|
||||
'value' => true,
|
||||
'type' => 'boolean',
|
||||
'description' => 'Automatically accept a pilot when they register',
|
||||
],
|
||||
[
|
||||
'order' => 32,
|
||||
'name' => 'Pilot ID Length',
|
||||
'group' => 'pilots',
|
||||
'key' => 'pilots.id_length',
|
||||
@@ -28,6 +28,7 @@ class CreateUsersTable extends Migration
|
||||
$table->unsignedBigInteger('flight_time')->default(0);
|
||||
$table->decimal('balance', 19)->nullable();
|
||||
$table->string('timezone', 64)->nullable();
|
||||
$table->unsignedTinyInteger('status')->default(0);
|
||||
$table->boolean('active')->nullable();
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user