xiatian 2 years ago
parent
commit
67e359ebad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      upgrade-202304/20230420至现在-待升级内容.txt

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

@@ -63,6 +63,7 @@ MongoDB部分
 		表extractConfig 新增字段 randomPaperId、playTime
 		表extractConfig 新增字段 randomPaperId、playTime
 新建索引
 新建索引
 db.getCollection('randomPaper').createIndex({courseId:1},{ name: "INDEX_courseId", unique: false });
 db.getCollection('randomPaper').createIndex({courseId:1},{ name: "INDEX_courseId", 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({"course.code":1},{ name: "INDEX_courseCode", unique: false });