Browse Source

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

tags/v1.9.0
Lunny Xiao 6 years ago committed by techknowlogick
parent
commit
d827b0bfb7
  1. 4
      models/repo.go

4
models/repo.go

@ -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

Loading…
Cancel
Save