© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
4y ago
•
11 replies
Nisthar
how to have an array of foreign keys (one to many relationship)?
I have these 2 tables setup
:
room
:
-id
groups
:
-id
-members
(I want to make this an array of foreign keys pointing to users table
)
A room can have multiple groups
. and a group can have multiple users
.
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
array of foreign keys
S
Supabase / help-and-questions
4y ago
how to stream one to many relationship?
S
Supabase / help-and-questions
4y ago
RLS One to many relationship
S
Supabase / help-and-questions
4y ago
Foreign key relationship isn't one to one
S
Supabase / help-and-questions
3mo ago