Clean up direct usages of db.docHistory
Co-authored-by: Ilkin Ismailov <ilkin.ismailov@overleaf.com> GitOrigin-RevId: 63bc36f15d85f68770bbbff5a7f64d5bc167c7f0
This commit is contained in:
committed by
Copybot
co-authored by
Ilkin Ismailov
parent
0036ad5f31
commit
e8c829deab
@@ -48,7 +48,8 @@ async function setAllowDowngradeToFalse() {
|
||||
}
|
||||
|
||||
async function deleteHistoryCollections() {
|
||||
await gracefullyDropCollection(db.docHistory)
|
||||
const docHistory = await getCollectionInternal('docHistory')
|
||||
await gracefullyDropCollection(docHistory)
|
||||
await gracefullyDropCollection(db.docHistoryIndex)
|
||||
const projectHistoryMetaData = await getCollectionInternal(
|
||||
'projectHistoryMetaData'
|
||||
|
||||
Reference in New Issue
Block a user