Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ChangePatterns = []string{
`_(to|from|in)_(\w+)_table$`,
`_(to|from|in)_(\w+)$`,
}
var CreatePatterns = []string{
`^create_(\w+)_table$`,
`^create_(\w+)$`,
}
Functions ¶
This section is empty.
Types ¶
type MigrateCommand ¶
type MigrateCommand struct { }
func (MigrateCommand) Description ¶
func (receiver MigrateCommand) Description() string
Description The console command description.
func (MigrateCommand) Flags ¶
func (receiver MigrateCommand) Flags() []cli.Flag
Flags Set flags, document: https://github.com/urfave/cli/blob/master/docs/v2/manual.md#flags
func (MigrateCommand) Handle ¶
func (receiver MigrateCommand) Handle(c *cli.Context) error
Handle Execute the console command.
func (MigrateCommand) Signature ¶
func (receiver MigrateCommand) Signature() string
Signature The name and signature of the console command.
func (MigrateCommand) Subcommands ¶
func (receiver MigrateCommand) Subcommands() []*cli.Command
Subcommands Set Subcommands, document: https://github.com/urfave/cli/blob/master/docs/v2/manual.md#subcommands
type MigrateMakeCommand ¶
type MigrateMakeCommand struct { }
func (MigrateMakeCommand) Description ¶
func (receiver MigrateMakeCommand) Description() string
Description The console command description.
func (MigrateMakeCommand) Flags ¶
func (receiver MigrateMakeCommand) Flags() []cli.Flag
Flags Set flags, document: https://github.com/urfave/cli/blob/master/docs/v2/manual.md#flags
func (MigrateMakeCommand) Handle ¶
func (receiver MigrateMakeCommand) Handle(c *cli.Context) error
Handle Execute the console command.
func (MigrateMakeCommand) Signature ¶
func (receiver MigrateMakeCommand) Signature() string
Signature The name and signature of the console command.
func (MigrateMakeCommand) Subcommands ¶
func (receiver MigrateMakeCommand) Subcommands() []*cli.Command
Subcommands Set Subcommands, document: https://github.com/urfave/cli/blob/master/docs/v2/manual.md#subcommands
type TableGuesser ¶
type TableGuesser struct { }