You can import through either the installer or the command line after install.
After completing the database configuration step, you'll be given the option to import
The importer tool can also be run on the command line, via a PHP artisan command. Before running the importer, you should install phpVMS using the installer. Both the
env.php files will need to exist.
This will erase all of your current data. If you've already installed, the importer plugin is disabled, and must be first enabled with
php artisan module:enable Importer
db_host- The database host where your legacy phpVMS install is
db_name- The database username for your legacy phpVMS install
db_pass- Database password for your legacy phpVMS install.
Notes and caveats
Due to some changes with how some of the fundamentals have changed within the system, be aware of the following:
- Users will have to reset their passwords
- Column names don't entirely match up between the databases
- IDs will differ (numeric, or PIREP IDs will be converted to the new alphanumeric format)
Post Import Notes
- Aircraft that are imported are all placed in a generic subfleet. You will need to go and either add additional subfleets, or just rename this subfleet to whatever you want
- All flights will be assigned to this subfleet. Unfortunately, you will need to re-assign the flights to be with the proper subfleet
- Ranks are now assigned subfleets they are allowed to fly. This is different from the old version, which operated on a linear progression for the aircraft that are allowable per-rank. You will need to edit the ranks and set the subfleets that are assigned to them.