mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-31 11:14:33 +00:00
Make config linking non-unique (#3128)
closes https://github.com/woodpecker-ci/woodpecker/issues/3093
This commit is contained in:
@@ -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'"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user