mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-03 23:12:38 +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
|
// PipelineConfig is the n:n relation between Pipeline and Config
|
||||||
type PipelineConfig struct {
|
type PipelineConfig struct {
|
||||||
ConfigID int64 `json:"-" xorm:"UNIQUE(s) NOT NULL 'config_id'"`
|
ConfigID int64 `json:"-" xorm:"NOT NULL 'config_id'"`
|
||||||
PipelineID int64 `json:"-" xorm:"UNIQUE(s) NOT NULL 'pipeline_id'"`
|
PipelineID int64 `json:"-" xorm:"NOT NULL 'pipeline_id'"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user