Class Migration
java.lang.Object
org.jdbi.v3.testing.Migration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Migration
before()
Create new Migration.Will drop all objects in the configured schemas after tests using Flyway.cleanAfter
(boolean cleanAfter) Controls whether to drop all objects in the configured schemas after running the tests using Flyway.Use Defaultdb/migration
Flyway schema migration location.Add flyway migration path.Add flyway migration paths.withSchema
(String schema) Add flyway migration schema.withSchemas
(String... moreSchemas) Add flyway migration schemas.
-
Constructor Details
-
Migration
public Migration()
-
-
Method Details
-
withDefaultPath
Use Defaultdb/migration
Flyway schema migration location. Migration scripts must be on the classpath. -
withPath
-
withPaths
-
withSchema
-
withSchemas
-
cleanAfter
Will drop all objects in the configured schemas after tests using Flyway. -
cleanAfter
Controls whether to drop all objects in the configured schemas after running the tests using Flyway. -
before
Create new Migration.
-