Skip to content

Commit

Permalink
chore: Update animal action values (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevespi authored Dec 2, 2024
1 parent 6bb5357 commit f016b20
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion migrations/sql/R__code-table-data.sql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5207,8 +5207,24 @@ VALUES
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'UNFNDED',
'Unfounded',
'Unfounded',
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP
) ON CONFLICT DO NOTHING;

-- Update action type descriptions
update case_management.action_code
set
short_description = 'Injured/Distressed/Deceased',
long_description = 'Injured/Distressed/Deceased'
where
action_code = 'INJPRES';

--Insert new xref for above action_codes
INSERT INTO
case_management.action_type_action_xref (
Expand Down Expand Up @@ -5308,6 +5324,14 @@ VALUES
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'COMPASSESS',
'UNFNDED',
120,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'CAT1ASSESS',
'COUGNGT',
Expand Down Expand Up @@ -5471,4 +5495,4 @@ UPDATE case_management.configuration
SET
configuration_value = cast(configuration_value as INTEGER) + 1
WHERE
configuration_code = 'CDTABLEVER';
configuration_code = 'CDTABLEVER';

0 comments on commit f016b20

Please sign in to comment.