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

🧐 Fix remaining sync issues, adjust schema #58

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

haydenmc
Copy link
Member

@haydenmc haydenmc commented Nov 12, 2023

This change resolves remaining issues introduced by #57 and #53.

The schema has had some slight adjustments made necessary by changes to MyPurdue as well as breaking changes to the database library detailed here:

  • Capacity, Enrolled, RemainingSpace, WaitListCapacity, WaitListCount, and WaitListSpace are no longer available on Section. Recent changes to MyPurdue have made it not feasible to synchronize these values. This is tracked in No unauthenticated information source for capacity, enrolled, remaining space, and wait lists #56 for a potential future solution.
  • StartDate/EndDate on Meeting, Section, and Term is now stored as DateOnly objects, and may be null
  • StartTime on Meeting is stored as a TimeOnly object, and may be null
  • All dates and times are local time with no offset or time zone information.

Some offline conversion tables were introduced for pieces of information CatalogSync no longer has access to, such as campus/building short codes. Tracked in #54 and #55 for potential future solutions.

@haydenmc haydenmc changed the title Attempt to fix PostgreSQL crash 🧐 Fix remaining sync issues Nov 14, 2023
@haydenmc haydenmc changed the title 🧐 Fix remaining sync issues 🧐 Fix remaining sync issues, adjust schema Nov 14, 2023
@haydenmc haydenmc marked this pull request as ready for review November 14, 2023 01:19
@haydenmc haydenmc merged commit 2014d2d into main Nov 14, 2023
1 check passed
@haydenmc haydenmc deleted the attempt-to-fix-psql-crash branch November 14, 2023 01:20
haydenmc added a commit to Purdue-io/Browser that referenced this pull request Nov 14, 2023
This change updates the browser front-end to work with the changes
introduced to the Purdue.io API here:
Purdue-io/PurdueApi#58
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.

1 participant