|Andrew Chilton 82b742612d||pirms 4 gadiem|
|bin||pirms 4 gadiem|
|example||pirms 4 gadiem|
|License||pirms 4 gadiem|
|ReadMe.md||pirms 4 gadiem|
|patchy.go||pirms 4 gadiem|
|patchy_test.go||pirms 4 gadiem|
Patchy aims to provide you both a binary you can use to patch your database, or a library you can use when starting your app to make sure your database is patched to the level required by your app.
Patches are written in simple files (“forward-00000-00001.sql” and “reverse-00001-00000.sql”) and patchy will run all patches required to bring your database up to the level required.
go get github.com/chilts/patchy
level, err := patchy.Patch(3)