From 066926f952d0c5d217236f3ed68f1751c434b20c Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sat, 9 Nov 2024 08:23:26 +0200 Subject: [PATCH] Fix avatar column type (#4340) --- server/model/pipeline.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/model/pipeline.go b/server/model/pipeline.go index a073ad15f..9af629f30 100644 --- a/server/model/pipeline.go +++ b/server/model/pipeline.go @@ -42,8 +42,8 @@ type Pipeline struct { Message string `json:"message" xorm:"TEXT 'message'"` Timestamp int64 `json:"timestamp" xorm:"'timestamp'"` Sender string `json:"sender" xorm:"sender"` // uses reported user for webhooks and name of cron for cron pipelines - Avatar string `json:"author_avatar" xorm:"avatar"` - Email string `json:"author_email" xorm:"email"` + Avatar string `json:"author_avatar" xorm:"varchar(500) avatar"` + Email string `json:"author_email" xorm:"varchar(500) email"` ForgeURL string `json:"forge_url" xorm:"forge_url"` Reviewer string `json:"reviewed_by" xorm:"reviewer"` Reviewed int64 `json:"reviewed" xorm:"reviewed"`