Skip to content

Commit b62e551

Browse files
authored
Update README.md
1 parent b6dd801 commit b62e551

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport {
125125

126126
### Use Flyway Migrate Command on MySQL/PostgreSQL
127127

128-
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.
128+
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.
129129

130130
```scala
131131
class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport with FlywaySpecSupport {
@@ -165,7 +165,7 @@ class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport w
165165
)
166166

167167
override protected def afterStartContainers(): Unit = {
168-
// Put the sql files in `src/reosources/flyway`.
168+
// Configure the sql files in `src/reosources/flyway`.
169169
val flywayContext = createFlywayContext(FlywayConfig(Seq("flyway")))
170170
// Execute flywayMigrate command
171171
flywayContext.flyway.migrate()

0 commit comments

Comments
 (0)