Skip to content

Commit

Permalink
build: capturing new migrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Nov 1, 2023
1 parent 6172e08 commit 5df08af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions openedx/core/djangoapps/credit/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5df08af

Please sign in to comment.