Currently, the app I'm building allows users to create users (
user
user
table) or update their existing user to use the same email address that is already used for a different user.
Ideally, I would like to limit this to one user account per email address.
I've been trying to implement this on my database layer as well as in my trpc mutations, but I heard there might be a simpler way to do this purely in my Better Auth