-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db migration to add flu a+b support (#7678)
- Loading branch information
1 parent
e63aa41
commit 3f7b642
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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'; |