mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-28 11:20:30 +00:00
Make config linking non-unique (#3128)
closes https://github.com/woodpecker-ci/woodpecker/issues/3093
This commit is contained in:
parent
ade56ce1da
commit
106508a094
1 changed files with 2 additions and 2 deletions
|
@ -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'"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue