From 5df08af0e9358028b9b5f4b51572de1c0fa5c521 Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Wed, 1 Nov 2023 15:13:19 +0500 Subject: [PATCH] build: capturing new migrations. --- .github/workflows/capture_new_migrations.yml | 4 +++- openedx/core/djangoapps/credit/models.py | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index 8ea69efdcc75..23de46be09a7 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -156,8 +156,10 @@ jobs: STUDIO_CFG: lms/envs/minimal.yml run: | echo "Running the LMS migrations." + ./manage.py lms makemigrations ./manage.py lms migrate social_django -# echo "Running the CMS migrations." + echo "Running the CMS migrations." + ./manage.py cms makemigrations # ./manage.py cms migrate - name: Verify executed migrations on branch. diff --git a/openedx/core/djangoapps/credit/models.py b/openedx/core/djangoapps/credit/models.py index 2a9fa2088551..f29f5a5a02a5 100644 --- a/openedx/core/djangoapps/credit/models.py +++ b/openedx/core/djangoapps/credit/models.py @@ -141,6 +141,11 @@ class CreditProvider(TimeStampedModel): ) ) + display_name_testing = models.CharField( + max_length=255, + help_text=gettext_lazy("Name of the credit provider displayed to users") + ) + CREDIT_PROVIDERS_CACHE_KEY = "credit.providers.list" @classmethod