fix: fix user relationship

This commit is contained in:
Derrick Hammer 2024-01-16 00:05:25 -05:00
parent d30d2f34b5
commit 86c80aefaa
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 4 deletions

View File

@ -6,6 +6,6 @@ type Pin struct {
gorm.Model
UploadID uint
Upload Upload
PinnedByUserID uint
UserID uint
User User
}