mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-23 17:02:33 +08:00
Bug fix
This commit is contained in:
parent
269281ab76
commit
8b6766ecbe
|
@ -725,8 +725,8 @@ func GetCollaborators(repoName string) ([]string, error) {
|
||||||
// Watch is connection request for receiving repository notifycation.
|
// Watch is connection request for receiving repository notifycation.
|
||||||
type Watch struct {
|
type Watch struct {
|
||||||
Id int64
|
Id int64
|
||||||
Uid int64 `xorm:"UNIQUE(s)"`
|
Uid int64 `xorm:"UNIQUE(watch)"`
|
||||||
RepoId int64 `xorm:"UNIQUE(s)"`
|
RepoId int64 `xorm:"UNIQUE(watch)"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Watch or unwatch repository.
|
// Watch or unwatch repository.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user