Create a Lowercase constraint (or any custom constraint) in drizzle ORM schema

Emails should be case insensitive, so I achieve this by forcing lowercase. How do I do that in Drizzle?
Was this page helpful?