mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #33085 from overleaf/revert-32956-em-library-entry-list
Revert "Show library entry list on /library page" GitOrigin-RevId: c2bb4d240f5e07c5a3ddfca62fc5749a3e5c56ab
This commit is contained in:
@@ -53,7 +53,6 @@ export const db = {
|
|||||||
grouppolicies: internalDb.collection('grouppolicies'),
|
grouppolicies: internalDb.collection('grouppolicies'),
|
||||||
groupAuditLogEntries: internalDb.collection('groupAuditLogEntries'),
|
groupAuditLogEntries: internalDb.collection('groupAuditLogEntries'),
|
||||||
institutions: internalDb.collection('institutions'),
|
institutions: internalDb.collection('institutions'),
|
||||||
libraryReferences: internalDb.collection('libraryReferences'),
|
|
||||||
messages: internalDb.collection('messages'),
|
messages: internalDb.collection('messages'),
|
||||||
migrations: internalDb.collection('migrations'),
|
migrations: internalDb.collection('migrations'),
|
||||||
notifications: internalDb.collection('notifications'),
|
notifications: internalDb.collection('notifications'),
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
import Helpers from './lib/helpers.mjs'
|
|
||||||
|
|
||||||
const tags = ['saas']
|
|
||||||
|
|
||||||
const indexes = [
|
|
||||||
{
|
|
||||||
key: { userId: 1, updatedAt: 1 },
|
|
||||||
name: 'userId_1_updatedAt_1',
|
|
||||||
},
|
|
||||||
]
|
|
||||||
|
|
||||||
const migrate = async client => {
|
|
||||||
const { db } = client
|
|
||||||
await Helpers.addIndexesToCollection(db.libraryReferences, indexes)
|
|
||||||
}
|
|
||||||
|
|
||||||
const rollback = async client => {
|
|
||||||
const { db } = client
|
|
||||||
await Helpers.dropIndexesFromCollection(db.libraryReferences, indexes)
|
|
||||||
}
|
|
||||||
|
|
||||||
export default {
|
|
||||||
tags,
|
|
||||||
migrate,
|
|
||||||
rollback,
|
|
||||||
}
|
|
||||||
@@ -29,7 +29,6 @@ export const db = {
|
|||||||
grouppolicies: internalDb.collection('grouppolicies'),
|
grouppolicies: internalDb.collection('grouppolicies'),
|
||||||
groupAuditLogEntries: internalDb.collection('groupAuditLogEntries'),
|
groupAuditLogEntries: internalDb.collection('groupAuditLogEntries'),
|
||||||
institutions: internalDb.collection('institutions'),
|
institutions: internalDb.collection('institutions'),
|
||||||
libraryReferences: internalDb.collection('libraryReferences'),
|
|
||||||
messages: internalDb.collection('messages'),
|
messages: internalDb.collection('messages'),
|
||||||
migrations: internalDb.collection('migrations'),
|
migrations: internalDb.collection('migrations'),
|
||||||
notifications: internalDb.collection('notifications'),
|
notifications: internalDb.collection('notifications'),
|
||||||
|
|||||||
Reference in New Issue
Block a user