Skip to content

Commit

Permalink
fix: CE-1148 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayr974 authored Feb 18, 2025
1 parent f824947 commit 34d70ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions migrations/sql/V1.37.1__CE-1148.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- Prior data migration set case_note_guid for all actions related to a complaint, this script will set case_note_guid to NULL for all actions that are not related to a note.
UPDATE case_management.action
SET case_note_guid = NULL
WHERE action_type_action_xref_guid != (select action_type_action_xref_guid from action_type_action_xref where action_code = 'UPDATENOTE' and action_type_code='CASEACTION' and active_ind=true);

0 comments on commit 34d70ef

Please sign in to comment.