Skip to content

Commit 6501b56

Browse files
authored
fix: removed not null constraint for releaseOverride (#6044)
1 parent b6cf6e8 commit 6501b56

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/chartRepo/repository/ChartsRepository.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ type Chart struct {
3131
ChartVersion string `sql:"chart_version"`
3232
ChartRepo string `sql:"chart_repo"`
3333
ChartRepoUrl string `sql:"chart_repo_url"`
34-
Values string `sql:"values_yaml"` //json format // used at for release. this should be always updated
35-
GlobalOverride string `sql:"global_override"` //json format // global overrides visible to user only
36-
ReleaseOverride string `sql:"release_override"` //json format //image descriptor template used for injecting tigger metadata injection
37-
PipelineOverride string `sql:"pipeline_override"` //json format // pipeline values -> strategy values
38-
Status models.ChartStatus `sql:"status"` //(new , deployment-in-progress, deployed-To-production, error )
34+
Values string `sql:"values_yaml"` //json format // used at for release. this should be always updated
35+
GlobalOverride string `sql:"global_override"` //json format // global overrides visible to user only
36+
ReleaseOverride string `sql:"release_override,notnull"` //json format //image descriptor template used for injecting tigger metadata injection
37+
PipelineOverride string `sql:"pipeline_override"` //json format // pipeline values -> strategy values
38+
Status models.ChartStatus `sql:"status"` //(new , deployment-in-progress, deployed-To-production, error )
3939
Active bool `sql:"active"`
4040
GitRepoUrl string `sql:"git_repo_url"` // Deprecated; use deployment_config table instead //git repository where chart is stored
4141
ChartLocation string `sql:"chart_location"` //location within git repo where current chart is pointing

0 commit comments

Comments
 (0)