top | item 40888037

(no title)

openthc | 1 year ago

I love ULID too; but it's really just UUIDv7 (or v8) with a mustache (it's all just 128bit IDs). And in the PG world, where there isn't native support for ULID one can use UUIDv7/8 and bridge that gap. We use ULID extensively in exposed IDs, it's very URL friendly, copy/paste friendly, etc -- but it's a UUID datatype in the DB. (ie: ULID => UUID => DB)

discuss

order

rjurney|1 year ago

But I thought ULID will work in a UUID field in Postgres? Will it in other DBs?