warlof / seat-migrator
This package is handling major version upgrade from SeAT project.
Installs: 109
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:seat-plugins
Requires
- eveseat/api: 2.0.10
- eveseat/eveapi: 2.0.14
- eveseat/notifications: 2.0.11
- eveseat/services: 2.0.13
- eveseat/web: 2.0.19
- spatie/db-dumper: 2.9.0
This package is auto-updated.
Last update: 2020-08-11 16:38:05 UTC
README
SeAT Upgrader
Supported version
This package is able to handle upgrade between following versions :
- 2.0.0 to 3.0.0
- Origin detailed package version
- eveseat/seat 2.0.0
- eveseat/eveapi 2.0.14
- eveseat/notifications 2.0.11
- eveseat/web 2.0.19
- eveseat/services 2.0.13
- eveseat/api 2.0.10
- Target detailed package versions
- eveseat/seat 3.0.0
- eveseat/eveapi 3.0.0
- eveseat/notifications 3.0.0
- eveseat/web 3.0.0
- eveseat/services 3.0.0
- eveseat/api 3.0.0
- Origin detailed package version
Usage instructions
Version of this package are strongly tied to the SeAT version which should be migrate.
This package version will always match with SeAT core origin version in order to avoid any troubles.
Requirement
In order to use this package, you need a working installation from both source and target SeAT version.
Both Installation may be on different server, it's handled by the script.
Database from both installation must be reachable from the server where the package is installed (source).
Process
- Connect on the server where the SeAT to be migrate is installed
- Move to the seat directory (usually
/var/www/seat
) - Import the package with the proper version (for v2
composer require warlof/seat-migrator
) - Add package into project by appending
Warlof\Seat\Migrator\MigratorServiceProvider::class,
inproviders
array from/config/app.php
- Publish package files using
php artisan vendor:publish --force
- Run migration script using
php artisan migrate
which will append a migration flag to all tables - Once the package has been installed, use
php artisan seat:migrator:upgrade
to run the upgrade process - Follow the prompt and take a cup of tea (if you have a large database, plan for a few of them) :)