Django keeps migrating the same foreign key
问题 I am importing an existing database into it's own Django project. I have generated the initial models from the database, via inspectdb , and am enabling Django to control each table one at a time by commenting the managed=False lines in the table meta settings. I've started with the simple models and am hitting a snag when enabling tables with foreign keys. Django keeps generating the same migration for the foreign key DocTagID and I'm not sure why it is doing so ? The table in question is