Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 34148ac

Browse files
authored
fix: Run CMS migrations on Studio container (for real this time) (#1054)
This is a correction to #1048 (commit 4be6146). I know I had previously tested the change, but I must have had to back out and re-do the change before committing, and got it wrong the second time. -.-
1 parent 6ea4f96 commit 34148ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ $(foreach db_service,$(DB_SERVICES_LIST),\
259259
dev.migrate: | $(_db_migration_targets) ## Run migrations for applicable default services.
260260

261261
dev.migrate.studio:
262-
docker-compose exec -T -u root cms bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms showmigrations --database default --traceback --pythonpath=. --settings devstack_docker'
263-
docker-compose exec -T -u root cms bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms migrate --database default --noinput --traceback --pythonpath=. --settings devstack_docker'
262+
docker-compose exec -T -u root studio bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms showmigrations --database default --traceback --pythonpath=. --settings devstack_docker'
263+
docker-compose exec -T -u root studio bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py cms migrate --database default --noinput --traceback --pythonpath=. --settings devstack_docker'
264264

265265
dev.migrate.lms:
266266
docker-compose exec -T -u root lms bash -e -c '/edx/app/edxapp/venvs/edxapp/bin/python manage.py lms showmigrations --database default --traceback --pythonpath=. --settings devstack_docker'

0 commit comments

Comments
 (0)