Adding documentation and examples for foreign keys #26644
Closed
nielsbrakel
started this conversation in
Contribute to Supabase
Replies: 0 comments 1 reply
-
Apperently Postgress does not enforce the key constraints in a foreign table since it does not control the data, so this is not needed :) Comment from chat GPT:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was wondering if it would be a good addition to create foreign keys in the database:
My database engineering knowledge is limited so I do not know if this could result in problems down the line, but I think it could help with optimizing query's and maintaining the integrity of the data. Looking forward to hear the pro's and con's. If it is a good idea I can create a PR for this.
Beta Was this translation helpful? Give feedback.
All reactions