Merge branch 'master' into enh/noid/commit-message-link-check-commit-hashes

This commit is contained in:
Lunny Xiao
2019-08-05 23:50:26 +08:00
committed by GitHub
6 changed files with 115 additions and 41 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ func NewRepoContext() {
// Repository represents a git repository.
type Repository struct {
ID int64 `xorm:"pk autoincr"`
OwnerID int64 `xorm:"UNIQUE(s)"`
OwnerID int64 `xorm:"UNIQUE(s) index"`
OwnerName string `xorm:"-"`
Owner *User `xorm:"-"`
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`