Using Django 1.7 migrations.
I accidentally dropped a table in my database. I assumed that by running migration again this would recreate the table but no, Django st
Another solution I've found and works perfectly:
In django 1.7:
Delete your migrations folder
In the database: DELETE FROM django_migrations WHERE app = 'app_name'.
You could alternatively just truncate this table.
python manage.py makemigrations
python manage.py migrate --fake
In django 1.9.5:
Delete your migrations folder
In the database: DELETE FROM django_migrations WHERE app = 'app_name'.
You could alternatively just truncate this table.
python manage.py makemigrations app_name
python manage.py migrate
This works 100% for me!