public class V5_0_2014_11_04__Enable_XMLWorkflow_Migration extends Object implements org.flywaydb.core.api.migration.jdbc.JdbcMigration, org.flywaydb.core.api.migration.MigrationChecksumProvider
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 5.0 (or above) version of DSpace to use the XMLWorkflow.
| Constructor and Description |
|---|
V5_0_2014_11_04__Enable_XMLWorkflow_Migration() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getChecksum()
Return the checksum to be associated with this Migration
in the Flyway database table (schema_version).
|
void |
migrate(Connection connection)
Actually migrate the existing database
|
public V5_0_2014_11_04__Enable_XMLWorkflow_Migration()
public void migrate(Connection connection) throws IOException, SQLException
migrate in interface org.flywaydb.core.api.migration.jdbc.JdbcMigrationconnection - IOExceptionSQLExceptionpublic Integer getChecksum()
getChecksum in interface org.flywaydb.core.api.migration.MigrationChecksumProviderCopyright © 2014 DuraSpace. All Rights Reserved.