Skip to content

Commit 5a678da

Browse files
authored
Update README.md
1 parent f8f18a1 commit 5a678da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport {
123123

124124
```
125125

126-
If you'd like to use `flyway` module, you can use `docker-controller-scala-flyway`.
126+
### Use Flyway Migrate Command
127+
128+
If you'd like to use `flyway` module, you can use `docker-controller-scala-flyway`. Mix-in `FlywaySpecSupport` and run `flywayContext.flyway.migrate()` in `afterStartContainers` method.
127129

128130
```scala
129131
class MySQLControllerSpec extends AnyFreeSpec with DockerControllerSpecSupport with FlywaySpecSupport {

0 commit comments

Comments
 (0)