Closed eatyourpeas closed 1 month ago
when #972 merges that will fix this issue, but leaving open here as still need to prune the databases of orphan records
Now merged. There are 278 orphan/empty KPI/AuditProgress records in live to remove
These have now been removed. More are likely to appear until these changes in development are merged in to live, but hopefully we can tidy again at that point.
When a Case is deleted, the registration and associated records are deleted, but not the KPI and AuditProgress records also.
To fix this issue will require two steps:
case_views.py