This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/develop by this push: new 215ae18 AIRAVATA-2953 Increase METADATA column size to 4096 215ae18 is described below commit 215ae182d27480287050a511569ed522cc5d8616 Author: Marcus Christie <machris...@apache.org> AuthorDate: Wed Nov 21 14:19:09 2018 -0500 AIRAVATA-2953 Increase METADATA column size to 4096 --- .../airavata/registry/core/entities/expcatalog/ProcessInputEntity.java | 2 +- modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql | 2 +- .../next/DeltaScripts/experimentCatalog_schema_delta.sql | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ProcessInputEntity.java b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ProcessInputEntity.java index 622cad1..7bafe45 100644 --- a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ProcessInputEntity.java +++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ProcessInputEntity.java @@ -59,7 +59,7 @@ public class ProcessInputEntity implements Serializable { @Column(name = "USER_FRIENDLY_DESCRIPTION") private String userFriendlyDescription; - @Column(name = "METADATA") + @Column(name = "METADATA", length = 4096) private String metaData; @Column(name = "INPUT_ORDER") diff --git a/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql b/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql index b5dd7ec..b9d05ce 100644 --- a/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql +++ b/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql @@ -249,7 +249,7 @@ CREATE TABLE PROCESS_INPUT APPLICATION_ARGUMENT varchar(255), STANDARD_INPUT tinyint(1), USER_FRIENDLY_DESCRIPTION varchar(255), - METADATA varchar(255), + METADATA varchar(4096), INPUT_ORDER int(11), IS_REQUIRED tinyint(1), REQUIRED_TO_ADDED_TO_CMD tinyint(1), diff --git a/modules/registry/release-migration-scripts/next/DeltaScripts/experimentCatalog_schema_delta.sql b/modules/registry/release-migration-scripts/next/DeltaScripts/experimentCatalog_schema_delta.sql index 7f083bb..cc908ed 100644 --- a/modules/registry/release-migration-scripts/next/DeltaScripts/experimentCatalog_schema_delta.sql +++ b/modules/registry/release-migration-scripts/next/DeltaScripts/experimentCatalog_schema_delta.sql @@ -60,3 +60,6 @@ alter table JOB modify column TASK_ID VARCHAR(255) NOT NULL; alter table JOB_STATUS modify column TASK_ID VARCHAR(255) NOT NULL; alter table JOB_STATUS modify column JOB_ID VARCHAR(255) NOT NULL; set FOREIGN_KEY_CHECKS=1; + +-- AIRAVATA-2953 +alter table PROCESS_INPUT modify column METADATA VARCHAR(4096); \ No newline at end of file