Skip to content

Commit

Permalink
Update Hepatitis C in database
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbrown committed Nov 5, 2024
1 parent 15e0171 commit 29902a5
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion backend/src/main/resources/db/changelog/db.changelog-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5661,4 +5661,23 @@ databaseChangeLog:
(gen_random_uuid(), 'Hepatitis-C', 'LP14400-3')
rollback:
- sql:
sql: DELETE FROM ${database.defaultSchemaName}.supported_disease WHERE name = 'Hepatitis-C';
sql: DELETE FROM ${database.defaultSchemaName}.supported_disease WHERE name = 'Hepatitis-C';

- changeSet:
id: update-hepatitis-c-naming-in-supported-disease-table
author: [email protected]
comment: Changes Hepatitis-C to Hepatitis C without a dash
changes:
- tagDatabase:
tag: update-hepatitis-c-naming-in-supported-disease-table
- sql:
sql: |
UPDATE ${database.defaultSchemaName}.supported_disease
SET name = 'Hepatitis C'
WHERE name = 'Hepatitis-C' AND loinc = 'LP14400-3'
rollback:
- sql:
sql: |
UPDATE ${database.defaultSchemaName}.supported_disease
SET name = 'Hepatitis-C'
WHERE name = 'Hepatitis C' AND loinc = 'LP14400-3'

0 comments on commit 29902a5

Please sign in to comment.