🐛 Fixup migration

Extend it so it is not bound to any version, try to parse it instead.
This commit is contained in:
Ettore Di Giacinto
2022-03-21 18:30:50 +01:00
parent f19b893820
commit d5138a6c0b
2 changed files with 45 additions and 16 deletions

View File

@@ -49,7 +49,7 @@ func checkMigrationSchema(path string) {
defer b.Close()
for _, m := range migrations {
b.Bolt.Update(m)
m(b)
}
}