create migration in django of model code example
Example 1: how to create migrations in django
//to create migration files
python manage.py makemigrations
//to migrate migration files
python manage.py migrate
Example 2: django create empty migration
./manage.py makemigrations <app-name> --empty
./manage.py makemigrations --empty