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
|
@ -3,6 +3,7 @@ package models
|
|||
// Defines an account to be a being of the set type
|
||||
// Multiple are possible for combination
|
||||
type UserToBeing struct {
|
||||
ID uint64 `gorm:"primarykey"`
|
||||
User User
|
||||
UserId string
|
||||
Being BeingType `gorm:"type:being_type"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue