|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.flyway.core.Migration
com.google.code.flyway.core.BaseMigration
public abstract class BaseMigration
Base migration for migrations that use the standard Flyway version + description embedding in their name. These migrations have names like V1_2__Description .
| Field Summary |
|---|
| Fields inherited from class com.google.code.flyway.core.Migration |
|---|
executionTime, migrationState, schemaVersion, scriptName |
| Constructor Summary | |
|---|---|
BaseMigration()
|
|
| Method Summary | |
|---|---|
protected void |
initVersion(java.lang.String migrationName)
Initializes the version of this Migration based on this standard Flyway name. |
| Methods inherited from class com.google.code.flyway.core.Migration |
|---|
assertNotFailed, doMigrate, getExecutionTime, getScriptName, getState, getVersion, migrate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseMigration()
| Method Detail |
|---|
protected final void initVersion(java.lang.String migrationName)
migrationName - The migration name in standard Flyway format. Ex.:
V1_2__Description .
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||