2017 © Pedro Peláez
 

library migrate

Migration tool for bono

image

xinix-technology/migrate

Migration tool for bono

  • Friday, June 20, 2014
  • by reekoheek
  • Repository
  • 1 Watchers
  • 4 Stars
  • 1,013 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

migrate

Story of product developers:, (*1)

"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..", (*2)

"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", (*3)

"So how do we do that??", (*4)

Introduction

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

Installation

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

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

"That's it??", (*7)

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

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, (*9)

xpax migrate:run

Rollback migration

xpax migrate:rollback

., (*10)

The Versions

20/06 2014

dev-master

9999999-dev

Migration tool for bono

  Sources   Download

MIT

The Requires

 

20/06 2014

0.1.0

0.1.0.0

Migration tool for bono

  Sources   Download

MIT

The Requires