xiatian 2 年之前
父节点
当前提交
04626688c3
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      upgrade-202304/20230420至现在-待升级内容.txt

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

@@ -61,7 +61,9 @@ MongoDB部分
 		randomPaperQuestion 
 	新增字段 
 		表extractConfig 新增字段 randomPaperId、playTime
-
+新建索引
+db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
+db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
 Redis部分
 规范KEY前缀 ok