public class V5_0_2014_11_04__Enable_XMLWorkflow_Migration
extends java.lang.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 |
|---|---|
java.lang.Integer |
getChecksum()
Return the checksum to be associated with this Migration
in the Flyway database table (schema_version).
|
void |
migrate(java.sql.Connection connection)
Actually migrate the existing database
|
public V5_0_2014_11_04__Enable_XMLWorkflow_Migration()
public void migrate(java.sql.Connection connection)
throws java.io.IOException,
java.sql.SQLException
migrate in interface org.flywaydb.core.api.migration.jdbc.JdbcMigrationconnection - java.io.IOExceptionjava.sql.SQLExceptionpublic java.lang.Integer getChecksum()
getChecksum in interface org.flywaydb.core.api.migration.MigrationChecksumProviderCopyright © 2018 DuraSpace. All Rights Reserved.