Add IDs to the various connector structs
This commit is contained in:
parent
582988add2
commit
c9e1881f55
11 changed files with 13 additions and 1 deletions
|
@ -4,6 +4,7 @@ package models
|
|||
// There may be multiple relations from an account X to an account Y,
|
||||
// each describing a different aspect
|
||||
type UserToUserRelation struct {
|
||||
ID uint64 `gorm:"primarykey"`
|
||||
User User
|
||||
UserId string
|
||||
TargetUser User
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue