mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
eef5cd00e3
[migrations] delete unused collections and properly apply saml indexes GitOrigin-RevId: eafcde98cbb603c275986a5bca708b9f8221877f
15 lines
398 B
JavaScript
15 lines
398 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
|
|
// await Helpers.dropIndexesFromCollection(db.wombats, [{ name: 1 }])
|
|
}
|