Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
ei8ths
3y ago
0 comments
Share
I need to keep it unique, don't uuid's stay unique? I'm all ears to changing it for a smaller size.
undefined | Better HN
0 comments
default
newest
oldest
wstuartcl
3y ago
https://github.com/Jakeii/nanoid-postgres
is an example of one way just pick a length that has enough space for your projected maxcount and ensure unique on the schema/index.
j
/
k
navigate · click thread line to collapse