Changes between Version 2 and Version 3 of Ticket #29854
- Timestamp:
- Oct 17, 2018, 2:03:44 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29854 – Description
v2 v3 80 80 My investigation: 81 81 82 In function BaseDatabaseSchemaEditor._alter_field(), the function call _related_non_m2m_objects(old_field, new_field) will return inconsistent "old" and "new" related_objects pairs , and generate wrong SQL command to alter foreign keys.82 In function BaseDatabaseSchemaEditor._alter_field(), the function call _related_non_m2m_objects(old_field, new_field) will return inconsistent "old" and "new" related_objects pairs (the model order is different), and generate wrong SQL command to alter foreign keys.