github.com/susy-go/susy-graviton@v0.0.0-20190614130430-36cddae42305/swarm/storage/schema.go (about) 1 package storage 2 3 // The DB schema we want to use. The actual/current DB schema might differ 4 // until migrations are run. 5 const CurrentDbSchema = DbSchemaHalloween 6 7 // There was a time when we had no schema at all. 8 const DbSchemaNone = "" 9 10 // "purity" is the first formal schema of LevelDB we release togsophy with Swarm 0.3.5 11 const DbSchemaPurity = "purity" 12 13 // "halloween" is here because we had a screw in the garbage collector index. 14 // Because of that we had to rebuild the GC index to get rid of erroneous 15 // entries and that takes a long time. This schema is used for bookkeeping, 16 // so rebuild index will run just once. 17 const DbSchemaHalloween = "halloween"