fix(sqlserver): support primary key edits in structure editor
This commit is contained in:
1 parent
c9e8ee53f7
commit
a55466f578
6 files changed
+121
-23
No files matched your search
@@ -102,6 +102,10 @@ describe("tableStructureCapabilities", () => {
|
||||
addPrimaryKey: true,
|
||||
alterPrimaryKey: false,
|
||||
});
|
||||
expect(getTableStructureCapabilities("sqlserver", "sqlserver")).toMatchObject({
|
||||
addPrimaryKey: true,
|
||||
alterPrimaryKey: true,
|
||||
});
|
||||
for (const databaseType of ["oceanbase-oracle", "iris"] as const) {
|
||||
expect(getTableStructureCapabilities(databaseType, databaseType)).toMatchObject({
|
||||
addPrimaryKey: false,
|
||||
|
||||
Reference in new issue
Block a user