From 15bf3f77a9edc1c69c6a536ff1ee8f3aed0f16b7 Mon Sep 17 00:00:00 2001 From: Ajeet Date: Tue, 21 Jan 2025 17:07:07 +0530 Subject: [PATCH] add new model to dump and deletion --- corehq/apps/domain/deletion.py | 1 + corehq/apps/dump_reload/sql/dump.py | 1 + 2 files changed, 2 insertions(+) diff --git a/corehq/apps/domain/deletion.py b/corehq/apps/domain/deletion.py index 2714f2124206..8ca2791647c8 100644 --- a/corehq/apps/domain/deletion.py +++ b/corehq/apps/domain/deletion.py @@ -398,6 +398,7 @@ def _delete_demo_user_restores(domain_name): ModelDeletion('integration', 'GaenOtpServerSettings', 'domain'), ModelDeletion('integration', 'HmacCalloutSettings', 'domain'), ModelDeletion('integration', 'SimprintsIntegration', 'domain'), + ModelDeletion('integration', 'KycConfig', 'domain'), ModelDeletion('linked_domain', 'DomainLink', 'linked_domain', ['DomainLinkHistory']), CustomDeletion('scheduling', _delete_sms_content_events_schedules, [ 'SMSContent', 'EmailContent', 'SMSSurveyContent', diff --git a/corehq/apps/dump_reload/sql/dump.py b/corehq/apps/dump_reload/sql/dump.py index f683e2d94816..83bd46e2894b 100644 --- a/corehq/apps/dump_reload/sql/dump.py +++ b/corehq/apps/dump_reload/sql/dump.py @@ -135,6 +135,7 @@ FilteredModelIteratorBuilder('integration.GaenOtpServerSettings', SimpleFilter('domain')), FilteredModelIteratorBuilder('integration.HmacCalloutSettings', SimpleFilter('domain')), FilteredModelIteratorBuilder('integration.SimprintsIntegration', SimpleFilter('domain')), + FilteredModelIteratorBuilder('integration.KycConfig', SimpleFilter('domain')), FilteredModelIteratorBuilder('phonelog.DeviceReportEntry', SimpleFilter('domain')), FilteredModelIteratorBuilder('phonelog.ForceCloseEntry', SimpleFilter('domain')), FilteredModelIteratorBuilder('phonelog.UserErrorEntry', SimpleFilter('domain')),