Skip to content

Commit d827b0b

Browse files
lunnytechknowlogick
authored andcommitted
change length of some repository's columns (#7652) (#7655)
1 parent d789170 commit d827b0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/repo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ type Repository struct {
134134
Owner *User `xorm:"-"`
135135
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
136136
Name string `xorm:"INDEX NOT NULL"`
137-
Description string
138-
Website string
137+
Description string `xorm:"TEXT"`
138+
Website string `xorm:"VARCHAR(2048)"`
139139
DefaultBranch string
140140

141141
NumWatches int

0 commit comments

Comments
 (0)