From df5fd9ba3a054659589fd1711a06323a508cb5d8 Mon Sep 17 00:00:00 2001 From: Shadi Naif Date: Mon, 8 Apr 2024 15:26:58 +0300 Subject: [PATCH] fix: Data too long for column 'resource_id' when the course id is a little bit long, the lti xblock id becomes too long for resource_id to handle --- CHANGELOG.rst | 7 ++++++- lti_consumer/__init__.py | 2 +- .../0018_increase_length_of_resource_id.py | 18 ++++++++++++++++++ lti_consumer/models.py | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 lti_consumer/migrations/0018_increase_length_of_resource_id.py diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 77512030..0a47cc5d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,6 +16,11 @@ Please See the `releases tab