Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDatabaseAhead = errors.New("database is ahead of current migration, please update the application") ErrDatabaseNotUpToDate = errors.New("database is not up to date, please run migrations") )
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) ChkMigration ¶ added in v0.1.8
func (*Database) GetVersion ¶
func (*Database) RunMigration ¶ added in v0.1.8
func (*Database) VerifyMigration ¶ added in v0.1.8
Click to show internal directories.
Click to hide internal directories.