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
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue