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

Create courses_planned table in postgresql and have it returned in getStudentData #25

Open
farkam135 opened this issue Oct 25, 2017 · 0 comments
Assignees

Comments

@farkam135
Copy link
Owner

Create a courses_planned table in postgresql that has 2 columns, the hashed id, and the course code of the planned course. There should be 2 helper functions in myrmeydb.js, a get planned courses which pulls the course codes and runs a searchSchedule on them to get the full course object and a delete planned course which takes a hashed id and course code and removes it from the db table. This should then be called in getStudentData in server.js and added to the courses object under key 'planned'.

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