PostgreSQL support
https://www.better-auth.com/docs/adapters/postgresql
This claims that it supports postgreSQL, has anyone got it working with postgres? Right now the cli is buggy since it creates user schema but you can't create "user" table in postgres so you need to use:
user: {
modelName: "users",
}
but this just gives me an error:
2025-03-05T19:51:43.868Z ERROR [Better Auth]: unable_to_create_user
No other explanation, no idea what is wrong here. Tables all exist, everything should be fine but i'm not getting any meaningful error messages.

0 Replies