kheruc
DTDrizzle Team
•Created by Hugo on 9/11/2023 in #help
Is it good to use UUID as primary key ?
I recently switched from UUIDs to Nanoids for my project's refactor. I never liked the length of UUIDs.
It's possible to set a custom size for Nanoids, I chose 12.
This article from Planetscale was helpful in my decision:
https://planetscale.com/blog/why-we-chose-nanoids-for-planetscales-api
39 replies