Remix.run Logo
tossandthrow 6 hours ago

I use the null uuid as primary key - never had any DB scaling issues.

petalmind 6 hours ago | parent [-]

Yeah, no NULL is ever equal to any other NULL, so they are basically unique.

Groxx 5 hours ago | parent [-]

You are also guaranteed to be able to retrieve your data, just query for '... is null'. No complicated logic needed!