Skip to content

Commit

Permalink
feat: Adds option for 'Duplicate' to 'Justification' dropdown (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorylavery committed Jun 21, 2024
1 parent 987dfb8 commit d53f37d
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions migrations/sql/R__code-table-data.sql.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
insert into
case_management.inaction_reason_code (
inaction_reason_code,
agency_code,
short_description,
long_description,
display_order,
active_ind,
create_user_id,
create_utc_timestamp
)
values
(
'DUPLICATE',
'COS',
'Duplicate',
'Duplicate',
3,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP
) on conflict do nothing;

update case_management.inaction_reason_code
set
display_order = 1
where
inaction_reason_code = 'DUPLICATE';

update case_management.inaction_reason_code
set
display_order = 2
where
inaction_reason_code = 'NOPUBSFTYC';

update case_management.inaction_reason_code
set
display_order = 3
where
inaction_reason_code = 'OTHOPRPRTY';

UPDATE case_management.configuration
SET
configuration_value = cast(configuration_value as INTEGER) + 1
WHERE
configuration_code = 'CDTABLEVER';

0 comments on commit d53f37d

Please sign in to comment.