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
#[derive(Copy,Clone,Debug,EnumIter,DeriveRelation)]pubenumRelation{#[sea_orm( belongs_to = "super::account::Entity", from = "Column::Member1", to = "super::account::Column::Id")]Member1,#[sea_orm( belongs_to = "super::account::Entity", from = "Column::Member2", to = "super::account::Column::Id")]Member2,}
Not all cases, it's possible to create two foreign keys on the same local column and referencing two different foreign columns. But I would say this seems unlikely to happen in real life.
generates
which results in
The text was updated successfully, but these errors were encountered: