Migrations help you to confidently make changes to your models. Introduced in Django 1.7, migrations are an essential and easy-to-use parts of a development workflow.
The new workflow is essentially as follows:
python manage.py makemigrations <app_label>
app/migrations
folder.i
n the same (development) environment:python manage.py migrate <app_label>
This will apply the model changes to the database. Sometimes, questions are asked to handle the default values, renaming, and so on.
python manage.py migrate <app_label>
If you omit the app label in the commands, Django will find unapplied changes in every app and migrate them.