swarm: schemas and migrations (#17813)

This commit is contained in:
Anton Evangelatov
2018-10-03 14:31:59 +02:00
committed by GitHub
parent 14bef9a2db
commit 303b99663e
7 changed files with 81 additions and 34 deletions

6
swarm/storage/schema.go Normal file
View File

@ -0,0 +1,6 @@
package storage
// "purity" is the first formal schema of LevelDB we release together with Swarm 0.3.5
const DbSchemaPurity = "purity"
const CurrentDbSchema = DbSchemaPurity