diff --git a/orm/question.go b/orm/question.go index c3ac111b..54759b0c 100644 --- a/orm/question.go +++ b/orm/question.go @@ -10,7 +10,7 @@ import ( type Question struct { gorm.Model - Text string + Text string `gorm:"type:varchar(1024)"` Contest *Contest ContestID uint `schema:"contest_id"`