From 7db1bed3451f3e7eee7751e5ae4f383e04a1ad7e Mon Sep 17 00:00:00 2001 From: wellsbobby52 Date: Wed, 18 Sep 2024 11:49:11 -0400 Subject: [PATCH] add defualt provider to DB changelog --- .../db/changelog/db.changelog-master.yaml | 16 ++++++++++++++++ 1 file changed, 16 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 4f783c42ca..fcbc281400 100644 --- a/backend/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/backend/src/main/resources/db/changelog/db.changelog-master.yaml @@ -5671,3 +5671,19 @@ databaseChangeLog: rollback: - dropTable: tableName: facility_providers + + - changeSet: + id: add-facility-relationships + author: bwarfield@cdc.gov + comment: Add relationships and otherwise modify other tables in the schema to reflect the existence of facilities. + changes: + - addColumn: + tableName: facility + columns: + - column: + name: default_ordering_provider + remarks: The default ordering provider (if any) for tests at this facility. + type: uuid + constraints: + foreignKeyName: fk__facility__default_ordering_provider + references: provider \ No newline at end of file