fix(oracle): export portable table DDL
This commit is contained in:
13 files changed
+241
-30
No files matched your search
@@ -75,7 +75,7 @@ export function useSidebarTreeExportRuntime(options: SidebarTreeExportRuntimeOpt
|
||||
const parts: string[] = [];
|
||||
for (const target of targets) {
|
||||
await connectionStore.ensureConnected(target.connectionId);
|
||||
const ddl = await api.getTableDdl(target.connectionId, target.database, target.schema || target.database, target.label, tableDdlObjectTypeForNode(target.type), target.catalog);
|
||||
const ddl = await api.getTableDdl(target.connectionId, target.database, target.schema || target.database, target.label, tableDdlObjectTypeForNode(target.type), target.catalog, true);
|
||||
parts.push(ddl.trim());
|
||||
}
|
||||
structurePreviewSql.value = joinExportedDdls(parts);
|
||||
|
||||
Reference in new issue
Block a user