npx @better-auth/cli generate - Error: mongodb-adapter is not supported.
I am following the installation section and I am on step 5.
When I run
npx @better-auth/cli generate
I get this response, preparing schema...2025-02-17T14:43:42.642Z ERROR [Better Auth]: mongodb-adapter is not supported.
Should I skip this step? Is this intended or should I open an issue on github?
My current auth.ts
file looks like this right now.
3 Replies
the cli won't generate schema for mongodb.
So should I create the schema manually?
You may have to yes
the docs are pretty good with all the tables you need