schemachanger: Support DROP INDEX
with dependent FK constraint
#96731
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
If we were to drop a unique secondary index cascade and this unique index backed a FK constraint
in the referenced table, we should drop the index and the FK constraint. Presently, the declarative schema
changer just fallback. Now that we have supported dropping FK constraint, we should be able to support
this in the declarative schema changer.
Jira issue: CRDB-24297
The text was updated successfully, but these errors were encountered: