overleaf/services/web/migrations/20231110192205_drop_docops_collection.mjs

19 lines
330 B
JavaScript
Raw Normal View History

import Helper from './lib/helpers.mjs'
const { dropCollection } = Helper
const tags = ['server-ce', 'server-pro', 'saas']
const migrate = async () => {
await dropCollection('docOps')
}
const rollback = async client => {
// there's no rollback: we can't recover the data
}
export default {
tags,
migrate,
rollback,
}