Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
/ seat-migrator Public archive

This package is handling data upgrade between major SeAT installation.

License

Notifications You must be signed in to change notification settings

warlof/seat-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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) :)

About

This package is handling data upgrade between major SeAT installation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages