one line schema change to not allow missing for sessions Table node index, Fixes #1774

This commit is contained in:
Mike Cowgill 2016-03-02 08:55:14 -08:00
parent ef1a588b7a
commit 5435055c5f
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ func sessionsTableSchema() *memdb.TableSchema {
}, },
"node": &memdb.IndexSchema{ "node": &memdb.IndexSchema{
Name: "node", Name: "node",
AllowMissing: true, AllowMissing: false,
Unique: false, Unique: false,
Indexer: &memdb.StringFieldIndex{ Indexer: &memdb.StringFieldIndex{
Field: "Node", Field: "Node",