mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Add migration to drop docHistoryIndex
GitOrigin-RevId: 859b610313135338b6e6b58173b8980b057dc2a9
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
import Helpers from './lib/helpers.mjs'
|
||||||
|
|
||||||
|
const tags = ['saas']
|
||||||
|
|
||||||
|
const migrate = async () => {
|
||||||
|
await Helpers.dropCollection('docHistoryIndex')
|
||||||
|
}
|
||||||
|
|
||||||
|
const rollback = async () => {
|
||||||
|
// Can't really do anything here
|
||||||
|
}
|
||||||
|
|
||||||
|
export default {
|
||||||
|
tags,
|
||||||
|
migrate,
|
||||||
|
rollback,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user