Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A model for teams #547

Open
alexanmtz opened this issue Mar 23, 2020 · 8 comments
Open

A model for teams #547

alexanmtz opened this issue Mar 23, 2020 · 8 comments
Assignees
Labels
enhancement hiring Issues that can help you to solve hiring challenges node.js Taks that requires node.js knowledge starter issue for starter developers
Milestone

Comments

@alexanmtz
Copy link
Member

We should create a model to have teams with names, and teams have many users.

Why

We will start to organize users in teams to have better control of permissions later on.

Level

Beginner

@alexanmtz alexanmtz added enhancement node.js Taks that requires node.js knowledge starter issue for starter developers hiring Issues that can help you to solve hiring challenges labels Mar 23, 2020
@alexanmtz alexanmtz added this to the v1.7-apollo milestone Mar 23, 2020
@arpit9667
Copy link
Member

@alexanmtz I would like to work on this issue.

@alexanmtz
Copy link
Member Author

@arpit9667, you're now assigned and you can start to work on this issue 👍

@alexanmtz
Copy link
Member Author

@arpit9667, are you able to address the comments on the PR you're created?

@alexanmtz alexanmtz removed this from the v1.7-apollo milestone Dec 15, 2020
@Daniel-olaO
Copy link

I can give it a try

@alexanmtz
Copy link
Member Author

Yes @Daniel-olaO :-)

@Daniel-olaO
Copy link

Hey @alexanmtz, what, are the fields require for the schema design

@alexanmtz
Copy link
Member Author

@Daniel-olaO thanks for your interest 🙏

The initial design could be:

Team

  • id (primary key)
  • name
  • description
  • created_at
  • updated_at

TeamMember

  • id (primary key)
  • team_id (foreign key to Team)
  • user_id (foreign key to User)
  • created_at
  • updated_at

@Daniel-olaO
Copy link

done

@alexanmtz alexanmtz added this to the v2.0 milestone May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement hiring Issues that can help you to solve hiring challenges node.js Taks that requires node.js knowledge starter issue for starter developers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@alexanmtz @arpit9667 @Daniel-olaO and others