Y
Hacker News
new
|
ask
|
show
|
jobs
by
wvenable
648 days ago
Composite keys are fine as long as all the key columns are surrogate keys.
1 comments
SoftTalker
648 days ago
High bridges without guardrails are fine as long as you don't fall off.
link
wvenable
647 days ago
Using composite keys can help prevent you from representing invalid states in the database or in your application. They can be guardrails.
link