Skip to content

Commit c23863a

Browse files
committed
feat(liquibase): update Liquibase output changelog path and add version to plugin
1 parent b9a0d0f commit c23863a

4 files changed

Lines changed: 2 additions & 45 deletions

File tree

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ POSTGRES_PORT=5432
55

66
# Liquibase configuration
77
LB_CHANGELOG=src/main/resources/db/changelog/db.changelog-master.yaml
8-
LB_OUTPUT_CHANGELOG=src/main/resources/db/changelog/generated-changelog.yaml
8+
LB_OUTPUT_CHANGELOG=target/generated-changelog.yaml
99
LB_DRIVER=org.postgresql.Driver
1010
LB_SCHEMA=public

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ src/main/resources/db/changelog/
225225
./mvnw liquibase:rollback -Dliquibase.rollbackCount=1 # Rollback last change
226226
```
227227

228-
**Note:** Copy `liquibase.properties.template` to `liquibase.properties` and configure your database credentials for CLI commands.
229-
230228
---
231229

232230
## 📊 Monitoring

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
<plugin>
138138
<groupId>org.liquibase</groupId>
139139
<artifactId>liquibase-maven-plugin</artifactId>
140+
<version>5.0.0</version>
140141
<configuration>
141142
<changeLogFile>${env.LB_CHANGELOG}</changeLogFile>
142143
<outputChangeLogFile>${env.LB_OUTPUT_CHANGELOG}</outputChangeLogFile>

src/main/resources/db/changelog/generated-changelog.yaml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)