Changes between Version 1 and Version 2 of Ticket #22432, comment 7


Ignore:
Timestamp:
May 8, 2014, 10:15:41 PM (11 years ago)
Author:
Andrew Godwin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22432, comment 7

    v1 v2  
    11I cannot replicate this locally - the foreign key is correctly repointed - and we even have a test for this, it turns out, in `schema.tests.SchemaTests.test_m2m_repoint`.
    22
    3 Could the reporter or other contributors please try and replicate and tell me their results? I followed the bmispelon's reproduction notes - made the three models, changed the field to `models.ManyToManyField(Bar)`, ran makemigrations and migrate, and voila, the foreign key had changed to point to `bar`.
     3Could the reporter or other contributors please try and replicate and tell me their results? I followed the bmispelon's reproduction notes - made the three models, changed the field to `models.ManyToManyField(Bar)`, ran makemigrations and migrate, and voila, the foreign key constraint on the M2M table had changed to point to `bar`, along with its column name.
Back to Top