Database

Details

file location

/engagement/models.py

usage

this app keeps all record of user engagement

Models

CoachFollow

  • each entry represents one follow to coach

  • coach => fk related to user.User, representing the coach being followed

  • followed_by => fk related to user.User, representing the user that follow the coach

  • unique together constraint is set for coach and followed_by

QNAEngagement

this model has been deprecated if remember correctly

Engagement

each entry represents one post like when a user un-like a post, delete the old entry

Bookmark

each entry represent one bookmark
when a user unmark the post, delete the old entry