Merge pull request #31942 from overleaf/jel-get-domainVerifications

[web] Start rendering domains for group with domain capture

GitOrigin-RevId: b7b007350c5757a78923d9efb259389de23b93c9
This commit is contained in:
Jessica Lawshe
2026-03-05 10:42:26 -06:00
committed by Copybot
parent e032d79980
commit c1a7a898e3
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
/* eslint-disable no-unused-vars */
import Helpers from './lib/helpers.mjs'
const tags = ['saas']
const indexes = [
{
key: { groupId: 1 },
name: 'groupId_1',
},
]
const migrate = async client => {
const { db } = client
await Helpers.addIndexesToCollection(db.domainVerifications, indexes)
}
const rollback = async client => {
const { db } = client
await Helpers.dropIndexesFromCollection(db.domainVerifications, [
{ name: 'groupId_1' },
])
}
export default {
tags,
migrate,
rollback,
}