© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
rinorzk

Getting - there is no unique constraint matching

So I have a table called rooms which looks like this <image-1>, and I'm trying to have another table for room messages <image-2>, and one column of that links to the room, through the room_id but as you can see it doesn't get linked (the icon is not white), and I get this error whenever I try to link it as a reference <image-3>
Screen_Shot_2022-11-27_at_15.12.02.png
Screen_Shot_2022-11-27_at_15.12.24.png
Screen_Shot_2022-11-27_at_15.13.45.png
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

no unique constraint matching
SupabaseSSupabase / help-and-questions
4y ago
No unique constraint error when creating table
SupabaseSSupabase / help-and-questions
4y ago
Constraint unique where other column
SupabaseSSupabase / help-and-questions
7mo ago
duplicate key value violates unique constraint "profiles_pkey"
SupabaseSSupabase / help-and-questions
3y ago