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.BaseJavaMigration
This 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 -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.flywaydb.core.api.migration.BaseJavaMigration
canExecuteInTransaction, extractVersionAndDescription, 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
-
Field Details
-
migration_file_size
-
-
Constructor Details
-
V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration
public V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration()
-
-
Method Details
-
migrate
- Throws:
Exception
-
getChecksum
- Specified by:
getChecksumin interfaceorg.flywaydb.core.api.migration.JavaMigration- Overrides:
getChecksumin classorg.flywaydb.core.api.migration.BaseJavaMigration
-