Skip to content

Commit

Permalink
Add slot by group
Browse files Browse the repository at this point in the history
  • Loading branch information
linuskendall authored Dec 19, 2024
1 parent 62c5aad commit 7a6e3dd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions internal/index/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ var schema = memdb.DBSchema{
Unique: false,
Indexer: &memdb.UintFieldIndex{Field: "InverseSlot"},
},
"slot_by_group": {
Name: "slot_by_group",
Unique: false,
Indexer: &memdb.CompoundIndex{
Indexes: []memdb.Indexer{
&memdb.StringFieldIndex{Field: "Group"},
&memdb.UintFieldIndex{Field: "InverseSlot"},
},
},
},
"base_slot": {
Name: "base_slot",
Unique: false,
Expand Down

0 comments on commit 7a6e3dd

Please sign in to comment.