|
|
@ -30,8 +30,8 @@ func nodesTableSchema() *memdb.TableSchema {
|
|
|
|
return &memdb.TableSchema{
|
|
|
|
return &memdb.TableSchema{
|
|
|
|
Name: tableNodes,
|
|
|
|
Name: tableNodes,
|
|
|
|
Indexes: map[string]*memdb.IndexSchema{
|
|
|
|
Indexes: map[string]*memdb.IndexSchema{
|
|
|
|
"id": {
|
|
|
|
indexID: {
|
|
|
|
Name: "id",
|
|
|
|
Name: indexID,
|
|
|
|
AllowMissing: false,
|
|
|
|
AllowMissing: false,
|
|
|
|
Unique: true,
|
|
|
|
Unique: true,
|
|
|
|
Indexer: &memdb.StringFieldIndex{
|
|
|
|
Indexer: &memdb.StringFieldIndex{
|
|
|
@ -211,8 +211,8 @@ func gatewayServicesTableNameSchema() *memdb.TableSchema {
|
|
|
|
return &memdb.TableSchema{
|
|
|
|
return &memdb.TableSchema{
|
|
|
|
Name: gatewayServicesTableName,
|
|
|
|
Name: gatewayServicesTableName,
|
|
|
|
Indexes: map[string]*memdb.IndexSchema{
|
|
|
|
Indexes: map[string]*memdb.IndexSchema{
|
|
|
|
"id": {
|
|
|
|
indexID: {
|
|
|
|
Name: "id",
|
|
|
|
Name: indexID,
|
|
|
|
AllowMissing: false,
|
|
|
|
AllowMissing: false,
|
|
|
|
Unique: true,
|
|
|
|
Unique: true,
|
|
|
|
Indexer: &memdb.CompoundIndex{
|
|
|
|
Indexer: &memdb.CompoundIndex{
|
|
|
@ -255,8 +255,8 @@ func topologyTableNameSchema() *memdb.TableSchema {
|
|
|
|
return &memdb.TableSchema{
|
|
|
|
return &memdb.TableSchema{
|
|
|
|
Name: topologyTableName,
|
|
|
|
Name: topologyTableName,
|
|
|
|
Indexes: map[string]*memdb.IndexSchema{
|
|
|
|
Indexes: map[string]*memdb.IndexSchema{
|
|
|
|
"id": {
|
|
|
|
indexID: {
|
|
|
|
Name: "id",
|
|
|
|
Name: indexID,
|
|
|
|
AllowMissing: false,
|
|
|
|
AllowMissing: false,
|
|
|
|
Unique: true,
|
|
|
|
Unique: true,
|
|
|
|
Indexer: &memdb.CompoundIndex{
|
|
|
|
Indexer: &memdb.CompoundIndex{
|
|
|
|