Yii 2 Dependencies Migration
Either run the following command in your project root:
php composer.phar require --prefer-dist ivanovyordan/yii2-migration "*"
or add this to the require section of your
Add the following to two rows to the
scripts sections in your
"post-install-cmd": "ivanovyordan\\migration\\Migration::migrate", "post-update-cmd": "ivanovyordan\\migration\\Migration::migrate"
migrationsfolder for modules that requires migrations.
Following these three steps will give you the chance to reuse and redistribute and update your modules without the need to manually do your migrations.