darkcs / yii2-migrate
Extended migration support
dev-master
2015-09-03 17:38 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-03-24 10:15:32 UTC
README
Console Migration Command with multiple paths/aliases support
Installation
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist "darkcs/yii2-migrate" "*"
Usage
Add a new controller map in controllerMap section of your application's configuration file, for example:
'controllerMap' => [ 'migrate' => [ 'class' => 'darkcs\migrate\controllers\MigrateController', 'migrationPaths' => [ '@modules/news/migrations', '@modules/page/migrations', ... ], ], ],