© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Help me setting up better auth with drizzle - Better Auth
BA
Better Auth
•
10mo ago
•
2 replies
FLoriduh
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
auth-schema.ts
. So here are my questions
:
1
. Can I move what
's inside
auth-schema.ts
auth-schema.ts
to
db/schema.ts
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
npx drizzle-kit push
to generate the tables in the database
?
Solution
Yes
Jump to solution
Recent Announcements
Similar Threads
Help setting up better auth in a fetch environment
BA
Better Auth / help
13mo ago
Implementing better-auth with expressjs drizzle
BA
Better Auth / help
9mo ago
Using drizzle pglite with better-auth
BA
Better Auth / help
15mo ago
Need help in setting up Better Auth with Ronin on Next.js
BA
Better Auth / help
13mo ago