Help me setting up better auth with drizzle
I'm setting up better-auth with drizzle. I set up all the files needed to configure the db. I also ran generate command and it generated
auth-schema.ts
. So here are my questions:
1. Can I move what's inside auth-schema.ts
to db/schema.ts
to keep all schemas in one place (just like what's shown in Drizzle's documentation)?
2. After that, can I simply run npx drizzle-kit push
to generate the tables in the database?1 Reply
Solution
Yes