2👍
✅
There are many ways to create migration. But I will only defined two ways.
//migrate the changes of all models of the app
./manage.py schemamigration app --auto
//migrate only the changes of the given model or 1 model
python manage.py schemamigration app_name extend_modelname --auto
Source:stackexchange.com