From 699043ff07c1271b61ed6734aeb2bc6f440acbc0 Mon Sep 17 00:00:00 2001
From: Melody Ruch <396921921@qq.com>
Date: Thu, 27 Aug 2026 08:38:35 +0800
Subject: [PATCH] fix(import): add default length to bare varchar on mysql
targets
---
crates/dbx-core/src/table_import.rs | 63 +++++++++++++++++++++++++++--
1 file changed, 60 insertions(+), 3 deletions(-)
diff --git a/crates/dbx-core/src/table_import.rs b/crates/dbx-core/src/table_import.rs
index 1667669b58..9e5fe887ad 100644
--- a/crates/dbx-core/src/table_import.rs
+++ b/crates/dbx-core/src/table_import.rs
@@ -3693,7 +3693,10 @@ fn import_data_type(inferred_type: ImportInferredType, db_type: &DatabaseType) -
.to_string()
}
-fn normalize_import_target_data_type(mapping: &TableImportColumnMapping) -> Result