Documentation
¶
Index ¶
- Variables
- type MySQLTool
- func (t *MySQLTool) Cfg() *dbtool.Config
- func (t *MySQLTool) Command(sys *typgo.BuildSys) *cli.Command
- func (t *MySQLTool) Console(c *typgo.Context) error
- func (t *MySQLTool) CreateDB(c *typgo.Context) error
- func (t *MySQLTool) DropDB(c *typgo.Context) error
- func (t *MySQLTool) MigrateDB(c *typgo.Context) error
- func (t *MySQLTool) RollbackDB(c *typgo.Context) error
- func (t *MySQLTool) SeedDB(c *typgo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Stdout io.Writer = os.Stdout
Stdout standard output
Functions ¶
This section is empty.
Types ¶
type MySQLTool ¶
type MySQLTool struct {
Name string
ConfigFn func() dbtool.Configurer
DockerName string
MigrationSrc string
SeedSrc string
// contains filtered or unexported fields
}
MySQLTool for postgres
func (*MySQLTool) RollbackDB ¶
RollbackDB rollback database
Click to show internal directories.
Click to hide internal directories.