Closed tbicr closed 5 months ago
When column or table dropped it also drop with cascade related constraints as foreign keys, index constraints and regular indexes.
Assume that next operations take some time:
Lets consider possible scenarios:
table1 has FK to table2 and we drop any of this tables
table1 has FK to table2 and we drop any column in this relation
table has index or index constraint on column we drop
See also https://github.com/tbicr/django-pg-zero-downtime-migrations/issues/25
When column or table dropped it also drop with cascade related constraints as foreign keys, index constraints and regular indexes.
Assume that next operations take some time:
Lets consider possible scenarios:
table1 has FK to table2 and we drop any of this tables
table1 has FK to table2 and we drop any column in this relation
table has index or index constraint on column we drop
See also https://github.com/tbicr/django-pg-zero-downtime-migrations/issues/25