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