Fix corners after dropping a couple merges
This commit is contained in:
parent
0274e9f73c
commit
4ffda9ad3b
2 changed files with 8 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/barakmich/glog"
|
"github.com/barakmich/glog"
|
||||||
"github.com/google/cayley/config"
|
|
||||||
"github.com/google/cayley/graph"
|
"github.com/google/cayley/graph"
|
||||||
|
"github.com/google/cayley/internal/config"
|
||||||
|
|
||||||
// Load all supported backends.
|
// Load all supported backends.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,13 @@ import (
|
||||||
const QuadStoreType = "sql"
|
const QuadStoreType = "sql"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
graph.RegisterQuadStore(QuadStoreType, true, newQuadStore, createSQLTables, nil)
|
graph.RegisterQuadStore(QuadStoreType, graph.QuadStoreRegistration{
|
||||||
|
NewFunc: newQuadStore,
|
||||||
|
NewForRequestFunc: nil,
|
||||||
|
UpgradeFunc: nil,
|
||||||
|
InitFunc: createSQLTables,
|
||||||
|
IsPersistent: true,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue