fix(h2): add H2 to TREE_SCHEMA_TYPES for correct sidebar structure

H2 uses schemas (PUBLIC) so the sidebar needs the schema layer to
generate correct qualified table names in SQL queries.
This commit is contained in:
t8y2
2026-05-13 20:56:01 +08:00
parent 7f19a0376a
commit 3803a20d9e
+1
View File
@@ -117,6 +117,7 @@ export const TREE_SCHEMA_TYPES = new Set<DatabaseType>([
"gaussdb",
"jdbc",
"trino",
"h2",
]);
export const PG_LIKE_STRUCTURE_TYPES = new Set<DatabaseType>(["postgres", "redshift", "gaussdb"]);