| 12345678910111213141516171819202122232425262728 |
- import Helpers from './lib/helpers.mjs'
- const tags = ['saas']
- const indexes = [
- {
- key: {
- 'overleaf.history.display': 1,
- },
- name: 'overleaf.history.display_1',
- },
- ]
- const migrate = async client => {
- const { db } = client
- await Helpers.addIndexesToCollection(db.projects, indexes)
- }
- const rollback = async client => {
- const { db } = client
- await Helpers.dropIndexesFromCollection(db.projects, indexes)
- }
- export default {
- tags,
- migrate,
- rollback,
- }
|