Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Adds new entries to table. #104

Merged
merged 3 commits into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions migrations/sql/R__code-table-data.sql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5411,6 +5411,59 @@ SET
WHERE
drug_remaining_outcome_code = 'RDIS';

--
-- INSERT INTO hwcr_outcome_code
--
insert into
hwcr_outcome_code (
hwcr_outcome_code,
short_description,
long_description,
display_order,
active_ind,
create_user_id,
create_utc_timestamp,
update_user_id,
update_utc_timestamp
)
values
(
'EUTHCOS',
'Euthanized by COS',
'Euthanized by COS',
15,
true,
'FLYWAY',
now (),
'FLYWAY',
now ()
),
(
'EUTHOTH',
'Euthanized by Other',
'Euthanized by Other',
25,
true,
'FLYWAY',
now (),
'FLYWAY',
now ()
) on conflict do nothing;

update case_management.hwcr_outcome_code
set
short_description = 'Dispatched by COS',
long_description = 'Dispatched by COS'
where
hwcr_outcome_code = 'DESTRYCOS';

update case_management.hwcr_outcome_code
set
short_description = 'Dispatched by Other',
long_description = 'Dispatched by Other'
where
hwcr_outcome_code = 'DESTRYOTH';

--------------------------
-- New Changes above this line
-------------------------
Expand Down