mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 09:23:33 -05:00
16 lines
392 B
JavaScript
16 lines
392 B
JavaScript
|
/* eslint-disable no-unused-vars */
|
||
|
|
||
|
const Helpers = require('./lib/helpers')
|
||
|
|
||
|
exports.tags = ['server-ce', 'server-pro', 'saas']
|
||
|
|
||
|
exports.migrate = async client => {
|
||
|
const { db } = client
|
||
|
// await Helpers.addIndexesToCollection(db.wombats, [{ name: 1 }])
|
||
|
}
|
||
|
|
||
|
exports.rollback = async client => {
|
||
|
const { db } = client
|
||
|
// Helpers.dropIndexesFromCollection(db.wombats, [{ name: 1 }])
|
||
|
}
|