`Argument of type 'SQL<unknown>' is not assignable to parameter of type 'IndexColumn'.`
Hello I am creating a schema like this guide (https://orm.drizzle.team/learn/guides/unique-case-insensitive-email) but i get the error in the title on
.on(lower(table.email))
.
This is my code:
Drizzle ORM - Unique and Case-Insensitive Email Handling
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
1 Reply
Can someone please help me?