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?
1 Reply
Angelelz
Angelelz3mo ago
You can't use values from another table for generated columns
Want results from more Discord servers?
Add your server