Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Oct 14, 2017
1 parent c441daa commit 6e6f29d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions models/migrations/v46.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ import (
)

func removeOrganizationWatchRepo(x *xorm.Engine) error {
// Watch is connection request for receiving repository notification.
type Watch struct {
ID int64 `xorm:"pk autoincr"`
UserID int64 `xorm:"UNIQUE(watch)"`
RepoID int64 `xorm:"UNIQUE(watch)"`
}

// UserType defines the user type
type UserType int

Expand Down

0 comments on commit 6e6f29d

Please sign in to comment.