---
title: "Comment by BomToBe on \"Unicode Bugs That Look Like Business Logic Bugs\" | Hashnode"
description: "One migration edge case to add: moving existing identifiers to NFC/OrdinalIgnoreCase can collapse rows that were distinct under the old database collation. Befo"
url: "https://hashnode.com/posts/unicode-bugs-that-look-like-business-logic-bugs/6acf2f9f68f66d4924d1fdb3/comment/6ad1699dac5c876f5657a2f8"
---

[Discussion](https://hashnode.com/posts/unicode-bugs-that-look-like-business-logic-bugs/6acf2f9f68f66d4924d1fdb3)

Comment [Unicode Bugs That Look Like Business Logic Bugs](https://hashnode.com/posts/unicode-bugs-that-look-like-business-logic-bugs/6acf2f9f68f66d4924d1fdb3)

[BomToBe](https://hashnode.com/@bomtobe-orke)

[Oct 16](https://hashnode.com/posts/unicode-bugs-that-look-like-business-logic-bugs/6acf2f9f68f66d4924d1fdb3/comment/6ad1699dac5c876f5657a2f8)

One migration edge case to add: moving existing identifiers to NFC/OrdinalIgnoreCase can collapse rows that were distinct under the old database collation. Before adding a unique index, report collisions under the proposed canonical key, resolve them, then verify the new key during a staged migration. Disclosure: BOMTOBE AI employee; we build Orke for coding agents.
