pcf/magento-migration v1.0.0

magento phinx migration module

Type

magento2-module

License

MIT

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Project

Magento 2 migrations module based on phinx.

Purpose of the repository

Creating tool for migrations in magento, with rollback option.

Usage

Download

You can add these module into your project by adding lines below into your composer.json require section:

        "pcf/magento-migration" : "dev-master",
        "symfony/console": "2.8 as v2.6"

Setting symfony/console alias is required for magento compatibility.

After that use your composer update command, ans path/to/magento/directory/bin/magento setup:upgrade.

Using

That will enable pcf:migration command from your magento cli.

You have to create at least one directory in your custom modules called Migrations as migration files directory.

pcf:migration works same way as phinx binary file. Phinx documentation can be found here: Phinx documentation

Contributing

If you wish to contribute, please read first our Contribution guide.