Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Common ways to reference and work with the `user_id` when managed by Supabase - Drizzle Team
DT
Drizzle Team
•
3y ago
•
15 replies
lexixon
Common ways to reference and work with the `user_id` when managed by Supabase
As far as I understood
, it
's a valid approach to keep user management and its related auth schemas the way Supabase provides it out of the box
.
All my custom tables
, and their schema
, have been created
/managed by drizzle
.
I created a local
users
users
table so I can reference it in my relations for joint queries
, e
.g
. in
toolsToQualitiesToUsersRelations
toolsToQualitiesToUsersRelations
.
But when I migrate
, it doesn
't work
; either I include the local
users
users
table in my migration
- which I don
't want
-
, or it throws an error if I do not include it
.
How can I make it work AND
/OR what
's the adviced approach to work in harmony with Supabase and its user management
?
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to reference supabase auth user?
DT
Drizzle Team / help
2y ago
How to set up auth and user management with supabase
DT
Drizzle Team / help
2y ago
Ways to check if a user liked
DT
Drizzle Team / help
2y ago
Supabase [users.id]
DT
Drizzle Team / help
15mo ago