Skip to content

Commit

Permalink
feat(models.User): add InvitedByUserID field
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince213 committed Apr 26, 2024
1 parent cf07a3f commit fd7c596
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type User struct {
IsAdmin bool `gorm:"default:false"`
IsCommunityAdmin bool `gorm:"default:false"`
InvitationCode string
InvitedByUserID uint
Reward int
HasPostedComments bool `gorm:"default:false"`
}
Expand Down

0 comments on commit fd7c596

Please sign in to comment.