Browse Source

Bug fix

for-closed-social
Unknown 10 years ago
parent
commit
31fd45ba02
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      models/repo.go

+ 2
- 2
models/repo.go View File

@ -725,8 +725,8 @@ func GetCollaborators(repoName string) ([]string, error) {
// Watch is connection request for receiving repository notifycation.
type Watch struct {
Id int64
UserId int64 `xorm:"UNIQUE(s)"`
RepoId int64 `xorm:"UNIQUE(s)"`
UserId int64 `xorm:"UNIQUE(watch)"`
RepoId int64 `xorm:"UNIQUE(watch)"`
}
// Watch or unwatch repository.

Loading…
Cancel
Save