Skip to content

Commit

Permalink
fix(build): data was too long for column 'commit_message'
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK authored and Porsh33 committed Nov 8, 2023
1 parent d120f4d commit 420991d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type (
ID uint `gorm:"primary_key;auto_increment;not null" json:"id"`
Branch string `json:"branch"`
Commit string `json:"commit"`
CommitMessage string `json:"commitMessage"`
CommitMessage string `json:"commitMessage" sql:"type:text"`
Ref string `gorm:"default:'refs/heads/master'" json:"ref"`
PR int `json:"pr"`
PRTitle string `json:"prTitle"`
Expand Down

0 comments on commit 420991d

Please sign in to comment.