Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDatabaseDirty = fmt.Errorf("database is dirty") DefaultTable = "schema_migrations" )
Functions ¶
This section is empty.
Types ¶
type Migrations ¶
type SourceDriver ¶
type SourceDriver struct {
Dir string
}
func NewSourceDriver ¶
func NewSourceDriver(dir string) (*SourceDriver, error)
func (SourceDriver) ReadUp ¶
func (s SourceDriver) ReadUp(version int) (*Migrations, error)
Click to show internal directories.
Click to hide internal directories.