From f6a8b98a2a7b179e3f9c5d305849d6f4fedfc759 Mon Sep 17 00:00:00 2001 From: qasimguzlar Date: Mon, 4 Nov 2024 13:21:00 +0500 Subject: [PATCH] fix: migrations to make it compatible with mysql and postgresql --- lti_consumer/migrations/0009_backfill-empty-string-config-id.py | 2 +- .../migrations/0010_backfill-empty-string-lti-config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lti_consumer/migrations/0009_backfill-empty-string-config-id.py b/lti_consumer/migrations/0009_backfill-empty-string-config-id.py index 30f6a9ea..fbc5b85e 100644 --- a/lti_consumer/migrations/0009_backfill-empty-string-config-id.py +++ b/lti_consumer/migrations/0009_backfill-empty-string-config-id.py @@ -27,7 +27,7 @@ FROM lti_consumer_lticonfiguration WHERE - config_id = "" + config_id = '00000000-0000-0000-0000-000000000000' ;\ """ diff --git a/lti_consumer/migrations/0010_backfill-empty-string-lti-config.py b/lti_consumer/migrations/0010_backfill-empty-string-lti-config.py index a3773d74..1d8f8041 100644 --- a/lti_consumer/migrations/0010_backfill-empty-string-lti-config.py +++ b/lti_consumer/migrations/0010_backfill-empty-string-lti-config.py @@ -27,7 +27,7 @@ FROM lti_consumer_lticonfiguration WHERE - lti_config = "" + lti_config = '00000000-0000-0000-0000-000000000000' ;\ """