webvimark/module-migrations
Composer 安装命令:
composer require webvimark/module-migrations
包简介
Gui migrations for yii 2 gridview
README 文档
README
Provide:
- modules support
- fix original migrations permission issue
- GUI interface
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist webvimark/module-migrations "*"
or add
"webvimark/module-migrations": "*"
to the require section of your composer.json file.
Configuration
In your config/web.php
'modules'=>[ ... 'migrations'=>[ 'class'=>'webvimark\modules\migrations\MigrationModule', 'executableYii' => (YII_ENV == 'prod') ? '@app/yii_production' : '@app/yii', // 'layout'=>'//back', // If you want to be able to run migrations from specific url: // http://site.com/migrations/web-execute/index?key=THIS_KEY // 'webExecuteEnabled'=>true, // 'webExecuteKey'=>'bla-bla-key', ], ... ],
In you config/console.php
... 'controllerMap'=>[ 'migrate'=>[ 'class'=>'webvimark\modules\migrations\components\MigrateController', ], ], ...
Include your desired modules in config/console.php
Usage
统计信息
- 总下载量: 60.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-06-24