mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 19:54:25 +00:00
d0a9f8c2cb
Drop the docOps collection GitOrigin-RevId: 8ffa0570ae58b6a00412d8953d3ea0fbb1869b69
11 lines
264 B
JavaScript
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
|
|
}
|