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...
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 4
pkg:composer/voronenko/yii_gii_migrate
Requires
- php: >=5.1.0
This package is not auto-updated.
Last update: 2022-10-01 04:08:16 UTC
README
Gii migrate
Instalation
- 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).
- 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.