固定。
对于将来遇到此问题的人:
- 从数据库中删除所有links_ *表(应用程序称为“链接”)
通过执行以下操作,删除“链接”应用程序的所有迁移:
from django.db.migrations.recorder import MigrationRecorder
MigrationRecorder.Migration.objects.filter(app=’links’).delete()
向前迁移
manage.py migrate

固定。
对于将来遇到此问题的人:
通过执行以下操作,删除“链接”应用程序的所有迁移:
from django.db.migrations.recorder import MigrationRecorder
MigrationRecorder.Migration.objects.filter(app=’links’).delete()
向前迁移
manage.py migrate