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