Removal of CASCADE in DROP COLUMN migration operation
Created based on discussion in https://forum.djangoproject.com/t/removefield-dropping-views-without-notice/31409
Arguments:
- Consistency acrocss backends. Cascade is used for postgres backend only.
- Cascade is no more needed as constraints and sequences are dropped explicitly. Next, sequences are being replaced by new identity columns.
- No side effects - unexpected removals in DB schema.
- Test suite is passing after cascade removal.
Has patch: |
set
|
Patch needs improvement: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → Cleanup/optimization
|
Version: |
5.0 → dev
|
Patch needs improvement: |
unset
|
Needs tests: |
set
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Owner: |
changed from nobody to Petr Přikryl
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
I have prepared PR: https://github.com/django/django/pull/18209