Magento 2 migrations module based on phinx.
Creating tool for migrations in magento, with rollback
option.
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
.
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
If you wish to contribute, please read first our Contribution guide.