Skip to content

Commit

Permalink
Model changes to add LMSUser.lms_api_user_id
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Nov 29, 2024
1 parent 940e12d commit e6fd6be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lms/models/lms_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ class LMSUser(CreatedUpdatedMixin, Base):
In those cases lti_user_id will be the 1.1 value and we'll store here the 1.3 version.
"""

lms_api_user_id: Mapped[str | None] = mapped_column()
"""
ID of the user in the propietary LMS API.
"""

h_userid: Mapped[str] = mapped_column(unique=True, index=True)
"""The userid value in H. This is calculated hashing tool_consumer_instance_guid and lti_user_id together."""

Expand Down

0 comments on commit e6fd6be

Please sign in to comment.