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: make pre-commit hook executable

t8y2f874d98a9a89
diff --git a/.husky/pre-commit b/.husky/pre-commit
old mode 100644
new mode 100755
diff --git a/crates/dbx-core/src/transfer.rs b/crates/dbx-core/src/transfer.rs
index 15439f1ca7..9b73b0933f 100644
--- a/crates/dbx-core/src/transfer.rs
+++ b/crates/dbx-core/src/transfer.rs
@@ -141,7 +141,11 @@ fn format_pg_array_element(val: &serde_json::Value) -> String {
}
serde_json::Value::Number(n) => n.to_string(),
serde_json::Value::Bool(b) => {
- if *b { "true".to_string() } else { "false".to_string() }
+ if *b {
+ "true".to_string()
+ } else {
+ "false".to_string()
+ }
}
serde_json::Value::Object(o) => {
let json = serde_json::to_string(o).unwrap_or_default();