ReputationEvents
Closed this issue · 3 comments
sethwoodworth commented
We have a fkey to user from a RepEvent and we have a reference from UserProfile to ReputationEvent.
CharlesHolbrow commented
UserProfile currently has a many to many relationship with KaramEvents. This is incorrect and redundant.
ReputationEvents already have a ForeignKey for Actor and User Karma. However, the related_names are unclear. currently they are actor and target. I'm changing them to reputation_event_target and reputation_event_actor.
Also will be deleting the reputationEvents M2M key in User Profile
CharlesHolbrow commented
Consider adding a method to either UserProfile or ReputationEvent that gets all the karma events for a particular user.
CharlesHolbrow commented
fixed in refactor Branch