Commit 106417b1 by Archer Committed by GitHub

fix: index (#6096)

parent af669a1c
...@@ -36,7 +36,7 @@ async function createTemporaryIndexes(): Promise<void> { ...@@ -36,7 +36,7 @@ async function createTemporaryIndexes(): Promise<void> {
{ userGoodFeedback: 1, teamId: 1, appId: 1, chatId: 1 }, { userGoodFeedback: 1, teamId: 1, appId: 1, chatId: 1 },
{ {
name: 'temp_feedback_migration_good', name: 'temp_feedback_migration_good',
partialFilterExpression: { userGoodFeedback: { $exists: true, $ne: null } } partialFilterExpression: { userGoodFeedback: { $exists: true } }
} as any } as any
); );
...@@ -45,7 +45,7 @@ async function createTemporaryIndexes(): Promise<void> { ...@@ -45,7 +45,7 @@ async function createTemporaryIndexes(): Promise<void> {
{ userBadFeedback: 1, teamId: 1, appId: 1, chatId: 1 }, { userBadFeedback: 1, teamId: 1, appId: 1, chatId: 1 },
{ {
name: 'temp_feedback_migration_bad', name: 'temp_feedback_migration_bad',
partialFilterExpression: { userBadFeedback: { $exists: true, $ne: null } } partialFilterExpression: { userBadFeedback: { $exists: true } }
} as any } as any
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment