overleaf/services/web/migrations/20210727123346_ce_sp_backfill_deleted_files.js
June Kelly 99fe2eca51 Merge pull request #4352 from overleaf/sk-add-ce-sp-migration-deleted-files
Add migrations for CE/SP, run scripts for deleted files and docs

GitOrigin-RevId: e425a8d929a4aefdc6f61cff636fb5a1b4c67dce
2021-08-04 11:13:55 +00:00

14 lines
340 B
JavaScript

const runScript = require('../scripts/back_fill_deleted_files.js')
exports.tags = ['server-ce', 'server-pro', 'saas']
exports.migrate = async client => {
const options = {
performCleanup: true,
letUserDoubleCheckInputsFor: 10,
fixPartialInserts: true,
}
await runScript(options)
}
exports.rollback = async client => {}