# BMC Hub v2.2.3 - Migration Hotfix **Release Date:** 22. februar 2026 ## 🛠️ Hotfix ### Migration 138 compatibility fix - Fixed `migrations/138_customers_economic_unique_constraint.sql` for environments where `customers.economic_customer_number` is numeric (`integer`). - Removed unconditional `btrim(...)` usage on non-text columns. - Added type-aware normalization logic that only applies trimming for text-like column types. ## ✅ Impact - Migration `138_customers_economic_unique_constraint.sql` now runs on both numeric and text column variants without `function btrim(integer) does not exist` errors. - Unique index safety behavior and duplicate detection are unchanged.