darkcs/yii2-migrate
Composer 安装命令:
composer require darkcs/yii2-migrate
包简介
Extended migration support
关键字:
README 文档
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', ... ], ], ],
统计信息
- 总下载量: 137
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-05