File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,9 @@ class MongoSalatPlugin(app: Application) extends Plugin {
118118 collection(" collections" ).ensureIndex(MongoDBObject (" author._id" -> 1 ))
119119 collection(" collections" ).ensureIndex(MongoDBObject (" stats" -> 1 ))
120120
121- collection(" collections " ).ensureIndex(MongoDBObject (" file_id" -> 1 ))
122- collection(" collections " ).ensureIndex(MongoDBObject (" dataset_id" -> 1 ))
123- collection(" collections " ).ensureIndex(MongoDBObject (" comment_id" -> 1 ))
121+ collection(" comments " ).ensureIndex(MongoDBObject (" file_id" -> 1 ))
122+ collection(" comments " ).ensureIndex(MongoDBObject (" dataset_id" -> 1 ))
123+ collection(" comments " ).ensureIndex(MongoDBObject (" comment_id" -> 1 ))
124124
125125 collection(" datasets" ).ensureIndex(MongoDBObject (" created" -> - 1 ))
126126 collection(" datasets" ).ensureIndex(MongoDBObject (" tags" -> 1 ))
You can’t perform that action at this time.
0 commit comments