Identity uniqueness by multiple columns or keys

Hello,

I’m new to Supabase but I’m have a specific problem that I hope it can help me with. I want to be able to create multiple identities where the [email, key] should be unique. It is important that a user can sign up multiple times with the same email
  • as long as the key is different.
.g. this is valid
[test@test.com, key1]
[test@test.com, key2]

But not this
[test@test.com, key1]
[test@test.com, key1]

Does anyone now if this is supported and if so point me in the right direction where I should look for info? ❤️
Was this page helpful?