Add explicit pilot states

This commit is contained in:
Nabeel Shahzad
2017-12-14 23:51:57 -06:00
parent 4fb66b5118
commit aed09c2bf5
5 changed files with 57 additions and 31 deletions

View File

@@ -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',

View File

@@ -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();