voronenko / yii_gii_migrate
此包已被废弃,不再维护。未建议替代包。
在 https://github.com/RSol/yii_gii_migrate 查找原始作者仓库。这只是一个针对 composer 的自定义构建...
dev-master / 1.0.0.x-dev
2013-04-05 17:34 UTC
Requires
- php: >=5.1.0
This package is not auto-updated.
Last update: 2022-10-01 04:08:16 UTC
README
Gii 迁移
安装
- 将迁移文件夹复制到您的 protected/gii 文件夹。
- 配置您的应用程序
'modules'=>array( // uncomment the following to enable the Gii tool 'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>'password', // If removed, Gii defaults to localhost only. Edit carefully to taste. 'ipFilters'=>array('127.0.0.1','::1'), 'generatorPaths'=>array( 'application.gii', ), ... ),
此扩展可以
- 生成迁移代码;
- 清除缓存(复选框);
- 清除资源(复选框)。
- 通过 SQL 条件标记为已应用。
注意:为了将来清除缓存和清除资源,您需要配置您的控制台配置以使用资产管理和缓存组件。