From 293c46a6d5d7bf90225c4692453a21ee1165e5f5 Mon Sep 17 00:00:00 2001 From: Miroslav Slivka Date: Thu, 14 Mar 2024 12:09:22 +0000 Subject: [PATCH 1/3] feat: load flyway configuration from env vars closes: How to set Flyway config params #248 --- plugin/src/main/scala/org/flywaydb/play/Flyways.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/main/scala/org/flywaydb/play/Flyways.scala b/plugin/src/main/scala/org/flywaydb/play/Flyways.scala index 6ba6b6f..26bc266 100644 --- a/plugin/src/main/scala/org/flywaydb/play/Flyways.scala +++ b/plugin/src/main/scala/org/flywaydb/play/Flyways.scala @@ -74,6 +74,7 @@ class Flyways @Inject() (configuration: Configuration, environment: Environment) configuration.outOfOrder.foreach(flyway.outOfOrder) configuration.mixed.foreach(flyway.mixed) configuration.group.foreach(flyway.group) + flyway.envVars() dbName -> flyway.load() } From 0a3a8387616cb78462addcc2dee9fcb426debf63 Mon Sep 17 00:00:00 2001 From: Miroslav Slivka Date: Thu, 14 Mar 2024 12:58:14 +0000 Subject: [PATCH 2/3] update flyway version --- README.md | 1 + build.sbt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b3cd191..fcc4fd9 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Flyway module for Play 2.4 or later. It aims to be a substitute for play-evoluti | flyway-play version | play version | flyway version | | ------------------- | ------------ | -------------- | +| 9.0.1 | 3.0.x | 9.19.4 | | 9.0.0 | 3.0.x | 9.16.0 | | 8.0.1 | 2.9.x | 9.16.0 | | 7.38.0 | 2.8.x | 9.16.0 | diff --git a/build.sbt b/build.sbt index 321ae91..53b8607 100644 --- a/build.sbt +++ b/build.sbt @@ -3,7 +3,7 @@ val flywayPlayVersion = "9.0.0" val scalaVersion_2_13 = "2.13.12" val scalaVersion_3 = "3.3.1" -val flywayVersion = "9.16.3" +val flywayVersion = "9.19.4" val scalikejdbcVersion = "4.1.0" val scalatest = "org.scalatest" %% "scalatest" % "3.2.17" % "test" From 83a9892364fb265b8bbdcd8c3bc79558e2523a39 Mon Sep 17 00:00:00 2001 From: Miroslav Slivka Date: Tue, 23 Apr 2024 14:24:17 +0100 Subject: [PATCH 3/3] Revert "update flyway version" This reverts commit 0a3a8387616cb78462addcc2dee9fcb426debf63. --- README.md | 1 - build.sbt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index fcc4fd9..b3cd191 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ Flyway module for Play 2.4 or later. It aims to be a substitute for play-evoluti | flyway-play version | play version | flyway version | | ------------------- | ------------ | -------------- | -| 9.0.1 | 3.0.x | 9.19.4 | | 9.0.0 | 3.0.x | 9.16.0 | | 8.0.1 | 2.9.x | 9.16.0 | | 7.38.0 | 2.8.x | 9.16.0 | diff --git a/build.sbt b/build.sbt index 53b8607..321ae91 100644 --- a/build.sbt +++ b/build.sbt @@ -3,7 +3,7 @@ val flywayPlayVersion = "9.0.0" val scalaVersion_2_13 = "2.13.12" val scalaVersion_3 = "3.3.1" -val flywayVersion = "9.19.4" +val flywayVersion = "9.16.3" val scalikejdbcVersion = "4.1.0" val scalatest = "org.scalatest" %% "scalatest" % "3.2.17" % "test"