Add IDs to the various connector structs

This commit is contained in:
Melody Becker 2025-03-31 15:23:24 +02:00
parent 582988add2
commit c9e1881f55
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
11 changed files with 13 additions and 1 deletions

View file

@ -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"`