mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-23 20:13:04 +00: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,
|
||
|
}
|