Change build message column type to text (#1252) (#1253)

Backport #1252
This commit is contained in:
Lauris BH 2022-10-13 17:51:25 +03:00 committed by GitHub
parent 6460b4c96d
commit 4669c1bc2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ type Build struct {
Refspec string `json:"refspec" xorm:"build_refspec"`
Remote string `json:"remote" xorm:"build_remote"`
Title string `json:"title" xorm:"build_title"`
Message string `json:"message" xorm:"build_message"`
Message string `json:"message" xorm:"TEXT 'build_message'"`
Timestamp int64 `json:"timestamp" xorm:"build_timestamp"`
Sender string `json:"sender" xorm:"build_sender"`
Avatar string `json:"author_avatar" xorm:"build_avatar"`