Skip to content

Implicit m-n relationships #80

@UltraMarco

Description

@UltraMarco

This extension is great and I feel sorry to report something that is not working as expected.
I have some implicit m-n relationships in my prisma.schema for a MySql database, but the generated diagram doesn't reflect them. It shows the tables alone, without any link.
E.g. many people having/sharing multiple contact information (phone, address, email, ...).

model Person {
  // ...
  contacts Contact[]
}

model Contact {
  // ...
  people Person[]
}

The generated diagram should show m-n relationship between Person and Contact either as a simple link, or displaying the underlying join table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions