releasenotes/notes/db-purge-support-7a33e2ea5d2a624b.yaml
raw| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | Operators can now purge the soft-deleted records from the database tables. |
| 5 | Added below command to purge the records: |
| 6 | |
| 7 | ``masakari-manage db purge --age_in_days <days> --max_rows <rows>`` |
| 8 | |
| 9 | NOTE: ``notifications`` db records will be purged on the basis of ``update_at`` |
| 10 | and ``status`` fields (finished, ignored, failed) as these records will not be |
| 11 | automatically soft-deleted by the system. |