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

[WIP]: 33 designing models #39

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

[WIP]: 33 designing models #39

wants to merge 6 commits into from

Conversation

JaoodxD
Copy link

@JaoodxD JaoodxD commented Nov 17, 2023

Add Models.md file to describe core project's entities with it's corresponding relations.

@JaoodxD JaoodxD linked an issue Nov 17, 2023 that may be closed by this pull request
@JaoodxD
Copy link
Author

JaoodxD commented Nov 17, 2023

  • MESSAGE should be related to GROUP.
  • Rename CONFIG to SETTINGS to prevent misunderstanding as CONFIG can be related to server configs.
  • Add ROLE for USER in GROUP. ("Owner", "Admin", "Member")
  • Add SETTINGS for GROUP.
  • CATEGORY (FOLDER?) to allow USER group up his GROUP.
  • MEDIA (RESOURCE?) to store media-files (images, audio, video, files etc.)

@JaoodxD
Copy link
Author

JaoodxD commented Nov 17, 2023

  • Relation between messages (MESSAGE) should be one-to-many

@JaoodxD
Copy link
Author

JaoodxD commented Nov 24, 2023

  • MESSAGE should be related to GROUP.
  • Rename CONFIG to SETTINGS to prevent misunderstanding as CONFIG can be related to server configs.
  • Add ROLE for USER in GROUP. ("Owner", "Admin", "Member")
  • Add SETTINGS for GROUP.
  • CATEGORY (FOLDER?) to allow USER group up his GROUP.
  • MEDIA (RESOURCE?) to store media-files (images, audio, video, files etc.)
  • Done
  • Relation between messages (MESSAGE) should be one-to-many
  • Done

@JaoodxD
Copy link
Author

JaoodxD commented Nov 24, 2023

  1. Relation between MESSAGE and GROUP should be many-to-one.
  2. Split SETTINGS INTO USER_SETTINGS and GROUP_SETTINGS.
  3. Fix MEDIA should be relateed to MESSAGE instead of GROUP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Designing basic models
1 participant