定制 xinix-technology/migrate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xinix-technology/migrate

Composer 安装命令:

composer require xinix-technology/migrate

包简介

Migration tool for bono

README 文档

README

Story of product developers:

"I'm glad that our application is getting traction more and more each day. There are another demands to fullfill. Our customers asking about this module.. that module.."

"Yeah, I feel it too boss, and it seems that we need to refactor our codes and changed the data infrastructure every release of versions"

"So how do we do that??"

Introduction

Thats what we feel too. We need some scripting to do migration between version. And for us (Bono Developers), we present you "migrate".

Installation

"migrate" will run as Provider. You can put configuration to your config file to enable migration schema on your application.

return array(
    'bono.providers' => array(
        '\\Xinix\\Migrate\\Provider\\MigrateProvider' => array(
            'token' => 'token-to-access-from-web',
        ),
    ),
);

"That's it??"

Yep! you can open the web console from url http://your-app/index.php/migrate?token=token-to-access-from-web

CLI

$ xpax task
Available tasks:
  init
  serve
  migrate:generate
  migrate
  migrate:run
  migrate:rollback
.OK

Generate new version

xpax migrate:generate [version label]

Run migration

xpax migrate

or

xpax migrate:run

Rollback migration

xpax migrate:rollback

.

统计信息

  • 总下载量: 1.99k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固