Allow user to set country

This commit is contained in:
Nabeel Shahzad
2018-01-09 19:08:16 -06:00
parent af646ff8d8
commit 78912f2f31
8 changed files with 38 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ class CreateUsersTable extends Migration
$table->string('api_key', 40)->nullable();
$table->unsignedInteger('airline_id');
$table->unsignedInteger('rank_id')->nullable();
$table->string('country', 2)->nullable();
$table->string('home_airport_id', 5)->nullable();
$table->string('curr_airport_id', 5)->nullable();
$table->string('last_pirep_id', 12)->nullable();

View File

@@ -16,6 +16,7 @@ users:
api_key: testadminapikey
airline_id: 1
rank_id: 1
country: us
home_airport_id: KAUS
curr_airport_id: KJFK
last_pirep_id: pirepid_3