From f56c6b44416afdeab3c1be0826469e834daf3c44 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Wed, 8 Jan 2025 12:16:57 +0100 Subject: [PATCH] Add lms_api_course_id to the LMSCourse model --- lms/models/lms_course.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lms/models/lms_course.py b/lms/models/lms_course.py index 7a5dd124a9..fd6e319bcf 100644 --- a/lms/models/lms_course.py +++ b/lms/models/lms_course.py @@ -36,6 +36,11 @@ class LMSCourse(CreatedUpdatedMixin, Base): lti_context_id: Mapped[str] = mapped_column(index=True) """ID of this course in the LMS, via LTI. "Context"" is using the LTI nomenclature.""" + lms_api_course_id: Mapped[str | None] = mapped_column() + """ + ID of the course in the propietary LMS API. + """ + h_authority_provided_id: Mapped[str] = mapped_column(unique=True, index=True) """The Group.authority_provided_id value in H. This is calculated hashing tool_consumer_instance_guid and lti_context_id together."""