From d827b0bfb71f48eb998cdd864a94a267c7781ba2 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 29 Jul 2019 12:15:13 +0800 Subject: [PATCH] change length of some repository's columns (#7652) (#7655) --- models/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/repo.go b/models/repo.go index d95ebf10e..cae252f84 100644 --- a/models/repo.go +++ b/models/repo.go @@ -134,8 +134,8 @@ type Repository struct { Owner *User `xorm:"-"` LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"` Name string `xorm:"INDEX NOT NULL"` - Description string - Website string + Description string `xorm:"TEXT"` + Website string `xorm:"VARCHAR(2048)"` DefaultBranch string NumWatches int