You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the drizzle adapter is invoking the crypto.randomUUID() to create ID for users for each type of database.
If you want to be able to configure the user id lets say "us_XXXXXXXXX" you can't.
Proposal
We could simple remove the reference to ID when users are created and provide the $defaultFn in the initial setup.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
Currently the drizzle adapter is invoking the
crypto.randomUUID()
to create ID for users for each type of database.If you want to be able to configure the user id lets say "us_XXXXXXXXX" you can't.
Proposal
We could simple remove the reference to ID when users are created and provide the
$defaultFn
in the initial setup.I realize the mysql would need to somehow query the data it just inserted but I guess we should make email unique and close #8629 as well
Beta Was this translation helpful? Give feedback.
All reactions