Better HN
topnewbestaskshowjobs
Log inSign up

goriilacoder

2 karma · joined Jun 10, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

uuidv4 is bad for a primary key. Google it. Use uuidv6 or v7. If you don't like using something not quite yet part of the standard, use v1 using time rather than MAC. Not a big deal for small tables, but for anything that will get large, you really don't want v4.