© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
2y ago
•
1 reply
cosbgn
generated columns reference another table
I have a table called users and another called teams
. I would like to have users
.plan be generated from teams
.id
=
=
= user
.team
_id and from that team get teams
.plan
. So pretty much user
.plan is generated from the right team plan
.
Is this possible
?
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
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
2 tables cannot reference each others columns?
DT
Drizzle Team / help
2y ago
Generated Columns not working
DT
Drizzle Team / help
2y ago
Generated columns / JSONB-ish querying
DT
Drizzle Team / help
11mo ago
Recommended approach for generated columns
DT
Drizzle Team / help
3y ago