Add UserID many-to-one relationship to User in db for Card
This commit is contained in:
parent
ffc4344adf
commit
83cf0bd71c
|
@ -9,4 +9,6 @@ type Card struct {
|
|||
Value uint64
|
||||
HaveCreditLine bool
|
||||
CreditLine uint64
|
||||
UserID uint
|
||||
User *User
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user