Add more tables using neon.tech

Good afternoon, I would like to know how to add extra tables, I am using better auth with neon.tech (postgres) and I want to create a table apart from the 4 that come called submissions and that the user can upload feedback and relates to your user id. How do I do it? Can I do it using better auth and then I can get them with the npm package? or do I need to create a new independent call to neon to handle it outside of better auth?
1 Reply
sebastian
sebastian5mo ago
I think that the answer is in your question actually. Just create a table and make relations with the user id. Better Auth does support extending core auth schema but i dont think it mentions creating a completly new table. https://www.better-auth.com/docs/concepts/database#extending-core-schema
Database | Better Auth
Learn how to use a database with Better Auth.

Did you find this page helpful?