| Modifier and Type | Method and Description |
|---|---|
static Migration |
Migration.before()
Create new Migration.
|
Migration |
Migration.cleanAfter()
Will drop all objects in the configured schemas after tests using Flyway.
|
Migration |
Migration.withDefaultPath()
Use Default
db/migration Flyway schema migration location. |
Migration |
Migration.withPath(String migrationPath)
Add flyway migration path.
|
Migration |
Migration.withPaths(String... migrationPaths)
Add flyway migration paths.
|
Migration |
Migration.withSchema(String schema)
Add flyway migration schema.
|
Migration |
Migration.withSchemas(String... moreSchemas)
Add flyway migration schemas.
|
| Modifier and Type | Method and Description |
|---|---|
JdbiRule |
JdbiRule.withMigration(Migration newMigration)
Run database migration.
|
Copyright © 2019. All rights reserved.