fix(kingbase): list schema triggers with parent tables

Closes #6707
This commit is contained in:
t8y2 committed 2026-08-19 11:24:56 +00:00
1 parent e61bd75c72
commit 4c38b389ce
9 files changed
+345 -30

No files matched your search

@@ -62,6 +62,12 @@ describe("databaseObjectCapabilities", () => {
}
});
it("exposes schema triggers for Kingbase without widening Vastbase", () => {
expect(sidebarObjectKindsForDatabase("kingbase")).toContain("TRIGGER");
expect(databaseObjectCapabilities("kingbase").sourceReadable).toContain("TRIGGER");
expect(sidebarObjectKindsForDatabase("vastbase")).not.toContain("TRIGGER");
});
it("only Xugu TYPE nodes can open object source", () => {
expect(supportsTypeObjectSource("xugu")).toBe(true);
for (const dbType of ["postgres", "opengauss", "gaussdb", "kingbase", "vastbase", undefined] as const) {