disambiguate foreign key relations
Help, I need to understand something:
This is giving me an error on team.id references and user.id references. I need to somehow disambiguate these relations I think but couldnt figure out how to do it. Drizzle has some info about disambiguation here:
https://orm.drizzle.team/docs/rqb#disambiguating-relations
But this is mainly for
relations()
functions where we dont specify actual fk constraints.
0 Replies