mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 03:45:41 +03:00
Add index to Node.SecretID
This commit is contained in:
@@ -99,6 +99,14 @@ func nodeTableSchema() *memdb.TableSchema {
|
||||
Field: "ID",
|
||||
},
|
||||
},
|
||||
"secret_id": {
|
||||
Name: "secret_id",
|
||||
AllowMissing: false,
|
||||
Unique: true,
|
||||
Indexer: &memdb.UUIDFieldIndex{
|
||||
Field: "SecretID",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user