Class AbstractBoot3InitialSetupMigration
java.lang.Object
org.flywaydb.core.api.migration.BaseJavaMigration
org.springframework.cloud.dataflow.common.flyway.AbstractMigration
org.springframework.cloud.dataflow.server.db.migration.AbstractBoot3InitialSetupMigration
- All Implemented Interfaces:
org.flywaydb.core.api.migration.JavaMigration
- Direct Known Subclasses:
V6__Boot3_Add_Task3_Batch5_Schema,V7__Boot3_Add_Task3_Batch5_Schema,V7__Boot3_Add_Task3_Batch5_Schema,V7__Boot3_Add_Task3_Batch5_Schema,V7__Boot3_Add_Task3_Batch5_Schema,V7__Boot3_Add_Task3_Batch5_Schema
public abstract class AbstractBoot3InitialSetupMigration
extends org.springframework.cloud.dataflow.common.flyway.AbstractMigration
Base implementation for initial Boot 3 schema
- Author:
- Chris Bono
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand>Creates the spring-batch V5 tables.abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand>Creates the spring-cloud-task V3 tables.List<org.springframework.cloud.dataflow.common.flyway.SqlCommand>Methods inherited from class org.springframework.cloud.dataflow.common.flyway.AbstractMigration
migrateMethods inherited from class org.flywaydb.core.api.migration.BaseJavaMigration
canExecuteInTransaction, extractVersionAndDescription, getChecksum, getDescription, getVersion, initMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flywaydb.core.api.migration.JavaMigration
getResolvedMigration, getType
-
Constructor Details
-
AbstractBoot3InitialSetupMigration
public AbstractBoot3InitialSetupMigration()
-
-
Method Details
-
getCommands
- Overrides:
getCommandsin classorg.springframework.cloud.dataflow.common.flyway.AbstractMigration
-
createTask3Tables
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> createTask3Tables()Creates the spring-cloud-task V3 tables.- Returns:
- the list of sql commands
-
createBatch5Tables
public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> createBatch5Tables()Creates the spring-batch V5 tables.- Returns:
- the list of sql commands
-