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

@ -8,6 +8,7 @@ package models
//
// Password hashes may only exist at most once per user, the rest 0-m
type UserAuthMethod struct {
ID uint64 `gorm:"primarykey"`
User User
UserId string
AuthMethod AuthenticationMethodType `gorm:"type:auth_method_type"`