ixc / ixc-django-docker

Scripts and config files that make it easier to run Django projects consistently with and without Docker.
5 stars 1 forks source link

migrate.sh skips migrations across environment #2

Closed jmurty closed 7 years ago

jmurty commented 7 years ago

The migrate.sh script now uses redis-cache.py to check whether migrations have already been run by another server/container within a eployment environment.

Already-run migrations are flagged by Redis having a cached migration listing that exactly matches the locally generated one.