pcf/magento-migration

magento phinx migration module

v1.0.0 2017-11-21 20:39 UTC

This package is not auto-updated.

Last update: 2024-05-03 00:41:10 UTC


README

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" : "1.0.*",
        "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.