add mongo index
This commit is contained in:
parent
5d22b9c575
commit
68cf992930
|
@ -0,0 +1,5 @@
|
|||
use digimon_tweeting;
|
||||
db.comment.createIndex({ "post_id": 1,"createAt":1});
|
||||
|
||||
|
||||
// TODO 看是否有要刪除過多的索引,要在測試一下
|
Loading…
Reference in New Issue