Cannot add custom field to User interface in SvelteKit project with PostgreSQL Adapter #10814
Unanswered
PiquelChips
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to add a username field that gets added to the database with everything else (email, name, ...). I have tried doing this by extending the User interface and overriding the profile callback in providers.
Here is my app.d.ts file (I have made sure that this file is being detected and is not the problem)
And here is my hooks.server.ts file
My database does indeed have the corresponding field with the right name in the right table
I have scoured the internet but not found the solution to my problem. I would be happy to give more information if needed. Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions