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

Add "meta" type tables for imported data #70

Open
JustZack opened this issue May 12, 2024 · 0 comments
Open

Add "meta" type tables for imported data #70

JustZack opened this issue May 12, 2024 · 0 comments

Comments

@JustZack
Copy link
Owner

JustZack commented May 12, 2024

A place to record values about something in the cache table. these tables could dynamically update instead of all at once.

E.G. The table `MembersMeta" records metadata about members, like:

  • Total bills cosponsored (From BillCosponsors)
  • Total bills sponsored (From Bills)
  • Total Terms (From MemberTerms)
  • Total Votes (From MemberVotes < table does not exist yet)
  • State (From MemberTerms (current/last term))
  • Current (or last) Term (From MemberTerms (current/last term))

Would ensure DB resources aren't tied up by something that never changes.

Using Views for this is probably best. Definitely implement into the Schema enforcer.

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

No branches or pull requests

1 participant