Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@daveycodez daveycodez released this 19 Apr 22:44
· 2 commits to main since this release

This update ensures that email is properly synchronized between the users and $users tables. Before we were just assigning {userId}@user.id for email in the $users table, but this implementation feels better.

It will automatically re-sync emails when users sign in, so you don't have to do anything for this to function. However, if you want to batch update all of the emails in your $users table to match the users table, you can run the sync-emails.ts script by copying it to the root directory of your project, fixing the environment variables and imports, and using `pnpm tsx sync-emails.ts. This is totally optional and only necessary if you want all of the existing data to match.