Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
clavalle
9y ago
0 comments
Share
There is no way to enforce data integrity between related tables by virtue of the data model for one thing.
0 comments
default
newest
oldest
gcr
9y ago
I don't get this argument. Foreign key constraints are part of the schema.
What
should
the primary key be if not a UUID?
clavalle
OP
9y ago
A natural key. It is not always possible, but when it is it should be used.
cortesoft
9y ago
an integer id?
billybugmaster
9y ago
isn't that what the fk are for? food_uuid for example. I concede I wouldn't call it uuid but I don't see a problem keeping the data straight.
jtmarmon
9y ago
?? foreign keys?
j
/
k
navigate · click thread line to collapse