Skip to content
Magento migration tool based on phinx
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Api
Command
Test/Unit/Command/Phinx
etc
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist
registration.php

README.md

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" : "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.

You can’t perform that action at this time.