Permalink
Browse files
Add index for migration of status history values.
- Loading branch information...
Showing
with
2 additions
and
0 deletions.
-
+2
−0
state/allcollections.go
|
|
@@ -378,6 +378,8 @@ func allCollections() collectionSchema { |
|
|
rawAccess: true,
|
|
|
indexes: []mgo.Index{{
|
|
|
Key: []string{"model-uuid", "globalkey", "updated"},
|
|
|
+ }, {
|
|
|
+ Key: []string{"model-uuid", "-updated"}, // used for migration
|
|
|
}},
|
|
|
},
|
|
|
|
|
|
|
0 comments on commit
fd20944