From bf193d8b617ad94f549c5e956d8b3ba2d2f32990 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Fri, 28 Sep 2018 17:09:48 +0200 Subject: [PATCH] swarm/storage: rename schema to purity --- swarm/storage/localstore.go | 2 +- swarm/storage/schema.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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