Documentation ¶
Overview ¶
Package migrations implements the migrations subcommand structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Down ¶
type Down struct { Driver interface { driver.WithMigrations driver.WithSource } `json:"driver" yaml:"driver"` }
Down represents the database migration down command object.
type Generate ¶
type Generate struct { Driver interface { driver.WithMigrations driver.WithSource } `json:"driver" yaml:"driver"` }
Generate represents the generate command which allows for generating new templates of the database migrations file.
type Report ¶
type Report struct { Driver interface { driver.WithMigrations driver.WithSource } `json:"driver" yaml:"driver"` }
Report represents the database migration report command object.
type Up ¶
type Up struct { Driver interface { driver.WithMigrations driver.WithSource } `json:"driver" yaml:"driver"` }
Up represents the database up command object.
Click to show internal directories.
Click to hide internal directories.