generator create-migration

Create a new migration

Synopsis

Create a new migration Type in what the purpose of migration is, then generator will create a new migration in plugins/$plugin_name/models/migrationscripts/updateSchemasXXXXXXXX.go for you. If framework passed, generator will create a new migration in models/migrationscripts/updateSchemasXXXXXXXX.go

generator create-migration [plugin_name/framework] [flags]

Options

  -h, --help   help for create-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 - Apache DevLake Cli Tool -- Code Generator
Auto generated by spf13/cobra on 24-Jun-2022