- Copy migrate folder into your protected/gii folder.
-
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.