2
Fixed.
For those with this problem in the future:
- Delete all links_* tables from the database (app was called ‘links’)
-
Delete all migrations for the ‘links’ app by doing:
from django.db.migrations.recorder import MigrationRecorder MigrationRecorder.Migration.objects.filter(app='links').delete()
-
Migrated forward with
manage.py migrate
Source:stackexchange.com