Question: I am trying to do a migration in django 2.2.4 in python 3.7.
First I try to make do makemigations:

```
python3 manage.py makemigrations

```

I get:

```
Migrations for 'main':
  main/migrations/0001_initial.py
    - Create model TutorialCategory
    - Create model TutorialSeries
    - Create model Tutorial

```

But then I try the second step:

```
python3 manage.py migrate

```

I get:

```
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, main, sessions
Running migrations:
  No migrations to apply.

```

Even though a migration should happen.

I tried deleting my migrations folder and then remaking it (with the empty `__init__.py` file inside) but it still doesn't work.

(Note: I have been following along the tutorial: Linking models with Foreign Keys - Django Web Development with Python p.9 by sentdex)

Answer: 
I faced the same problem in django 2.2, The following worked for me...

1. delete the migrations folder resided inside the app folder
2. delete the pycache folder too
3. restart the server [if your server is on and you are working from another cli]
4. `python manage.py makemigrations <app_name> zero`
5. `python manage.py makemigrations <app_name>` [explicit app\_name is important]
6. `python manage.py migrate`
1. w/in the app directory I deleted the `pycache` and `migrations` folders,
2. from `django.migrations` tables I deleted all rows like this for PostgreSQL

```
DELETE FROM public.django_migrations
WHERE public.django_migrations.app = 'target_app_name';

```
3. To delete any app tables already created for the tables to be created from scratch.