xiatian hace 1 año
padre
commit
fdc28013fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      upgrade-202304/20230420至现在-待升级内容.txt

+ 1 - 1
upgrade-202304/20230420至现在-待升级内容.txt

@@ -66,7 +66,7 @@ db.getCollection('randomPaper').createIndex({courseId:1},{ name: "INDEX_courseId
 db.getCollection('randomPaper').createIndex({paperStructId:1},{ name: "INDEX_paperStructId", unique: false });
 db.getCollection('randomPaper').createIndex({paperStructId:1},{ name: "INDEX_paperStructId", unique: false });
 db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
 db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
 db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
 db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
-db.getCollection('question').createIndex({"course.code":1},{ name: "INDEX_courseCode", unique: false });
+db.getCollection('question').createIndex({"orgId":1,"course.code":1},{ name: "INDEX_orgCourse", unique: false });
 db.getCollection('questionAudio').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
 db.getCollection('questionAudio').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
 Redis部分
 Redis部分
 规范KEY前缀 ok
 规范KEY前缀 ok