overleaf/services/web/migrations/20200522145741_dropProjectImportBatchRecords.js
Jakob Ackermann eef5cd00e3 Merge pull request #6247 from overleaf/jpa-cleanup-mongo
[migrations] delete unused collections and properly apply saml indexes

GitOrigin-RevId: eafcde98cbb603c275986a5bca708b9f8221877f
2022-01-11 09:03:34 +00:00

11 lines
240 B
JavaScript

const Helpers = require('./lib/helpers')
exports.tags = ['saas']
exports.migrate = async client => {
await Helpers.dropCollection('projectImportBatchRecords')
}
exports.rollback = async client => {
// can't really do anything here
}