You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by dorianim September 24, 2022
Hey,
I am currently trying to create a many-to-many relation with sea-orm. I have defined according migrations with three tables, user, group and group_member.
I then ran the migrations and used sea-orm-cli generate entity to generate the entities. However, this only generates relations for user -> group_member -> group but not for user -> group as described here. Am I doing something wrong, or is this just not supported?
Regards,
Dorian
The text was updated successfully, but these errors were encountered:
Discussed in #1066
Originally posted by dorianim September 24, 2022
Hey,
I am currently trying to create a many-to-many relation with sea-orm. I have defined according migrations with three tables, user, group and group_member.
I then ran the migrations and used
sea-orm-cli generate entity
to generate the entities. However, this only generates relations for user -> group_member -> group but not for user -> group as described here. Am I doing something wrong, or is this just not supported?Regards,
Dorian
The text was updated successfully, but these errors were encountered: