Y
Hacker News
new
|
ask
|
show
|
jobs
by
ei8ths
1286 days ago
I need to keep it unique, don't uuid's stay unique? I'm all ears to changing it for a smaller size.
1 comments
wstuartcl
1285 days 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.
link