mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 03:03:39 -05: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,
|
||
|
}
|