public class Migration extends Object
| Constructor and Description |
|---|
Migration() |
| Modifier and Type | Method and Description |
|---|---|
static Migration |
before()
Create new Migration.
|
Migration |
cleanAfter()
Will drop all objects in the configured schemas after tests using Flyway.
|
Migration |
withDefaultPath()
Use Default
db/migration Flyway schema migration location. |
Migration |
withPath(String migrationPath)
Add flyway migration path.
|
Migration |
withPaths(String... migrationPaths)
Add flyway migration paths.
|
Migration |
withSchema(String schema)
Add flyway migration schema.
|
Migration |
withSchemas(String... moreSchemas)
Add flyway migration schemas.
|
public Migration withDefaultPath()
db/migration Flyway schema migration location.
Migration scripts must be on the classpath.public Migration cleanAfter()
public static Migration before()
Copyright © 2019. All rights reserved.