| Package | Description |
|---|---|
| com.googlecode.flyway.core |
The main Flyway package and for most users, the only one they'll ever need to know about.
|
| com.googlecode.flyway.core.api |
FlywayException, MigrationInfo and related classes.
|
| com.googlecode.flyway.core.api.migration |
Interfaces for Migration implementors.
|
| Modifier and Type | Method and Description |
|---|---|
MigrationVersion |
Flyway.getInitialVersion()
Deprecated.
Use getInitVersion() instead. Will be removed in Flyway 3.0.
|
MigrationVersion |
Flyway.getInitVersion()
Retrieves the version to tag an existing schema with when executing init.
|
MigrationVersion |
Flyway.getTarget()
Retrieves the target version up to which Flyway should run migrations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Flyway.setInitialVersion(MigrationVersion initialVersion)
Deprecated.
Use setInitVersion(MigrationVersion) instead. Will be removed in Flyway 3.0.
|
void |
Flyway.setInitVersion(MigrationVersion initVersion)
Sets the version to tag an existing schema with when executing init.
|
void |
Flyway.setTarget(MigrationVersion target)
Sets the target version up to which Flyway should run migrations.
|
| Modifier and Type | Field and Description |
|---|---|
static MigrationVersion |
MigrationVersion.EMPTY
Version for an empty schema.
|
static MigrationVersion |
MigrationVersion.LATEST
Latest version.
|
| Modifier and Type | Method and Description |
|---|---|
MigrationVersion |
MigrationInfo.getVersion() |
| Modifier and Type | Method and Description |
|---|---|
int |
MigrationVersion.compareTo(MigrationVersion o) |
| Modifier and Type | Method and Description |
|---|---|
MigrationVersion |
MigrationInfoProvider.getVersion()
Returns the version after the migration is complete.
|
Copyright © 2013. All Rights Reserved.