Skip to content

Commit

Permalink
db migration to add flu a+b support (#7678)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSass authored May 9, 2024
1 parent e63aa41 commit 3f7b642
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions backend/src/main/resources/db/changelog/db.changelog-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5381,3 +5381,21 @@ databaseChangeLog:
REVOKE SELECT ON TABLE ${database.defaultSchemaName}.role FROM ${noPhiUsername};
REVOKE SELECT ON TABLE ${database.defaultSchemaName}.api_user_facility FROM ${noPhiUsername};
REVOKE SELECT ON TABLE ${database.defaultSchemaName}.api_user_role FROM ${noPhiUsername};
- changeSet:
id: add-flu-a-and-b-to-supported_disease-table
author: [email protected]
comment: Add Flu A and B to the supported_disease table.
changes:
- tagDatabase:
tag: add-flu-a-and-b-to-supported_disease-table
- sql:
sql: |
INSERT INTO ${database.defaultSchemaName}.supported_disease (
internal_id,
name,
loinc)
VALUES
(gen_random_uuid(), 'Flu A and B', '44567-6')
rollback:
- sql:
sql: DELETE FROM ${database.defaultSchemaName}.supported_disease WHERE name = 'Flu A and B';

0 comments on commit 3f7b642

Please sign in to comment.