warlof/seat-migrator

此包已废弃,不再维护。未建议替代包。

此包负责处理来自 SeAT 项目的重大版本升级。

安装: 109

依赖: 0

建议者: 0

安全: 0

星标: 1

关注者: 1

分叉: 0

公开问题: 0

类型: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 升级器

Code Climate Latest Stable Version Total Downloads Latest Unstable Version License

支持的版本

此包可以处理以下版本之间的升级

  • 2.0.0 到 3.0.0
    • 原始详细包版本
      • 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
    • 目标详细包版本
      • 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

使用说明

此包的版本与要迁移的 SeAT 版本紧密相关。

此包版本将始终与 SeAT 核心原始版本匹配,以避免任何问题。

要求

为了使用此包,您需要从源和目标 SeAT 版本都安装好。

这两个安装可能位于不同的服务器上,脚本会处理。

从两个安装中,数据库必须可以从安装包的服务器(源)访问。

过程

  1. 连接到要迁移的 SeAT 安装的服务器
  2. 移动到 seat 目录(通常是 /var/www/seat
  3. 导入适当的版本包(对于 v2 使用 composer require warlof/seat-migrator
  4. 将包添加到项目中,通过在 /config/app.phpproviders 数组中追加 Warlof\Seat\Migrator\MigratorServiceProvider::class,
  5. 使用 php artisan vendor:publish --force 发布包文件
  6. 使用 php artisan migrate 运行迁移脚本,该脚本将为所有表追加迁移标志
  7. 一旦安装了包,使用 php artisan seat:migrator:upgrade 运行升级过程
  8. 遵循提示,喝一杯茶(如果您有大型数据库,计划喝几杯) :)