Skip to content

Commit

Permalink
Revert "Temp fix to apply migrations correctly to staging/prod DBs"
Browse files Browse the repository at this point in the history
This reverts commit 2349226.

Now that we've applied this to the staging and
production DBs we can revert this wokaround.
  • Loading branch information
chris48s committed Aug 25, 2020
1 parent 7ab3d8b commit efefdbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Expand Up @@ -36,8 +36,4 @@ EXPOSE $PORT

RUN python manage.py collectstatic --noinput

CMD python manage.py migrate cms 0016 --settings foundation.temp_migration_settings &&\
python manage.py migrate easy_thumbnails &&\
python manage.py migrate &&\
python manage.py update_index &&\
/usr/bin/supervisord
CMD python manage.py migrate && python manage.py update_index && /usr/bin/supervisord
3 changes: 0 additions & 3 deletions foundation/temp_migration_settings.py

This file was deleted.

0 comments on commit efefdbb

Please sign in to comment.