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

Commit

Permalink
chore: Remove reference to paver update_db. (#1118)
Browse files Browse the repository at this point in the history
We are planning on deprecating this method,
and this piece of code has been commented out
for a while anyway.
  • Loading branch information
dianakhuang authored Jul 12, 2023
1 parent ebabced commit 9e8b7c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions provision-lms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ for app in "${apps[@]}"; do
done

# Run edxapp migrations first since they are needed for the service users and OAuth clients
# docker-compose exec -T lms bash -e -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && paver update_db --settings devstack_docker'

docker-compose exec -T lms bash -e -c 'source /edx/app/edxapp/edxapp_env && /edx/app/edxapp/venvs/edxapp/bin/python /edx/app/edxapp/edx-platform/manage.py lms showmigrations --database default --traceback --pythonpath=. --settings devstack_docker'
docker-compose exec -T lms bash -e -c 'source /edx/app/edxapp/edxapp_env && /edx/app/edxapp/venvs/edxapp/bin/python /edx/app/edxapp/edx-platform/manage.py lms migrate --database default --noinput --traceback --pythonpath=. --settings devstack_docker'
docker-compose exec -T lms bash -e -c 'source /edx/app/edxapp/edxapp_env && /edx/app/edxapp/venvs/edxapp/bin/python /edx/app/edxapp/edx-platform/manage.py lms showmigrations --database student_module_history --traceback --pythonpath=. --settings devstack_docker'
Expand Down

0 comments on commit 9e8b7c8

Please sign in to comment.