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

12 lines
264 B
JavaScript
Raw Normal View History

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
}