diff --git a/swarm/storage/localstore.go b/swarm/storage/localstore.go index a1299fad1b..553aeeaf9a 100644 --- a/swarm/storage/localstore.go +++ b/swarm/storage/localstore.go @@ -211,7 +211,7 @@ func (ls *LocalStore) Migrate() error { ls.DbStore.Cleanup(cleanupFunc) - err := ls.DbStore.PutSchema(DbSchemaHive) + err := ls.DbStore.PutSchema(DbSchemaPurity) if err != nil { log.Error(err.Error()) return err diff --git a/swarm/storage/schema.go b/swarm/storage/schema.go index 3006c114df..fb8498a293 100644 --- a/swarm/storage/schema.go +++ b/swarm/storage/schema.go @@ -1,6 +1,6 @@ package storage -// "hive" is the first formal schema of LevelDB we release together with Swarm 0.3.4 -const DbSchemaHive = "hive" +// "purity" is the first formal schema of LevelDB we release together with Swarm 0.3.5 +const DbSchemaPurity = "purity" -const CurrentDbSchema = DbSchemaHive +const CurrentDbSchema = DbSchemaPurity