feat: add table structure editor
This commit is contained in:
1 parent
b335aacdba
commit
f09d1b0973
10 files changed
+1152
-1
No files matched your search
@@ -21,6 +21,7 @@ export const useConnectionStore = defineStore("connection", () => {
|
||||
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);
|
||||
const structureEditorSource = ref<{ connectionId: string; database: string; schema?: string; tableName: string } | null>(null);
|
||||
|
||||
function startEditing(id: string) {
|
||||
editingConnectionId.value = id;
|
||||
@@ -659,5 +660,6 @@ export const useConnectionStore = defineStore("connection", () => {
|
||||
sqlFileSource,
|
||||
diagramSource,
|
||||
tableImportSource,
|
||||
structureEditorSource,
|
||||
};
|
||||
});
|
||||
Reference in new issue
Block a user