Versions in this module Expand all Collapse all v0 v0.2.0 Jun 13, 2020 v0.1.0 Jun 4, 2020 Changes in this version + func LoadMigrations(dir string) ([]string, error) + type Metadata struct + ID string + SchemaVersion int + type Migration struct + Content string + Name string + Version int + type MigrationOptions struct + Name string + type Migrator interface + Migrate func(*sqlx.DB) error + New func(opts MigrationOptions) (string, error) + type SQLMigrator struct + func (sm SQLMigrator) Migrate(db *sqlx.DB) error + func (sm SQLMigrator) New(opts MigrationOptions) (string, error)