Skip to content

Commit

Permalink
update mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
nayr974 committed Jan 8, 2025
1 parent 351fb30 commit 5c35eb2
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions migrations/migrations/R__staging-metadata-mapping.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23278,6 +23278,29 @@ VALUES
CURRENT_TIMESTAMP
) on conflict do nothing;

INSERT INTO
public.staging_metadata_mapping (
staging_metadata_mapping_guid,
entity_code,
staged_data_value,
live_data_value,
create_user_id,
create_utc_timestamp,
update_user_id,
update_utc_timestamp
)
VALUES
(
uuid_generate_v4 (),
'cmpltntrcd',
'Livestock/pets - killed/injured - not present (No Black/Grizzly Bear, Wolf, Cougar suspected)',
'LIVNCOU',
'FLYWAY',
CURRENT_TIMESTAMP,
'FLYWAY',
CURRENT_TIMESTAMP
) on conflict do nothing;

INSERT INTO
public.staging_metadata_mapping (
staging_metadata_mapping_guid,
Expand Down Expand Up @@ -23416,6 +23439,29 @@ VALUES
CURRENT_TIMESTAMP
) on conflict do nothing;

INSERT INTO
public.staging_metadata_mapping (
staging_metadata_mapping_guid,
entity_code,
staged_data_value,
live_data_value,
create_user_id,
create_utc_timestamp,
update_user_id,
update_utc_timestamp
)
VALUES
(
uuid_generate_v4 (),
'cmpltntrcd',
'Livestock/pets - killed/injured - present/recent/suspected (Black/Grizzly Bear, Wolf, Cougar)',
'LIVPRES',
'FLYWAY',
CURRENT_TIMESTAMP,
'FLYWAY',
CURRENT_TIMESTAMP
) on conflict do nothing;

INSERT INTO
public.staging_metadata_mapping (
staging_metadata_mapping_guid,
Expand Down
2 changes: 2 additions & 0 deletions migrations/migrations/V0.33.0__CE-1336.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UPDATE hwcr_complaint_nature_code SET long_description = 'Livestock/pets - killed/injured - not present' WHERE hwcr_complaint_nature_code = 'LIVNCOU';
UPDATE hwcr_complaint_nature_code SET long_description = 'Livestock/pets - killed/injured - present/recent/suspected' WHERE hwcr_complaint_nature_code = 'LIVPRES';

0 comments on commit 5c35eb2

Please sign in to comment.