Skip to content

Friends #38

@weebao

Description

@weebao
  • From a few suggestions, we should let people add and invite friends. Honestly that'd help boost the social aspect of the app so why not?
  • Should be straightforward. Add a new table friends with two foreign keys user1 and user2 which identifies them as friends. Not sure if there's better way of doing this since this would be O(2n) with n being the number of users.
  • Also create an index on user1 to query friend list faster

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions