Skip to content

Decide best practice for user ID in DB schema #163

@benmccann

Description

@benmccann

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg:addsv addquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions