From 5c35e70c95b115cafe884f391df2b841129811a3 Mon Sep 17 00:00:00 2001 From: Kevin Carrogan Date: Thu, 12 Dec 2024 13:57:55 +0000 Subject: [PATCH] fixup --- .../migrations/0074_update_licence_decision_denial_reasons.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/cases/migrations/0074_update_licence_decision_denial_reasons.py b/api/cases/migrations/0074_update_licence_decision_denial_reasons.py index 0402cc035..3e88b861a 100644 --- a/api/cases/migrations/0074_update_licence_decision_denial_reasons.py +++ b/api/cases/migrations/0074_update_licence_decision_denial_reasons.py @@ -32,10 +32,6 @@ def update_licencedecision_denial_reasons(apps, schema_editor): .distinct() ) - for denial_reason, licence_decision_id in denial_reasons: - licence_decision = LicenceDecision.objects.get(pk=licence_decision_id) - licence_decision.denial_reasons.add(denial_reason) - updated_cases = set() for denial_reason, licence_decision_id in denial_reasons: licence_decision = LicenceDecision.objects.get(pk=licence_decision_id)