mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 12:52:57 +00:00
fix: change config.config_data column type to longblob in mysql (#2434)
See https://github.com/woodpecker-ci/woodpecker/pull/2418#discussion_r1320832841 for context.
This commit is contained in:
@@ -30,7 +30,7 @@ type Config struct {
|
||||
RepoID int64 `json:"-" xorm:"UNIQUE(s) 'config_repo_id'"`
|
||||
Hash string `json:"hash" xorm:"UNIQUE(s) 'config_hash'"`
|
||||
Name string `json:"name" xorm:"config_name"`
|
||||
Data []byte `json:"data" xorm:"config_data"`
|
||||
Data []byte `json:"data" xorm:"LONGBLOB 'config_data'"`
|
||||
} // @name Config
|
||||
|
||||
// PipelineConfig is the n:n relation between Pipeline and Config
|
||||
|
Reference in New Issue
Block a user