| ## generator init-migration |
| |
| Init migration for plugin |
| |
| ### Synopsis |
| |
| Init migration for plugin |
| Type in which plugin do you want init migrations in, then generator will create a init migration in |
| plugins/$plugin_name/models/migrationscripts/ for you. |
| |
| ``` |
| generator init-migration [plugin_name] [flags] |
| ``` |
| |
| ### Options |
| |
| ``` |
| -h, --help help for init-migration |
| ``` |
| |
| ### Options inherited from parent commands |
| |
| ``` |
| --config string config file (default is PROJECT/.env) |
| --modifyExistCode allow generator modify exist code (default true) |
| ``` |
| |
| ### SEE ALSO |
| |
| * [generator](generator.md) - Apache DevLake Cli Tool -- Code Generator |
| |
| ###### Auto generated by spf13/cobra on 27-Jun-2022 |