Documentation
¶
Index ¶
- Variables
- type Command
- func (t *Command) Command(sys *typgo.BuildSys) *cli.Command
- func (t *Command) Console(c *typgo.Context) error
- func (t *Command) CreateDB(c *typgo.Context) error
- func (t *Command) DropDB(c *typgo.Context) error
- func (t *Command) MigrateDB(c *typgo.Context) error
- func (t *Command) RollbackDB(c *typgo.Context) error
- func (t *Command) 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 Command ¶
type Command struct {
ConfigFn func() (*infra.PostgresCfg, error)
DockerName string
MigrationSrc string
SeedSrc string
// contains filtered or unexported fields
}
Command for postgres
func (*Command) RollbackDB ¶ added in v0.9.1
RollbackDB rollback database
Click to show internal directories.
Click to hide internal directories.