@Retention(value=RUNTIME) public @interface FlywayTest
Flyway.clean()Flyway.init()Flyway.migrate()FlywayTestExecutionListener.| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
invokeBaselineDB
invoke flyway command baseline before a migrate call
Baseline will create the schema_version table with a initialization entry
depending on
Flyway configuration property
Flyway.baselineVersion. |
boolean |
invokeCleanDB
invoke flyway command clean before a init/migrate call.
|
boolean |
invokeInitDB
Deprecated.
|
boolean |
invokeMigrateDB
invoke flyway command migrate
If set to true it will invoke
Flyway.migrate(). |
String[] |
locationsForMigrate
Support to add locations to the default location settings.
|
boolean |
overrideLocations
With this attribute the handling of the locationsForMigrate can be changed.
|
public abstract boolean invokeCleanDB
Flyway.clean().
Default: true@Deprecated public abstract boolean invokeInitDB
Flyway configuration property
Flyway.baselineVersion.
Note: if this is set to true than it will invoke
Flyway.baseline().
Default: falsepublic abstract boolean invokeBaselineDB
Flyway configuration property
Flyway.baselineVersion.
It will invoke Flyway.baseline().
Default: falsepublic abstract boolean invokeMigrateDB
Flyway.migrate().
Default: truepublic abstract String[] locationsForMigrate
Copyright © 2015. All rights reserved.