fix: fix user relationship
This commit is contained in:
parent
d30d2f34b5
commit
86c80aefaa
|
@ -6,6 +6,6 @@ type Pin struct {
|
|||
gorm.Model
|
||||
UploadID uint
|
||||
Upload Upload
|
||||
PinnedByUserID uint
|
||||
UserID uint
|
||||
User User
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue