All Versions
3
Latest Version
Avg Release Cycle
163 days
Latest Release
1616 days ago
Changelog History
Changelog History
-
v0.3.0 Changes
April 10, 2020๐ Changes since v0.2.0
- README improvements
- โ Add
WithLogger
option, allowing logger customization #30
Thanks to @adamdecaf @dufcrule
-
v0.2.0 Changes
August 12, 2019๐ Changes since v0.1.0
- README improvements.
- โ Test coverage improvements.
- โ Add
Pending
func to get pending migrations: #9 - โ Add
TableName
opt, so the migration table name is now seteable: #13
๐ฅ Breaking changes, now migrations must be set on New via
Migrations
opt:m := migrator.New( Migrations( &migrator.Migration{ Name: "Create table foo", Func: func(tx *sql.Tx) error { if _, err := tx.Exec("CREATE TABLE foo (id INT PRIMARY KEY)"); err != nil { return err } return nil }, }, ), )
Thanks to @adiweiss @cinemast @glerchundi @dufcrule
-
v0.1.0
May 21, 2019