xiatian 2 лет назад
Родитель
Сommit
8a7e738c29
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      upgrade-202304/20230420至现在-待升级内容.txt

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

@@ -62,6 +62,7 @@ MongoDB部分
 	新增字段 
 		表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({questionId:1},{ name: "INDEX_questionId", unique: false });
 Redis部分