Skip to content

Commit

Permalink
feat : migrate from flyway to liquibase
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed May 24, 2024
1 parent 2e43109 commit 24d7ff7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
5 changes: 4 additions & 1 deletion boot-api-archunit-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ You can also run the application using Maven as follows:
* Swagger UI: http://localhost:8080/swagger-ui.html
* Actuator Endpoint: http://localhost:8080/actuator

### Lessons
* Migrated from flyway to liquibase bacause flyway is stopping upgrade to latest version of postgres

Here are some of technologies that I used to develop this example:
* Spring Boot - 3.2.0
* Spring Boot - 3.3.0
* Archunit - 1.2.0
* Junit5
8 changes: 4 additions & 4 deletions boot-api-archunit-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.6</version>
<version>3.3.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.example.archunit</groupId>
Expand Down Expand Up @@ -78,8 +78,8 @@
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
Expand Down Expand Up @@ -220,7 +220,7 @@
<configuration>
<java>
<palantirJavaFormat>
<version>2.38.0</version>
<version>2.41.0</version>
</palantirJavaFormat>
<importOrder />
<removeUnusedImports />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
databaseChangeLog:
- includeAll:
path: migration/
errorIfMissingOrEmpty: true
relativeToChangelogFile: true
Empty file.

0 comments on commit 24d7ff7

Please sign in to comment.