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 more class metadata to the database #200

Open
aryarm opened this issue Aug 16, 2020 · 1 comment
Open

add more class metadata to the database #200

aryarm opened this issue Aug 16, 2020 · 1 comment

Comments

@aryarm
Copy link
Member

aryarm commented Aug 16, 2020

While implementing #187, I realized that there was a lot of helpful course information from Hyperschedule that our database currently can not store.

  1. course code
    this could be useful for figuring out whether we already imported a course via Hyperschedule, since some courses can have different course codes but the same name
  2. course description
  3. course instructor name(s) (related: see resource teacher attribute #128)
    Currently, we only store the course name. But we should consider storing this information in our database, too.
@aryarm
Copy link
Member Author

aryarm commented Aug 16, 2020

The only challenge is that not all classes will have this information. Only the "course" classes will have it (ie the classes that represent physical courses and not departments or modules within a course).
So maybe the best way to do this is to actually create a separate table for "course" classes. And then create a foreign ID on the classes table that references the "course" it belongs to? The foreign ID can be null for classes that aren't "course" classes.

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