Y
Hacker News
new
|
ask
|
show
|
jobs
by
wstuartcl
1289 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.