shaqman/yii2-web-migration
Composer 安装命令:
composer require shaqman/yii2-web-migration
包简介
Migration to be used from web interface. Useful when you have no shell access.
README 文档
README
Migration to be used from web interface. Useful when you have no shell access.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist shaqman/yii2-web-migration
or add
"shaqman/yii2-web-migration": "*"
Usage
Module Configuration
Configure yii2-web-migration module.
'modules' => [ 'web-migration' => [ // the module class 'class' => 'shaqman\web\migration\Module', ], // your other modules ]
Migrate
Create your migrations as usual, and you can apply the migrations by triggering your module name.
http://localhost/index.php?r=web-migration/default&action=up
http://localhost/index.php?r=web-migration/default&action=down
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-05