Home > yii_gii_migrate

yii_gii_migrate

Yii_gii_migrate is a project mainly written in PHP, it's free.

Gii migrate generator

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).

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

Previous:trusted_resource