Hi, I’m using Auth0 for authenticating users in my app, now I’m trying to implement custom database for my app. So my database is hosted on railway.app and I added the connection url to custom database integration scripts, I’m a bit confused about few things:
- I’m not able to connect properly and I’m getting
"[Error] ECONNREFUSED - connect ECONNREFUSED 127.0.0.1:5432"
- I don’t exactly know what my
usertable’s schema should be, so i want to know what columns do i need to have.
- Can I add extra custom columns to my user’s table other than what auth0 is going to fill in? suppose i need a
postsrow in the users table, can I add it?