0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 12:24:36 +01:00
This commit is contained in:
Unknown 2014-05-07 17:38:03 -04:00
parent abd8c2a7ca
commit 31fd45ba02

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.