You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/src/apiserver/model/pipeline_version.go
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ type PipelineVersion struct {
37
37
Namestring`gorm:"column:Name; not null; type:varchar(127); uniqueIndex:idx_pipelineid_name;"`
38
38
DisplayNamestring`gorm:"column:DisplayName; not null"`
39
39
// TODO(gkcalat): this is deprecated. Consider removing and adding data migration logic at the server startup.
40
-
Parametersstring`gorm:"column:Parameters; not null; type:longtext;"`// deprecated
40
+
ParametersLargeText`gorm:"column:Parameters; not null;"`// deprecated
41
41
// PipelineVersion belongs to Pipeline. If a pipeline with a specific UUID
42
42
// is deleted from Pipeline table, all this pipeline's versions will be
43
43
// deleted from PipelineVersion table.
@@ -47,10 +47,11 @@ type PipelineVersion struct {
47
47
PipelinePipeline`gorm:"foreignKey:PipelineId; references:UUID;constraint:pipeline_versions_PipelineId_pipelines_UUID_foreign,OnDelete:CASCADE,OnUpdate:CASCADE"`// This 'belongs to' relation replaces the legacy AddForeignKey constraint previously defined in client_manager.go
48
48
StatusPipelineVersionStatus`gorm:"column:Status; not null;"`
49
49
// Code source url links to the pipeline version's definition in repo.
Copy file name to clipboardExpand all lines: backend/src/apiserver/model/run.go
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -317,12 +317,12 @@ type RunDetails struct {
317
317
// For details on type lengths and index safety, refer to comments in the Pipeline struct.
318
318
Conditionsstring`gorm:"column:Conditions; type:varchar(125); not null; index:experimentuuid_conditions_finishedatinsec,priority:2;index:namespace_conditions_finishedatinsec,priority:2"`
0 commit comments