When a migration is run, Django stores the name of the migration in a django_migrations table.
Create and Fake initial migrations for existing schema
If your app already has models and database tables, and doesn’t have migrations. First create initial migrations for you app.
python manage.py makemigrations your_app_label
Now fake initial migrations as applied
python manage.py migrate --fake-initial
Fake all migrations in all apps
python manage.py migrate --fake
Fake single app migrations
python manage.py migrate --fake core
Fake single migration file
python manage.py migrate myapp migration_name