Add required relation on User model when user is created (next-auth/Auth.js)

Is it possible to modify the User model to include a required association? I want to create an organization that is created when the user is created and is associated with the user. Like shown in the pic. I've tried playing with the various "events" https://authjs.dev/guides/basics/events, but haven't gotten anywhere.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server