Documentation
¶
Index ¶
- type CreateMigrationFilesOptions
- type Migrate
- func (m *Migrate) Close() error
- func (m *Migrate) CreateMigrationFiles(opts CreateMigrationFilesOptions) error
- func (m *Migrate) Down() error
- func (m *Migrate) DownSteps(steps int) error
- func (m *Migrate) Status() (*StatusResponse, error)
- func (m *Migrate) Up() error
- func (m *Migrate) UpSteps(steps int) error
- type Options
- type StatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrate ¶
type Migrate struct {
// contains filtered or unexported fields
}
func NewMigrate ¶
func (*Migrate) CreateMigrationFiles ¶
func (m *Migrate) CreateMigrationFiles(opts CreateMigrationFilesOptions) error
func (*Migrate) Status ¶
func (m *Migrate) Status() (*StatusResponse, error)
Click to show internal directories.
Click to hide internal directories.