From 91d4649b3d9a949e6cdf79ca3671afbee036304d Mon Sep 17 00:00:00 2001 From: Andrea Fazzi Date: Wed, 16 Dec 2020 15:37:42 +0100 Subject: [PATCH] Increase question text size --- orm/question.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`