packy
251
3
Laravel

Use UUID vs Auto Increment ID

Posted 4 months ago by packy

Is using a UUID better than an Auto Increment ID? I have read using UUID is better to hide total number of entries (ie if you have and id of 150 exposed somewhere, anyone can tell there was 149 other entries) and you can migrate databases easier since UUID are more unique. My app is really small so I dont think I need it now, but dont want to shoot myself in the foot and curios peoples thoughts.

Please sign in or create an account to participate in this conversation.