Skip to content

Commit fd7c596

Browse files
committed
feat(models.User): add InvitedByUserID field
1 parent cf07a3f commit fd7c596

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/models/user.go

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ type User struct {
2929
IsAdmin bool `gorm:"default:false"`
3030
IsCommunityAdmin bool `gorm:"default:false"`
3131
InvitationCode string
32+
InvitedByUserID uint
3233
Reward int
3334
HasPostedComments bool `gorm:"default:false"`
3435
}

0 commit comments

Comments
 (0)