Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Define different pg schema for auth tables - Better Auth
BA
Better Auth
•
7mo ago
jins
Define different pg schema for auth tables
Is it safe to be creating the auth schema
(account
, session
, user
, verification
) on the
public
public
schema
?
Auth
.js creates a separate
next_auth
next_auth
schema for these tables which seems like a more secure method
?
Supabase has a separate
auth
auth
schema
.
See here
:
https://authjs.dev/getting-started/adapters/supabase?framework=Next.js
Auth.js | Supabase
Authentication for the Web
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Making Auth with 2 tables with different auth flows
BA
Better Auth / help
10mo ago
Move better auth tables from "public" to "auth" postgres schema
BA
Better Auth / help
13mo ago
Custom Tables | SQL Schema
BA
Better Auth / help
11mo ago
Different server for auth and frontend
BA
Better Auth / help
8mo ago