Файли
openidea/src
Bert Verhelstтаbertyhell 8776bf536f feat(database): add and drop keys and indexes from Modify Table (#6578)
Modify Table can change an existing table's primary key, add and drop unique keys, and create and drop indexes, each statement shown in the Preview. The index catalog query now marks the indexes that enforce a primary or unique key (DbIndexInfo.key), so they are listed under Keys and dropped with their constraint instead of a drop index the server rejects. Engines that cannot express a change don't offer it (SQLite: indexes only; Snowflake: primary key only). Existing keys and indexes are kept or dropped, not edited. The tree's Drop of a SQL Server index now emits drop index ix on schema.table.

Part of #6307

Co-authored-by: bertyhell <[email protected]>
2026-11-28 04:19:28 +08:00
..
2026-10-22 18:55:10 +08:00