lecture-attendance-manager/db/migrate
Joshua Coles 58c1280309 Update Lecture-Recording relationship and add Lecture cancellation status
The commit introduces notable changes to the Lecture-Recording model relationship in our application and adds a new cancellation status to Lecture model.

Models Lecture and Recording previously had a belongs_to :recording and belongs_to :lecture relationship respectively. However, this setup was not reflecting the correct relationship between these two entities in the actual educational setup where a lecture can have a recording but a recording is always of a lecture. Thus, the relationship has been revised to has_one :recording in Lecture and belongs_to :lecture in Recording models.

Also, added the ability to mark a lecture as "cancelled". This addresses the requirement of representing real-world scenarios where lectures are sometimes cancelled. This cancellation status is then reflected in the Attendance Tracker view and is also handled in the ScrapePanoptoJob.

Additionally, new changes are reflected in the application's schema, migration files, admin dashboard, and stylesheets (for displaying cancelled lectures).
2023-10-02 09:47:46 +01:00
..
20230929171214_create_lectures.rb Create lecture model 2023-09-29 18:14:31 +01:00
20230929171730_create_courses.rb Create course model 2023-09-29 18:18:03 +01:00
20230929171856_add_course_id_to_lectures.rb Make lectures belong to courses 2023-09-29 18:20:43 +01:00
20230929181725_make_lecture_recording_id_unique.rb Initial work for import from panopto 2023-09-29 19:19:03 +01:00
20230929184126_add_default_status_to_lecture.rb Scraping work 2023-09-29 19:54:03 +01:00
20230929195745_add_associated_toggl_entry_to_lecture.rb Add toggl scraping 2023-09-29 21:06:33 +01:00
20230929200245_change_toggl_entry_id_to_string.rb Add toggl scraping 2023-09-29 21:06:33 +01:00
20230929201207_create_attendances.rb Rephrase toggl scraping in term of attendances 2023-09-29 21:19:43 +01:00
20230929201903_remove_toggl_entry_id_from_lecture.rb Rephrase toggl scraping in term of attendances 2023-09-29 21:19:43 +01:00
20231001161500_create_recordings.rb Stash 2023-10-01 17:34:41 +01:00
20231001163055_add_recording_id_to_lecture.rb Stash 2023-10-01 17:34:41 +01:00
20231001165128_add_semester_start_date_to_course.rb Fix week numbering being off by one and add custom semester starts per module 2023-10-01 17:57:03 +01:00
20231001180954_update_lecture_properties.rb Update lecture properties and various migration changes 2023-10-01 19:44:20 +01:00
20231001183712_change_recording_start_time_type.rb Update lecture properties and various migration changes 2023-10-01 19:44:20 +01:00
20231001191113_change_lecture_recording_ownership_relation.rb Update Lecture-Recording relationship and add Lecture cancellation status 2023-10-02 09:47:46 +01:00
20231002083755_add_cancelled_status_to_lecture.rb Update Lecture-Recording relationship and add Lecture cancellation status 2023-10-02 09:47:46 +01:00