diff --git a/pom.xml b/pom.xml index 57ed81f..5c00deb 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,10 @@ org.springframework.boot spring-boot-starter + + org.springframework.boot + spring-boot-starter-data-jpa + org.liquibase liquibase-core diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml new file mode 100644 index 0000000..1e5732d --- /dev/null +++ b/src/main/resources/application.yaml @@ -0,0 +1,8 @@ +spring: + datasource: + url: jdbc:postgresql://localhost:5432/liquibase_example + username: postgres + driver-class-name: org.postgresql.Driver + password: 121314Ma + liquibase: + change-log: classpath:db/changelog/db.changelog-master.xml \ No newline at end of file diff --git a/src/main/resources/db/changelog/db.changelog-master.xml b/src/main/resources/db/changelog/db.changelog-master.xml new file mode 100644 index 0000000..3d4c9e1 --- /dev/null +++ b/src/main/resources/db/changelog/db.changelog-master.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/db/changelog/resources/db.changelog/db.changelog-master.xml b/src/main/resources/db/changelog/resources/db.changelog/db.changelog-master.xml deleted file mode 100644 index e69de29..0000000