fix: missing setting the initializedMigrations variable for migration. This fixes a big where changing the configmap crashed the server.

This commit is contained in:
Andrey Melnikov
2020-12-16 21:54:08 -08:00
parent ec2a0f58ff
commit 7ec209334a

View File

@@ -9,6 +9,7 @@ import (
func initialize20201214133458() {
if _, ok := initializedMigrations[20201214133458]; !ok {
goose.AddMigration(Up20201214133458, Down20201214133458)
initializedMigrations[20201214133458] = true
}
}