Class V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration
- java.lang.Object
-
- org.dspace.storage.rdbms.xmlworkflow.V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration
-
- All Implemented Interfaces:
org.flywaydb.core.api.migration.jdbc.JdbcMigration,org.flywaydb.core.api.migration.MigrationChecksumProvider
public class V6_0_2015_09_01__DS_2701_Enable_XMLWorkflow_Migration extends Object implements org.flywaydb.core.api.migration.jdbc.JdbcMigration, org.flywaydb.core.api.migration.MigrationChecksumProvider
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 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(Connection connection)
-
-
-
Field Detail
-
migration_file_size
protected Integer migration_file_size
-
-
Method Detail
-
migrate
public void migrate(Connection connection) throws Exception
- Specified by:
migratein interfaceorg.flywaydb.core.api.migration.jdbc.JdbcMigration- Throws:
Exception
-
getChecksum
public Integer getChecksum()
- Specified by:
getChecksumin interfaceorg.flywaydb.core.api.migration.MigrationChecksumProvider
-
-