Skip to content

Commit

Permalink
去掉无用索引
Browse files Browse the repository at this point in the history
  • Loading branch information
alsotang committed Aug 4, 2015
1 parent 46427bc commit 307e8a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion models/topic.js
Expand Up @@ -27,7 +27,6 @@ var TopicSchema = new Schema({
TopicSchema.plugin(BaseModel);
TopicSchema.index({create_at: -1});
TopicSchema.index({top: -1, last_reply_at: -1});
TopicSchema.index({last_reply_at: -1});
TopicSchema.index({author_id: 1, create_at: -1});

TopicSchema.virtual('tabName').get(function () {
Expand Down

0 comments on commit 307e8a7

Please sign in to comment.