Set unique index length

I'm using a custom blob column type in mysql and need to specify a unique index on it. Because it's a blob the index length must be set but there seems to be no way of doing this? Anyone have some idea?
2 Replies
Isak
Isak15mo ago
Also I'm using db push with Planetscale if that helps.
Isak
Isak15mo ago
Hi again, having trouble when adding the index manually as that breaks db push https://github.com/drizzle-team/drizzle-orm/issues/773.
GitHub
Issues · drizzle-team/drizzle-orm
TypeScript ORM that feels like writing SQL. Contribute to drizzle-team/drizzle-orm development by creating an account on GitHub.
Want results from more Discord servers?
Add your server