I'm new to Django but one concern I'm running into is whether running makemigrations
as part of the production deployment process is safe/deterministic?
The main reason is some 3rd party apps will create new migrations beyond the pre-defined ones, i.e. hordak for example, when a new currency is added via CURRENCIES
in settings.py
.
Since a currency can be added anytime later and these are part of an 3rd party app the migrations are not checked in to the repo.
This requires makemigrations
to be run on deploy? This seems dangerous since there will be untraceable changes to the DB?
- Is a way to explicitly check-in to the repo 3rd party migrations?