Class V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration
- java.lang.Object
-
- org.flywaydb.core.api.migration.BaseJavaMigration
-
- org.dspace.storage.rdbms.xmlworkflow.V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration
-
- All Implemented Interfaces:
org.flywaydb.core.api.migration.JavaMigration
public class V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration extends org.flywaydb.core.api.migration.BaseJavaMigrationThis class automatically migrates your DSpace Database to use the XML-based Configurable Workflow system whenever it is enabled.Because XML-based Configurable Workflow existed prior to our migration, this class first checks for the existence of the "cwf_workflowitem" table before running any migrations.
This class represents a Flyway DB Java Migration http://flywaydb.org/documentation/migration/java.html
It can upgrade a 6.0 version of DSpace to use the XMLWorkflow. User: kevin (kevin at atmire.com) Date: 1/09/15 Time: 11:34
-
-
Field Summary
Fields Modifier and Type Field Description protected Integermigration_file_size
-
Constructor Summary
Constructors Constructor Description V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetChecksum()voidmigrate(org.flywaydb.core.api.migration.Context context)
-
-
-
Field Detail
-
migration_file_size
protected Integer migration_file_size
-
-
Method Detail
-
migrate
public void migrate(org.flywaydb.core.api.migration.Context context) throws Exception- Throws:
Exception
-
getChecksum
public Integer getChecksum()
- Specified by:
getChecksumin interfaceorg.flywaydb.core.api.migration.JavaMigration- Overrides:
getChecksumin classorg.flywaydb.core.api.migration.BaseJavaMigration
-
-