© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
1 reply
SchlagerKhan

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
email
,
key
key
] should be unique. It is important that a user can sign up multiple times with the same
email
email
- as long as the
key
key
is different.

E.g. this is valid
[
test@test.com
test@test.com
,
key1
key1
]
[
test@test.com
test@test.com
,
key2
key2
]

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

Does anyone now if this is supported and if so point me in the right direction where I should look for info? ❤️
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Order by multiple columns in supabase
SupabaseSSupabase / help-and-questions
13mo ago
How to query a table by multiple columns
SupabaseSSupabase / help-and-questions
4y ago
how to order by multiple columns in supabase-python?
SupabaseSSupabase / help-and-questions
3y ago
Documentation for Search Multiple Columns
SupabaseSSupabase / help-and-questions
8mo ago