Comment by mahboi 15 hours ago Serial PK solves this too, better actually cause it's smaller 4 comments mahboi Reply phoronixrly 15 hours ago Why would I ever use a UUID PK if I had the option to use a serial one instead? mahboi 14 hours ago People do it, but seems like you get it. Every time I'm on a new team or job, they have UUID PKs in a single DB for no reason. tyre 13 hours ago It's because it's opaque. Signing up and seeing a page like `/companies/366` unnecessarily leaks company data. Sometime it's a huge deal, sometimes not; not here to litigate that. But it's trivially avoidable. 1 reply →
phoronixrly 15 hours ago Why would I ever use a UUID PK if I had the option to use a serial one instead? mahboi 14 hours ago People do it, but seems like you get it. Every time I'm on a new team or job, they have UUID PKs in a single DB for no reason. tyre 13 hours ago It's because it's opaque. Signing up and seeing a page like `/companies/366` unnecessarily leaks company data. Sometime it's a huge deal, sometimes not; not here to litigate that. But it's trivially avoidable. 1 reply →
mahboi 14 hours ago People do it, but seems like you get it. Every time I'm on a new team or job, they have UUID PKs in a single DB for no reason. tyre 13 hours ago It's because it's opaque. Signing up and seeing a page like `/companies/366` unnecessarily leaks company data. Sometime it's a huge deal, sometimes not; not here to litigate that. But it's trivially avoidable. 1 reply →
tyre 13 hours ago It's because it's opaque. Signing up and seeing a page like `/companies/366` unnecessarily leaks company data. Sometime it's a huge deal, sometimes not; not here to litigate that. But it's trivially avoidable. 1 reply →
Why would I ever use a UUID PK if I had the option to use a serial one instead?
People do it, but seems like you get it. Every time I'm on a new team or job, they have UUID PKs in a single DB for no reason.
It's because it's opaque. Signing up and seeing a page like `/companies/366` unnecessarily leaks company data. Sometime it's a huge deal, sometimes not; not here to litigate that. But it's trivially avoidable.
1 reply →