Fixed a few field entries (#116)

* Stopped inheritance errors popping up

* Added fillable fields

These would not save otherwise.

* Added country fillable field

Wouldn’t save when importing from phpvms classic.

* Added more to classic importer

Change arguments to ask in terminal
Fixed table_prefix names in Importer.php

Added the ability to import users from phpvms classic (tested on
simpilot’s 5.5.x) and when importing, it will then reset the user’s
password to a temporary hash and then email it to the user to then
change when they first log in.

* Changes to ImporterService
This commit is contained in:
web541
2018-01-04 08:41:21 +11:00
committed by Nabeel Shahzad
parent be6e5e8dec
commit 08df20de19
7 changed files with 157 additions and 9 deletions

View File

@@ -35,11 +35,14 @@ class User extends Authenticatable
'email',
'password',
'airline_id',
'rank_id',
'api_key',
'home_airport_id',
'curr_airport_id',
'last_pirep_id',
'rank_id',
'flights',
'flight_time',
'balance',
'timezone',
'state',
'status',