From 18d69c2f22cea58a1bf1f3e9aa0f599d8b9b83f9 Mon Sep 17 00:00:00 2001 From: wellsbobby52 Date: Tue, 10 Dec 2024 12:43:30 -0700 Subject: [PATCH] add chlamydia to supported diseases table --- .../db/changelog/db.changelog-master.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/backend/src/main/resources/db/changelog/db.changelog-master.yaml b/backend/src/main/resources/db/changelog/db.changelog-master.yaml index 7f2f2604d7..681f9cfb0a 100644 --- a/backend/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/backend/src/main/resources/db/changelog/db.changelog-master.yaml @@ -5701,3 +5701,21 @@ databaseChangeLog: - sql: sql: DELETE FROM ${database.defaultSchemaName}.supported_disease WHERE name = 'Gonorrhea'; + - changeSet: + id: add-chlamydia-to-supported_disease-table + author: bobby@skyliight.digital + comment: Add chlamydia to the supported_disease table. + changes: + - tagDatabase: + tag: add-chlamydia-to-supported_disease-table + - sql: + sql: | + INSERT INTO ${database.defaultSchemaName}.supported_disease ( + internal_id, + name, + loinc) + VALUES + (gen_random_uuid(), 'Chlamydia', 'LP14298-1') + rollback: + - sql: + sql: DELETE FROM ${database.defaultSchemaName}.supported_disease WHERE name = 'Chlamydia'; \ No newline at end of file