overleaf/services/web/migrations/20231110192205_drop_docops_collection.js
Eric Mc Sween d0a9f8c2cb Merge pull request #15748 from overleaf/em-drop-docops-collection
Drop the docOps collection

GitOrigin-RevId: 8ffa0570ae58b6a00412d8953d3ea0fbb1869b69
2024-02-01 09:03:46 +00:00

11 lines
264 B
JavaScript

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