diff --git a/server/model/config.go b/server/model/config.go index e28c26f1c..ff5a4a0bb 100644 --- a/server/model/config.go +++ b/server/model/config.go @@ -35,6 +35,6 @@ type Config struct { // PipelineConfig is the n:n relation between Pipeline and Config type PipelineConfig struct { - ConfigID int64 `json:"-" xorm:"UNIQUE(s) NOT NULL 'config_id'"` - PipelineID int64 `json:"-" xorm:"UNIQUE(s) NOT NULL 'pipeline_id'"` + ConfigID int64 `json:"-" xorm:"NOT NULL 'config_id'"` + PipelineID int64 `json:"-" xorm:"NOT NULL 'pipeline_id'"` }