diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-07 17:10:46 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-07 17:10:46 -0400 |
commit | 8b6766ecbee91f0dc8d7a5c20262b2e2d96bb694 (patch) | |
tree | fa0a76aaf34406498c06071820744c84950d2e5f /models/repo.go | |
parent | 269281ab767730817b2e468507e7a468c30337ac (diff) | |
download | gitea-8b6766ecbee91f0dc8d7a5c20262b2e2d96bb694.tar.gz gitea-8b6766ecbee91f0dc8d7a5c20262b2e2d96bb694.zip |
Bug fix
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/repo.go b/models/repo.go index 640b6e723d..d187349921 100644 --- a/models/repo.go +++ b/models/repo.go @@ -725,8 +725,8 @@ func GetCollaborators(repoName string) ([]string, error) { // Watch is connection request for receiving repository notifycation. type Watch struct { Id int64 - Uid int64 `xorm:"UNIQUE(s)"` - RepoId int64 `xorm:"UNIQUE(s)"` + Uid int64 `xorm:"UNIQUE(watch)"` + RepoId int64 `xorm:"UNIQUE(watch)"` } // Watch or unwatch repository. |