warlof/seat-migrator

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. No replacement package was suggested.

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

2.0.3 2018-05-26 10:52 UTC

This package is auto-updated.

Last update: 2020-08-11 16:38:05 UTC


README

SeAT

SeAT Upgrader

Code Climate Latest Stable Version Total Downloads Latest Unstable Version License

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

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

  1. Connect on the server where the SeAT to be migrate is installed
  2. Move to the seat directory (usually /var/www/seat)
  3. Import the package with the proper version (for v2 composer require warlof/seat-migrator)
  4. Add package into project by appending Warlof\Seat\Migrator\MigratorServiceProvider::class, in providers array from /config/app.php
  5. Publish package files using php artisan vendor:publish --force
  6. Run migration script using php artisan migrate which will append a migration flag to all tables
  7. Once the package has been installed, use php artisan seat:migrator:upgrade to run the upgrade process
  8. Follow the prompt and take a cup of tea (if you have a large database, plan for a few of them) :)