feat: moving to grouping by primarily recipient, then by project

GitOrigin-RevId: 31e3420d6f5834a9da405eea99f2f353a39a0f11
This commit is contained in:
Jimmy Domagala-Tang
2025-10-28 14:56:54 -04:00
committed by Copybot
parent 618445722a
commit 42a80a1ca3

View File

@@ -18,16 +18,9 @@ const oldIndexes = [
const newIndexes = [
{
key: {
createdAt: 1,
recipient_id: 1,
},
name: 'createdAt_1',
expireAfterSeconds: 60 * 60 * 24, // expire after 24 hours
},
{
key: {
project_id: 1,
},
name: 'project_id_1',
name: 'recipientId_1',
expireAfterSeconds: 60 * 60 * 24, // expire after 24 hours
},
]