change length of some repository's columns (#7652) (#7655)

This commit is contained in:
Lunny Xiao 2019-07-29 12:15:13 +08:00 committed by techknowlogick
parent d789170e31
commit d827b0bfb7

View file

@ -134,8 +134,8 @@ type Repository struct {
Owner *User `xorm:"-"` Owner *User `xorm:"-"`
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"` LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
Name string `xorm:"INDEX NOT NULL"` Name string `xorm:"INDEX NOT NULL"`
Description string Description string `xorm:"TEXT"`
Website string Website string `xorm:"VARCHAR(2048)"`
DefaultBranch string DefaultBranch string
NumWatches int NumWatches int