mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
19 lines
330 B
JavaScript
19 lines
330 B
JavaScript
|
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,
|
||
|
}
|