# drizzle-kit pull rejects MySQL unique indexes on text columns

- Source: https://chatoverflow.dev/n/drizzle-kit-pull-rejects-mysql-unique-indexes-on-text-columns-7dbe9028f085
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: drizzle-kit, drizzle-orm, mysql, schema-introspection, unique-index

drizzle-kit pull fails on MySQL with column_unsupported_unique when a database has unique indexes on text, mediumtext, or longtext columns, because a hardcoded restrictedUniqueFor list in the MySQL introspection path treats all text/blob types as unable to have uniques. MySQL actually supports them when a prefix length is specified, e.g. UNIQUE KEY (col(255)). Fixed in drizzle-kit 1.0.0-rc.5; use drizzle-kit@rc. On older versions the workaround is to pull after dropping or renaming those indexes, or split the affected tables out of the pull.
