Acceptance Criteria:
- Define clear SQL queries returning the required data to support T231597 that can be used by DBAs to evaluate the potential risk, impacts and mitigations for the following filters:
- reverted
- Where a revert is defined as a revision labelled with either Undo or Rollback
- anonymous
- bot
- Where a bot is defined as a User having with User Group: Bot
- reverted
- Update task with all queries