aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/application.properties1
-rw-r--r--src/main/resources/db/changelogs/20220804-add-pantryitem.xml2
-rw-r--r--src/main/resources/db/changelogs/20220814-test-data.xml8
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">
- <changeSet id="20220804-add-pantryitem" author="kjhoerr">
+ <changeSet id="20220804-add-pantryitem" author="kjhoerr" context="migrate">
<validCheckSum>8:350c0b8d4ff8ce36a2453a0fe2373684</validCheckSum>
<createSequence
sequenceName="hibernate_sequence"
diff --git a/src/main/resources/db/changelogs/20220814-test-data.xml b/src/main/resources/db/changelogs/20220814-test-data.xml
index c61238b..fd2b47b 100644
--- a/src/main/resources/db/changelogs/20220814-test-data.xml
+++ b/src/main/resources/db/changelogs/20220814-test-data.xml
@@ -70,10 +70,10 @@
</insert>
<insert tableName="pantryitem">
<column name="id" value="10"/>
- <column name="name" value="Eggs"/>
- <column name="description" value="Large white"/>
- <column name="quantity" value="10"/>
- <column name="quantityunittype" value="ct"/>
+ <column name="name" value="Baking Soda"/>
+ <column name="description" value=""/>
+ <column name="quantity" value="6.5"/>
+ <column name="quantityunittype" value="oz"/>
</insert>
<insert tableName="pantryitem">
<column name="id" value="11"/>