Skip to content

Commit

Permalink
Merge pull request #444 from okfn/revert-migration-workaround
Browse files Browse the repository at this point in the history
Revert "Temp fix to apply migrations correctly to staging/prod DBs"
  • Loading branch information
chris48s committed Aug 25, 2020
2 parents 7ab3d8b + efefdbb commit 49d8aea
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 49d8aea

Please sign in to comment.