Y
Hacker News
new
|
ask
|
show
|
jobs
by
wvenable
817 days ago
Composite keys are fine as long as all the key columns are surrogate keys.
1 comments
SoftTalker
817 days ago
High bridges without guardrails are fine as long as you don't fall off.
link
wvenable
817 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