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

Consider storing all fetched attributes in the DB #50

Open
mconf-daileon opened this issue May 4, 2016 · 0 comments
Open

Consider storing all fetched attributes in the DB #50

mconf-daileon opened this issue May 4, 2016 · 0 comments

Comments

@mconf-daileon
Copy link


Author Name: Leonardo Daronco (Leonardo Daronco)
Original Redmine Issue: 154, http://dev.mconf.org/redmine/issues/154


@google user: [email protected]@

Consider if all the information fetched from a BBB server should be saved in the DB or not. Some of this information is stored only in instance variables in the models, so they are lost between requests. Saving them is the only way to fully compare models between two requests.

  • For rooms the attributes are: running, participant_count, moderator_count, attendees, has_been_forcibly_ended, start_time, end_time.
  • Servers have only the attribute "meetings", but it is already saved as BigbluebuttonRoom's models.

There are some complications in saving "attendees", since they are objects with their own attributes. It would require another table for attendees and the setting up of the relationship between attendees and rooms.

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

No branches or pull requests

1 participant