feat: import table data from files

This commit is contained in:
SuLea-IT committed 2026-05-02 19:04:41 +08:00
1 parent 608a02a0bb
commit 2ebd72b3b7
15 files changed
+1448 -9

No files matched your search

+2
View File
@@ -20,6 +20,7 @@ export const useConnectionStore = defineStore("connection", () => {
const schemaDiffSource = ref<{ connectionId: string; database: string } | null>(null);
const sqlFileSource = ref<{ connectionId: string; database: string } | null>(null);
const diagramSource = ref<{ connectionId: string; database: string; schema?: string; tableName?: string } | null>(null);
const tableImportSource = ref<{ connectionId: string; database: string; schema?: string; tableName: string } | null>(null);
function startEditing(id: string) {
editingConnectionId.value = id;
@@ -657,5 +658,6 @@ export const useConnectionStore = defineStore("connection", () => {
schemaDiffSource,
sqlFileSource,
diagramSource,
tableImportSource,
};
});