mirror of
https://github.com/Example-uPagge/liquibase.git
synced 2024-06-14 12:22:25 +03:00
liquibase from maven plugin
This commit is contained in:
parent
66b87d8014
commit
33bd0d8d94
8
pom.xml
8
pom.xml
@ -54,6 +54,14 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.liquibase</groupId>
|
||||
<artifactId>liquibase-maven-plugin</artifactId>
|
||||
<version>4.2.0</version>
|
||||
<configuration>
|
||||
<propertyFile>src/main/resources/liquibase.properties</propertyFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
@ -5,4 +5,4 @@ spring:
|
||||
driver-class-name: org.postgresql.Driver
|
||||
password: 121314Ma
|
||||
liquibase:
|
||||
change-log: classpath:db/changelog/db.changelog-master.xml
|
||||
enabled: false
|
5
src/main/resources/liquibase.properties
Normal file
5
src/main/resources/liquibase.properties
Normal file
@ -0,0 +1,5 @@
|
||||
url=jdbc:postgresql://localhost:5432/liquibase_example
|
||||
username=postgres
|
||||
password=
|
||||
driver=org.postgresql.Driver
|
||||
changeLogFile=src/main/resources/db/changelog/db.changelog-master.xml
|
Loading…
Reference in New Issue
Block a user