From a70a4b5703c5fda01d13fb354c76d1734972da33 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Mon, 15 Aug 2022 01:09:29 +0000 Subject: Add contexts to liquibase scripts --- src/main/resources/application.properties | 1 + src/main/resources/db/changelogs/20220804-add-pantryitem.xml | 2 +- src/main/resources/db/changelogs/20220814-test-data.xml | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index bd71024..f36fb33 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,2 +1,3 @@ quarkus.liquibase.clean-at-start=true quarkus.liquibase.migrate-at-start=true +quarkus.liquibase.contexts=migrate,test diff --git a/src/main/resources/db/changelogs/20220804-add-pantryitem.xml b/src/main/resources/db/changelogs/20220804-add-pantryitem.xml index d118fa8..f6ab0ee 100644 --- a/src/main/resources/db/changelogs/20220804-add-pantryitem.xml +++ b/src/main/resources/db/changelogs/20220804-add-pantryitem.xml @@ -4,7 +4,7 @@ xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> - + 8:350c0b8d4ff8ce36a2453a0fe2373684 - - - - + + + + -- cgit