Documentation ¶
Index ¶
- type MigrationState
- func (s *MigrationState) Add(m *migration.Migration) error
- func (s *MigrationState) All(o storage.Order) ([]*migration.Migration, error)
- func (s *MigrationState) Close() error
- func (s *MigrationState) DropLatest() error
- func (s *MigrationState) Files() ([]*migration.Migration, error)
- func (s *MigrationState) Latest() (*migration.Migration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrationState ¶
type MigrationState struct {
// contains filtered or unexported fields
}
func (*MigrationState) Close ¶
func (s *MigrationState) Close() error
func (*MigrationState) DropLatest ¶
func (s *MigrationState) DropLatest() error
Click to show internal directories.
Click to hide internal directories.