Skip to content

Commit

Permalink
Add lms_api_course_id to the LMSCourse model
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Jan 8, 2025
1 parent 315c0cf commit 14179c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lms/models/lms_course.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down

0 comments on commit 14179c2

Please sign in to comment.