Decide best practice for user ID in DB schema

#163

Issue

Open
B
benmccann
Oct 16, 2024, 10:59 PM

Drizzle adder uses an integer. Lucia uses a string

It would be nice to be consistent both to promote best practices and to avoid users having to migrate their DB if they setup drizzle first and then come back later and setup lucia

Some people don't like ints because it reveals how many users they have

The Lucia integration is done app side. I'm not sure if that has downsides and would be better to be done in the database? It does use an extra dependency currently, but maybe there's a Node built-in we could leverage if we do want to do it app side?

👍 1

Info

Assignees None
Labels question, pkg:add
Milestone None