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:
Sebastian P
2023-09-10 22:24:51 +02:00
committed by GitHub
parent 536135b2e6
commit 07094558a8
3 changed files with 39 additions and 1 deletions

View File

@@ -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