Documentation ¶
Index ¶
- type MySQLTool
- 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) MigrationFile(c *typgo.Context) error
- func (t *MySQLTool) RollbackDB(c *typgo.Context) error
- func (t *MySQLTool) SeedDB(c *typgo.Context) error
- func (t *MySQLTool) Task() *typgo.Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQLTool ¶
type MySQLTool struct { Name string Config dbtool.Config DockerName string MigrationSrc string SeedSrc string // contains filtered or unexported fields }
MySQLTool for postgres
func (*MySQLTool) MigrationFile ¶ added in v0.9.10
MigrationFile seed database
func (*MySQLTool) RollbackDB ¶
RollbackDB rollback database
Click to show internal directories.
Click to hide internal directories.