fix(sqlserver): support primary key edits in structure editor

This commit is contained in:
YingNing authored and GitHub committed 2026-09-30 20:24:01 +08:00
1 parent c9e8ee53f7
commit a55466f578
6 files changed
+121 -23

No files matched your search

@@ -186,6 +186,9 @@ const sqlserverCapabilities = capabilities({
indexInclude: true,
indexFilter: true,
indexComment: true,
// T-SQL: ALTER TABLE ... DROP CONSTRAINT <name> / ADD [CONSTRAINT name] PRIMARY KEY (...);
// the backend drops the persisted constraint by its index-metadata name (issue #10758).
alterPrimaryKey: true,
});
const oracleCompatibleCapabilities = capabilities({