fix(oceanbase): preserve partition DDL and toggle storage options
This commit is contained in:
1 parent
8eba12ea2f
commit
fe0dd02f2b
36 files changed
+870
-125
No files matched your search
@@ -6608,34 +6608,34 @@ export const useConnectionStore = defineStore("connection", () => {
|
||||
children: [],
|
||||
});
|
||||
}
|
||||
if (supportsXuguChildMetadata) {
|
||||
children.push(
|
||||
{
|
||||
id: `${parentId}:__table-partitions`,
|
||||
label: "tree.partitions",
|
||||
type: "group-table-partitions",
|
||||
connectionId,
|
||||
database,
|
||||
schema,
|
||||
catalog,
|
||||
tableName: table,
|
||||
isExpanded: false,
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
id: `${parentId}:__table-subpartitions`,
|
||||
label: "tree.subpartitions",
|
||||
type: "group-table-subpartitions",
|
||||
connectionId,
|
||||
database,
|
||||
schema,
|
||||
catalog,
|
||||
tableName: table,
|
||||
isExpanded: false,
|
||||
children: [],
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
if (supportsXuguChildMetadata || effectiveDbType === "oceanbase-oracle") {
|
||||
children.push(
|
||||
{
|
||||
id: `${parentId}:__table-partitions`,
|
||||
label: "tree.partitions",
|
||||
type: "group-table-partitions",
|
||||
connectionId,
|
||||
database,
|
||||
schema,
|
||||
catalog,
|
||||
tableName: table,
|
||||
isExpanded: false,
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
id: `${parentId}:__table-subpartitions`,
|
||||
label: "tree.subpartitions",
|
||||
type: "group-table-subpartitions",
|
||||
connectionId,
|
||||
database,
|
||||
schema,
|
||||
catalog,
|
||||
tableName: table,
|
||||
isExpanded: false,
|
||||
children: [],
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user