Extended database migration support for Yii2
Place migrations into subdirs like migrationPath/year/month/m_*
Add to composer:
"require": {
"sklight/yii2-migrate" : "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/sklight/yii2-migrate.git"
}
]
Add a new controller map in controllerMap section of your application's configuration file, for example:
'controllerMap' => [
'migrate' => 'sklight\migrate\controllers\MigrateController',
],
./yii migrate/*