Skip to content

Improve relationships. Add references between specific fields. #50

@kurotych

Description

@kurotych

Remove skinparam linetype ortho to make it work properly
Also add next use case: Teble 2 has two FKs to Table B

https://forum.plantuml.net/3636

Example

@startuml
hide circle

!include https://raw.githubusercontent.com/kurotych/sqlant/b2e5db9ed8659f281208a687a344b34ff38129cd/puml-lib/db_ent.puml

table(tableA) {
  column(id, "bigint", $pk=true, $nn=true)
  column(tableb_id1, "bigint", $nn=true)
  column(tableb_id2, "bigint", $nn=true)
}

table(tebleB) {
  column(id, "bigint", $pk=true, $nn=true)
}

tableA::tableb_id1 }o--|| tebleB::id
tableA::tableb_id2 }o--|| tebleB::id

@enduml

Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions