Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
big_whack
· 2y ago · 0 comments
Reconfiguring tables to use a different kind of unique ID (primary key in this context) can be a much bigger pain than an ordinary column rename if it is in use by foreign key constraints.
Comments
[–]
snicker7
2y ago
OR if the primary key is exported out of the DB, i.e. for constructing URLs.