mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-24 15:23:33 +01:00
Bug fix
This commit is contained in:
parent
abd8c2a7ca
commit
31fd45ba02
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue