Add user model's reference in payouts table
This commit is contained in:
@@ -5,7 +5,8 @@ import "gorm.io/gorm"
|
||||
type Payout struct {
|
||||
gorm.Model
|
||||
|
||||
User User
|
||||
UserID uint
|
||||
User User
|
||||
|
||||
Description string
|
||||
PayoutID string
|
||||
|
||||
Reference in New Issue
Block a user