app-cloudep-tweeting-service/generate/database/mongodb/20240829054502_comment.up.js

5 lines
143 B
JavaScript
Raw Normal View History

2024-08-30 07:12:53 +00:00
use digimon_tweeting;
db.comment.createIndex({ "post_id": 1,"createAt":1});
// TODO 看是否有要刪除過多的索引,要在測試一下