Skip to content

Commit

Permalink
Update V0.33.0__CE-1336.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
nayr974 committed Jan 9, 2025
1 parent 5c35eb2 commit bae89d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion migrations/migrations/V0.33.0__CE-1336.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
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';
UPDATE hwcr_complaint_nature_code SET long_description = 'Livestock/pets - killed/injured - present/recent/suspected' WHERE hwcr_complaint_nature_code = 'LIVPRES';

-- Add unique constraing on staging_metadata_mapping for entity_code, staged_data_value, live_data_value
ALTER TABLE public.staging_metadata_mapping ADD CONSTRAINT staging_metadata_mapping_unique UNIQUE (entity_code, staged_data_value, live_data_value);

0 comments on commit bae89d0

Please sign in to comment.