Skip to content

Commit

Permalink
fix: remove rationale from code table script
Browse files Browse the repository at this point in the history
  • Loading branch information
afwilcox committed Sep 27, 2024
1 parent 58cdefe commit b783474
Showing 1 changed file with 0 additions and 157 deletions.
157 changes: 0 additions & 157 deletions migrations/sql/R__code-table-data.sql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1456,163 +1456,6 @@ VALUES
) ON CONFLICT
DO NOTHING;

--
-- INSERT rationale values
--
INSERT INTO
case_management.rationale_code (
rationale_code,
short_description,
long_description,
display_order,
active_ind,
create_user_id,
create_utc_timestamp,
update_user_id,
update_utc_timestamp
)
VALUES
(
'RATIONAL01',
'RATIONAL_01',
'Rationale 01',
10,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'RATIONAL02',
'RATIONAL_02',
'Rationale 02',
20,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'RATIONAL03',
'RATIONAL_03',
'Rational 03',
30,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
) ON CONFLICT
DO NOTHING;

--
-- INSERT discharge_code values
--
INSERT INTO
case_management.discharge_code (
discharge_code,
short_description,
long_description,
display_order,
active_ind,
create_user_id,
create_utc_timestamp,
update_user_id,
update_utc_timestamp
)
VALUES
(
'AIR_BURN',
'AIR_BURN',
'Air – burning',
10,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'AIR_ODOUR',
'AIR_ODOUR',
'Air – odour',
20,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'AIR_EMSSN',
'AIR_EMSSN',
'Air – emission',
30,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'AIR_DST',
'AIR_DST',
'Air – dust',
40,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'EFFLNT',
'EFFLNT',
'Effluent',
50,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'RFS_DMP',
'RFS_DMP',
'Refuse – Dumping',
60,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'RFS_OTHR',
'RFS_OTHR',
'Refuse - Other',
70,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
),
(
'PSTCD',
'PSTCD',
'Pesticides',
80,
'Y',
CURRENT_USER,
CURRENT_TIMESTAMP,
CURRENT_USER,
CURRENT_TIMESTAMP
) ON CONFLICT
DO NOTHING;

--
-- add new EPO agency code
--
Expand Down

0 comments on commit b783474

Please sign in to comment.