diff --git a/pkg/statestore/leveldb/migration.go b/pkg/statestore/leveldb/migration.go index 9eda1a4efa2..9fb57e9e27e 100644 --- a/pkg/statestore/leveldb/migration.go +++ b/pkg/statestore/leveldb/migration.go @@ -48,10 +48,11 @@ const ( dBSchemaInterval = "interval" dBSchemaClearAddressBook = "address-book" dBSResetInterval = "interval-reset" + dBSchemaBatchStoreV5 = "batchstoreV5" ) var ( - dbSchemaCurrent = dBSResetInterval + dbSchemaCurrent = dBSchemaBatchStoreV5 ) type migration struct { @@ -76,6 +77,7 @@ var schemaMigrations = []migration{ {name: dBSchemaInterval, fn: noOpMigration}, {name: dBSchemaClearAddressBook, fn: clearAddressBook}, {name: dBSResetInterval, fn: clearIntervals}, + {name: dBSchemaBatchStoreV5, fn: migrateBatchstore}, } func migrateFB(s *Store) error {