Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDirtyMigrationExists = fmt.Errorf("dirty migration")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
type Store ¶
type Store interface { HasMigrationRun(filename string) (bool, error) InsertMigration(filename string) (model.Migration, error) RawExec(s string) error MarkMigrationCompleted(id uint) (model.Migration, error) EnsureMigrationTableExists() error GetLatestFailedMigration() (*model.Migration, error) Close() error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.