Skip to content

Commit

Permalink
Add Hepatitis-C to SupportedDiseases (#8223)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbrown authored Oct 24, 2024
1 parent 7365421 commit b3c54f7
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions backend/src/main/resources/db/changelog/db.changelog-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5634,12 +5634,31 @@ databaseChangeLog:
- addColumn:
tableName: test_order
columns:
- column:
- column:
name: timer_started_at
type: text
constraints:
nullable: true
rollback:
- dropColumn:
tableName: test_order
columnName: timer_started_at
columnName: timer_started_at

- changeSet:
id: add-hepatitis-c-to-supported_disease-table
author: [email protected]
comment: Add Hepatitis-C to the supported_disease table.
changes:
- tagDatabase:
tag: add-hepatitis-c-to-supported_disease-table
- sql:
sql: |
INSERT INTO ${database.defaultSchemaName}.supported_disease (
internal_id,
name,
loinc)
VALUES
(gen_random_uuid(), 'Hepatitis-C', 'LP14400-3')
rollback:
- sql:
sql: DELETE FROM ${database.defaultSchemaName}.supported_disease WHERE name = 'Hepatitis-C';

0 comments on commit b3c54f7

Please sign in to comment.