Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix: export McpKeychainAccess type and format dialect capabilities

t8y2614fcc3c4d6c
diff --git a/apps/desktop/src/lib/backend/api.ts b/apps/desktop/src/lib/backend/api.ts
index b80dcbf84c..2a9f39b7ea 100644
--- a/apps/desktop/src/lib/backend/api.ts
+++ b/apps/desktop/src/lib/backend/api.ts
@@ -1203,6 +1203,7 @@ export type {
GlobalSearchRequest,
GlobalSearchMatch,
GlobalSearchSettings,
+ McpKeychainAccess,
} from "@/lib/backend/tauri";
// MQTT
diff --git a/crates/dbx-sql-schema/src/table_structure_sql/dialect.rs b/crates/dbx-sql-schema/src/table_structure_sql/dialect.rs
index 0b7accfa67..6e712d41e8 100644
--- a/crates/dbx-sql-schema/src/table_structure_sql/dialect.rs
+++ b/crates/dbx-sql-schema/src/table_structure_sql/dialect.rs
@@ -149,19 +149,17 @@ pub(super) fn capabilities_for(
},
// GBase 8s is Informix-compatible, unlike GBase 8a (`Gbase`), which speaks
// the MySQL wire protocol and SQL dialect.
- Some(DatabaseType::Gbase8s) => {
- TableStructureCapabilities {
- dialect: StructureDialect::Informix,
- add_column: true,
- drop_column: true,
- rename_column: true,
- alter_existing_column: true,
- create_index: true,
- drop_index: true,
- rebuild_index: true,
- ..base
- }
- }
+ Some(DatabaseType::Gbase8s) => TableStructureCapabilities {
+ dialect: StructureDialect::Informix,
+ add_column: true,
+ drop_column: true,
+ rename_column: true,
+ alter_existing_column: true,
+ create_index: true,
+ drop_index: true,
+ rebuild_index: true,
+ ..base
+ },
Some(DatabaseType::Gbase) => TableStructureCapabilities {
dialect: StructureDialect::Mysql,
add_column: true,