Fix corners after dropping a couple merges

This commit is contained in:
Barak Michener 2015-10-05 17:45:42 -04:00
parent 0274e9f73c
commit 4ffda9ad3b
2 changed files with 8 additions and 2 deletions

View file

@ -22,8 +22,8 @@ import (
"os"
"github.com/barakmich/glog"
"github.com/google/cayley/config"
"github.com/google/cayley/graph"
"github.com/google/cayley/internal/config"
// Load all supported backends.

View file

@ -20,7 +20,13 @@ import (
const QuadStoreType = "sql"
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 (