@@ -67,7 +67,7 @@ public class Workflow extends BaseEntity implements Serializable {
67
67
public String id ;
68
68
69
69
// Metadata
70
- @ Column (columnDefinition = "jsonb" , length = 10000 )
70
+ @ Column (columnDefinition = "jsonb" )
71
71
@ Type (type = "json" )
72
72
@ Convert (disableConversion = true )
73
73
private GitDetails retrievedFrom ;
@@ -77,46 +77,46 @@ public class Workflow extends BaseEntity implements Serializable {
77
77
78
78
// The last commit from the branch at the time of fetching
79
79
// Used for caching purposes
80
- @ Column
80
+ @ Column ( columnDefinition = "TEXT" )
81
81
private String lastCommit ;
82
82
83
83
// A String which represents the path to a RO bundle
84
84
// Path types cannot be stored using Spring Data, unfortunately
85
- @ Column (length = 1000 )
85
+ @ Column (columnDefinition = "TEXT" )
86
86
private String roBundlePath ;
87
87
88
88
// Contents of the workflow
89
- @ Column (length = 1000 )
89
+ @ Column (columnDefinition = "TEXT" )
90
90
private String label ;
91
- @ Column (length = 1000 )
91
+ @ Column (columnDefinition = "TEXT" )
92
92
private String doc ;
93
- @ Column (columnDefinition = "jsonb" , length = 10000 )
93
+ @ Column (columnDefinition = "jsonb" )
94
94
@ Type (type = "json" )
95
95
@ Convert (disableConversion = true )
96
96
private Map <String , CWLElement > inputs ;
97
- @ Column (columnDefinition = "jsonb" , length = 10000 )
97
+ @ Column (columnDefinition = "jsonb" )
98
98
@ Type (type = "json" )
99
99
@ Convert (disableConversion = true )
100
100
private Map <String , CWLElement > outputs ;
101
- @ Column (columnDefinition = "jsonb" , length = 10000 )
101
+ @ Column (columnDefinition = "jsonb" )
102
102
@ Type (type = "json" )
103
103
@ Convert (disableConversion = true )
104
104
private Map <String , CWLStep > steps ;
105
105
106
106
// Currently only DockerRequirement is parsed for this
107
- @ Column (length = 1000 )
107
+ @ Column (columnDefinition = "TEXT" )
108
108
private String dockerLink ;
109
109
110
- @ Column (length = 1000 )
110
+ @ Column (columnDefinition = "TEXT" )
111
111
private String cwltoolVersion = "" ;
112
112
113
113
// DOT graph of the contents
114
- @ Column (length = 1000 )
114
+ @ Column (columnDefinition = "TEXT" )
115
115
private String visualisationDot ;
116
116
117
117
private static final String PERMANENT_LINK_BASE_URL = "https://w3id.org/cwl/view" ;
118
118
119
- @ Column (length = 1000 )
119
+ @ Column (columnDefinition = "TEXT" )
120
120
private String licenseLink ;
121
121
122
122
public Workflow (String label , String doc , Map <String , CWLElement > inputs , Map <String , CWLElement > outputs ,
0 commit comments