Changes between Version 1 and Version 2 of Ticket #22432, comment 7
- Timestamp:
- May 8, 2014, 10:15:41 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22432, comment 7
v1 v2 1 1 I 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`. 2 2 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`.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 constraint on the M2M table had changed to point to `bar`, along with its column name.