slayer911/yii2-dbcast
最新稳定版本:1.0.4
Composer 安装命令:
composer require slayer911/yii2-dbcast
包简介
Auto migration
关键字:
README 文档
README
Automatic generation of migration when changing the database schema. The module creates a snapshot of the previous database schema and the current one.
Currently, supports only MySql
Install
composer require --dev "slayer911/yii2-dbcast:*"
After installing the vendor, create the first DBCast.
php yii migrate/cast-save
If in this step you have an error - add to console config (main-local.php) next data:
<?php
return [
...
'controllerMap' => [
'migrate' => [
'class' => \DBCast\controllers\MigrateController::class,
'develop' => true
]
]
...
];
Using
The standard Yii controller has been extended with the DbCast Migrate controller.
You now have the following commands:

- migrate/cast-commit
统计信息
- 总下载量: 1.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-07-17
