Opened 10 hours ago
Last modified 3 hours ago
#36803 assigned Cleanup/optimization
Make AlterField a no-op when ManyToManyField's through.db_table remains the same between renames.
| Reported by: | Clifford Gama | Owned by: | Clifford Gama |
|---|---|---|---|
| Component: | Migrations | Version: | 6.0 |
| Severity: | Normal | Keywords: | AlterField, no-op, ManyToManyField |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
As suggested by Simon. Similar to f05cc5e3d2ae7663dbd248029bcb74500cf1029f (for db_table on foreign keys) and #31825 for db_columns.
Change History (2)
comment:1 by , 3 hours ago
| Component: | Database layer (models, ORM) → Migrations |
|---|
comment:2 by , 3 hours ago
| Triage Stage: | Unreviewed → Accepted |
|---|
Note:
See TracTickets
for help on using tickets.
Thanks. #33197 is another similar fixed ticket.