Versions in this module Expand all Collapse all v0 v0.1.0 Jun 26, 2022 Changes in this version + type MigrationState struct + func New(migrationDir string, storage storage.Storage) *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)