From b62e55105009c44fcb9b8783974028c519a09ded Mon Sep 17 00:00:00 2001 From: Junichi Kato Date: Wed, 30 Jun 2021 08:16:57 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2b15c96a0..3b753ccfd 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport { ### Use Flyway Migrate Command on MySQL/PostgreSQL -If you'd like to use `flyway` module, you can use `docker-controller-scala-flyway`. Mix-in `FlywaySpecSupport` then, put the sql files in `src/reosources/flyway`, run `flywayContext.flyway.migrate()` in `afterStartContainers` method. +If you'd like to use `flyway` module, you can use `docker-controller-scala-flyway`. Mix-in `FlywaySpecSupport` then, put the sql files in `src/reosources/flyway`(`src/reosources/**` can be set to any string.), run `flywayContext.flyway.migrate()` in `afterStartContainers` method. ```scala class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport with FlywaySpecSupport { @@ -165,7 +165,7 @@ class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport w ) override protected def afterStartContainers(): Unit = { - // Put the sql files in `src/reosources/flyway`. + // Configure the sql files in `src/reosources/flyway`. val flywayContext = createFlywayContext(FlywayConfig(Seq("flyway"))) // Execute flywayMigrate command flywayContext.flyway.migrate()