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 Details

    • migration_file_size

      protected Integer 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

      public void migrate(org.flywaydb.core.api.migration.Context context) throws Exception
      Throws:
      Exception
    • getChecksum

      public Integer getChecksum()
      Specified by:
      getChecksum in interface org.flywaydb.core.api.migration.JavaMigration
      Overrides:
      getChecksum in class org.flywaydb.core.api.migration.BaseJavaMigration