xiatian %!s(int64=2) %!d(string=hai) anos
pai
achega
8a7e738c29
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      upgrade-202304/20230420至现在-待升级内容.txt

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

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