fix schema not persisting in DB connector

This commit is contained in:
Timothy Carambat
2026-03-11 11:43:38 -07:00
parent 7dd7d57a8f
commit 6713c80f31
2 changed files with 7 additions and 2 deletions

View File

@@ -789,6 +789,7 @@ function mergeConnections(existingConnections = [], updates = []) {
originalDatabaseId,
connectionString,
engine,
schema,
} = update;
switch (action) {
@@ -822,6 +823,7 @@ function mergeConnections(existingConnections = [], updates = []) {
engine,
database_id: newId,
connectionString,
...(schema && { schema }),
});
break;
}
@@ -842,6 +844,7 @@ function mergeConnections(existingConnections = [], updates = []) {
engine,
database_id: slugifiedId,
connectionString,
...(schema && { schema }),
});
break;
}