RenameModel with db_table should be a noop.
A RenameModel operation that already has db_table defined must be a noop.
In Postgres, it drops and recreates foreign key constraints. In sqlite it recreates the table (as expected for a table renaming).
Change History
(9)
Owner: |
changed from nobody to Iuri de Silvio
|
Status: |
new → assigned
|
Has patch: |
set
|
Summary: |
RenameModel with db_table recreate constraints. → RenameModel with db_table should be a noop.
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Bug → Cleanup/optimization
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Has patch: |
unset
|
Resolution: |
fixed → wontfix
|
Triage Stage: |
Ready for checkin → Unreviewed
|
PR