Add device operation cleanup scripts
Purpose
Add script to truncate/drop old records related to device operations in DM_DB and retain records after a certain date. #1632 (closed)
Goals
Reduce database storage taken up by old device operations
Approach
N/A
Documentation
N/a
Automation tests
- Unit tests
N/A
- Integration tests
N/A
Security checks
- Followed secure coding standards? (yes)
- Ran FindSecurityBugs plugin and verified report? (no)
- Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? (yes)
Related MRs
N/A
Test environment
Ubuntu 20.04, MySQL 5.0 and 8.0
Learning
N/A
Edited by Navod Zoysa