public class V4_1__Task_Sequence
extends org.springframework.cloud.dataflow.common.flyway.AbstractMigration
TASK_SEQ
sequence exists.
Done for mssql
via java and suppressing error as it doesn't support
"create sequence if not exists". Also we migrate from TASK_SEQ
table
into sequence by taking out a correct seq value.Modifier and Type | Field and Description |
---|---|
static List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
fixcommands |
Constructor and Description |
---|
V4_1__Task_Sequence() |
Modifier and Type | Method and Description |
---|---|
List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> |
getCommands() |
void |
migrate(org.flywaydb.core.api.migration.Context context) |
public static final List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> fixcommands
public void migrate(org.flywaydb.core.api.migration.Context context) throws Exception
migrate
in interface org.flywaydb.core.api.migration.JavaMigration
migrate
in class org.springframework.cloud.dataflow.common.flyway.AbstractMigration
Exception
public List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> getCommands()
getCommands
in class org.springframework.cloud.dataflow.common.flyway.AbstractMigration
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.