定制 voronenko/yii_gii_migrate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

voronenko/yii_gii_migrate

Composer 安装命令:

composer require voronenko/yii_gii_migrate

包简介

Look for original author repo at https://github.com/RSol/yii_gii_migrate. This is just a custom build for composer...

README 文档

README

Gii migrate

Instalation

  1. Copy migrate folder into your protected/gii folder.
  2. Configure your application:
    	'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',
    	   ),
    	   ...
    	  ),
    	

This extention can:

  • generate migration code;
  • flush cache (checkbox);
  • clear assets (checkbox).
  • Mark as already applied by sql condition.

Note: For flush cache and clear assets future you need to configure you console configuration to using assetManager and cache components.

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2013-02-11