overleaf/services/web/migrations/20220913125500_migrate_auditLog_to_collections.js
Miguel Serrano 74f44e655a Merge pull request #9617 from overleaf/msm-audit-log-collections
Move project/user audit logs to their own collections

GitOrigin-RevId: f6f89b3e2815c0fe5691a79eceb35b77b3c370d8
2022-09-30 08:04:17 +00:00

13 lines
272 B
JavaScript

const runScript = require('../scripts/migrate_audit_logs.js')
exports.tags = ['server-ce', 'server-pro']
exports.migrate = async () => {
const options = {
writeConcurrency: 10,
dryRun: false,
}
await runScript(options)
}
exports.rollback = async () => {}