Skip to content

Commit

Permalink
Merge pull request #33431 from dimagi/dm/deletable-doc-types
Browse files Browse the repository at this point in the history
Add form and case types to deletable doc types
  • Loading branch information
millerdev authored Sep 5, 2023
2 parents 515285b + aae0e25 commit bfa7bb1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions corehq/apps/cleanup/deletable_doc_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,16 @@
'FixtureDataType': (FIXTURES_DB,),
'FixtureDataItem': (FIXTURES_DB,),
'FixtureOwnership': (FIXTURES_DB,),

# form and case types
'XFormInstance': (MAIN_DB,),
'XFormArchived': (MAIN_DB,),
'XFormDeprecated': (MAIN_DB,),
'XFormDuplicate': (MAIN_DB,),
'XFormError': (MAIN_DB,),
'SubmissionErrorLog': (MAIN_DB,),
'XFormInstance-Deleted': (MAIN_DB,),
'HQSubmission': (MAIN_DB,),
'CommCareCase': (MAIN_DB,),
'CommCareCase-Deleted': (MAIN_DB,),
}

0 comments on commit bfa7bb1

Please sign in to comment.