Merge pull request #10442 from overleaf/jpa-convert-archived-trashed

[web] add migration for convert_archived_state script

GitOrigin-RevId: aeea3601a0c5f96e978c3f2a85458687d6d6678e
This commit is contained in:
Jakob Ackermann
2022-11-15 09:07:09 +00:00
committed by Copybot
parent 5eff354971
commit d4551dc7ce
3 changed files with 153 additions and 44 deletions
@@ -0,0 +1,9 @@
const runScript = require('../scripts/convert_archived_state')
exports.tags = ['server-ce', 'server-pro']
exports.migrate = async () => {
await runScript('FIRST,SECOND')
}
exports.rollback = async () => {}