mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-07-14 12:41:29 +08:00
Bug fix
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user