vnadygin
07/27/2020, 5:31 PMThese models do not have a unique identifier or id and are therefore commented out.
• "UserFollows"
And my generated schema doesn’t looks right:
// The underlying table does not contain a unique identifier and can therefore currently not be handled.
// model UserFollows {
// A String
// B String
// User_UserTo_UserFollows_A User @relation("UserTo_UserFollows_A", fields: [A], references: [id])
// User_UserTo_UserFollows_B User @relation("UserTo_UserFollows_B", fields: [B], references: [id])
// @@map("_UserFollows")
// }
So that is the correct way to implement self many to many relation?janpio