pcf / magento-migration
magento phinx migration module
Installs: 118
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 2
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.0
- mikehaertl/php-shellcommand: ^1.2
- robmorgan/phinx: ^0.8.1
Requires (Dev)
This package is not auto-updated.
Last update: 2025-03-21 04:33:18 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.