Skip to content

Commit

Permalink
fix : issue with flyway 10
Browse files Browse the repository at this point in the history
If upgrading to Spring Boot 3.3.0 or Flyway 10 in general, be aware that you must add an extra dependency for the database you are using, as this was extracted from the flyway-core.
For example: org.flywaydb:flyway-database-postgresql
  • Loading branch information
rajadilipkolli committed May 24, 2024
1 parent 64c16f7 commit 1eccafd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion boot-rest-docs-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.restdocs</groupId>
Expand Down Expand Up @@ -85,6 +85,10 @@
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
Expand Down
6 changes: 5 additions & 1 deletion r2dbc/boot-jooq-r2dbc-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,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.jooq.r2dbc</groupId>
Expand Down Expand Up @@ -100,6 +100,10 @@
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
Expand Down

0 comments on commit 1eccafd

Please sign in to comment.