Merge pull request #49 from SuLea-IT/codex/sql-file-execution

Add SQL file execution workflow
This commit is contained in:
skyler
2026-05-02 09:47:33 +08:00
committed by GitHub
11 changed files with 1914 additions and 22 deletions
+2
View File
@@ -18,6 +18,7 @@ export const useConnectionStore = defineStore("connection", () => {
const completionColumnsCache = ref<Record<string, ColumnInfo[]>>({});
const transferSource = ref<{ connectionId: string; database: string } | null>(null);
const schemaDiffSource = ref<{ connectionId: string; database: string } | null>(null);
const sqlFileSource = ref<{ connectionId: string; database: string } | null>(null);
function startEditing(id: string) {
editingConnectionId.value = id;
@@ -653,5 +654,6 @@ export const useConnectionStore = defineStore("connection", () => {
importConnectionsFromFile,
transferSource,
schemaDiffSource,
sqlFileSource,
};
});