Commit dddf8af1 authored by Curtis Adam's avatar Curtis Adam

Update the cardset index

parent bed19c7e
......@@ -334,6 +334,7 @@ function setupDatabaseIndex() {
Cards._ensureIndex({cardset_id: 1, subject: 1});
WebPushSubscriptions._ensureIndex({user_id: 1});
Ratings._ensureIndex({cardset_id: 1, user_id: 1});
Cardsets._ensureIndex({name: 1, date: 1, dateUpdated: 1, owner: 1, kind: 1, shuffled: 1, cardType: 1, difficulty: 1, wordcloud: 1, learningActive: 1});
}
Meteor.startup(function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment