@Retention(value=RUNTIME) public @interface FlywayTest
Flyway.clean()Flyway.init()Flyway.migrate()FlywayTestExecutionListener.| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
invokeCleanDB
invoke flyway command clean before a init/migrate call.
|
boolean |
invokeInitDB
invoke flyway command init before a migrate call
Init will create the schema_version table with a initialization entry
depending on
Flyway configuration property
Flyway.initVersion. |
boolean |
invokeMigrateDB
invoke flyway command migrate
Default: true
|
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
public abstract boolean invokeInitDB
Flyway configuration property
Flyway.initVersion.
Default: falsepublic abstract boolean invokeMigrateDB
public abstract String[] locationsForMigrate
public abstract boolean overrideLocations
Copyright © 2014. All Rights Reserved.