public abstract class AbstractMigration
extends org.flywaydb.core.api.migration.BaseJavaMigration
| Constructor and Description |
|---|
AbstractMigration(List<SqlCommand> commands)
Instantiates a new abstract migration.
|
| Modifier and Type | Method and Description |
|---|---|
List<SqlCommand> |
getCommands()
Gets the commands.
|
void |
migrate(org.flywaydb.core.api.migration.Context context) |
public AbstractMigration(List<SqlCommand> commands)
commands - the commandspublic void migrate(org.flywaydb.core.api.migration.Context context)
throws Exception
Exceptionpublic List<SqlCommand> getCommands()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.