File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
app/controllers/api/testing Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,16 @@ def destroy
34
34
35
35
log_destroy ( SessionDate . where ( session : sessions ) )
36
36
37
- log_destroy ( SchoolMove . where ( patient_id : patient_ids ) )
38
- log_destroy ( SchoolMove . where ( team :) )
39
- log_destroy ( SchoolMoveLogEntry . where ( patient_id : patient_ids ) )
40
37
log_destroy ( AccessLogEntry . where ( patient_id : patient_ids ) )
41
- log_destroy ( NotifyLogEntry . where ( patient_id : patient_ids ) )
38
+ log_destroy ( ArchiveReason . where ( patient_id : patient_ids ) )
39
+ log_destroy ( ConsentNotification . where ( patient_id : patient_ids ) )
40
+ log_destroy ( Note . where ( patient_id : patient_ids ) )
42
41
# In local dev we can end up with NotifyLogEntries without a patient
43
42
log_destroy ( NotifyLogEntry . where ( patient_id : nil ) )
43
+ log_destroy ( NotifyLogEntry . where ( patient_id : patient_ids ) )
44
+ log_destroy ( SchoolMove . where ( patient_id : patient_ids ) )
45
+ log_destroy ( SchoolMove . where ( team :) )
46
+ log_destroy ( SchoolMoveLogEntry . where ( patient_id : patient_ids ) )
44
47
log_destroy ( VaccinationRecord . where ( patient_id : patient_ids ) )
45
48
46
49
log_destroy ( ConsentForm . where ( team :) )
You can’t perform that action at this time.
0 commit comments