fix(tabs): reuse data tabs only for the same table
This commit is contained in:
16 files changed
+115
-23
No files matched your search
@@ -221,6 +221,10 @@ describe("query execution schema", () => {
|
||||
});
|
||||
|
||||
describe("object tree node schema", () => {
|
||||
it("ignores database-shaped schema metadata for MySQL tables", () => {
|
||||
expect(connectionObjectTreeNodeSchema({ db_type: "mysql" }, "app", "app")).toBeUndefined();
|
||||
});
|
||||
|
||||
it("uses the SQLite database alias to qualify attached tables", () => {
|
||||
expect(connectionObjectTreeNodeSchema({ db_type: "sqlite" }, "analytics")).toBe("analytics");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user