Add UserID many-to-one relationship to User in db for Card

This commit is contained in:
qowevisa 2024-08-03 08:06:46 +03:00
parent ffc4344adf
commit 83cf0bd71c

View File

@ -9,4 +9,6 @@ type Card struct {
Value uint64 Value uint64
HaveCreditLine bool HaveCreditLine bool
CreditLine uint64 CreditLine uint64
UserID uint
User *User
} }