Merge pull request #277 from barakmich/upgrade_db
Add migration tool and use protos in Bolt store
This commit is contained in:
commit
0c5f1bc364
13 changed files with 1228 additions and 73 deletions
|
|
@ -35,7 +35,13 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
graph.RegisterQuadStore(QuadStoreType, true, newQuadStore, createNewLevelDB, nil)
|
||||
graph.RegisterQuadStore(QuadStoreType, graph.QuadStoreRegistration{
|
||||
NewFunc: newQuadStore,
|
||||
NewForRequestFunc: nil,
|
||||
UpgradeFunc: nil,
|
||||
InitFunc: createNewLevelDB,
|
||||
IsPersistent: true,
|
||||
})
|
||||
}
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue