diff options
Diffstat (limited to 'rpkid/doc/irdbd.dot')
-rw-r--r-- | rpkid/doc/irdbd.dot | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/rpkid/doc/irdbd.dot b/rpkid/doc/irdbd.dot index a3978ba3..74b5c103 100644 --- a/rpkid/doc/irdbd.dot +++ b/rpkid/doc/irdbd.dot @@ -2,14 +2,14 @@ digraph test { edge [arrowtail=none, arrowhead=crow]; - graph [ratio=fill, overlap=false, bgcolor=white]; + graph [ratio=fill, overlap=false]; node [label="\N", fillcolor=white, shape=record, style=filled]; - registrant [label="{registrant\n|registrant_id\ SERIAL\ [PK]\lregistrant_handle\ VARCHAR\ [U]\lregistrant_name\ TEXT\lregistry_handle\ VARCHAR\ [U]\lvalid_until\ DATETIME\l}"]; - registrant_asn [label="{registrant_asn\n|registrant_asn_id\ SERIAL\ [PK]\lstart_as\ BIGINT\lend_as\ BIGINT\lregistrant_id\ BIGINT\ [FK]\l}"]; - registrant_net [label="{registrant_net\n|registrant_net_id\ SERIAL\ [PK]\lstart_ip\ VARCHAR\lend_ip\ VARCHAR\lversion\ TINYINT\lregistrant_id\ BIGINT\ [FK]\l}"]; - roa_request [label="{roa_request\n|roa_request_id\ SERIAL\ [PK]\lroa_request_handle\ VARCHAR\lasn\ BIGINT\l}"]; - roa_request_prefix [label="{roa_request_prefix\n|prefix\ VARCHAR\ [PK]\lprefixlen\ TINYINT\ [PK]\lmax_prefixlen\ TINYINT\ [PK]\lversion\ TINYINT\lroa_request_id\ BIGINT\ [PK,FK]\l}"]; - registrant -> registrant_asn; - registrant -> registrant_net; - roa_request -> roa_request_prefix; + node1 [label="{registrant\n|registrant_id\ SERIAL\ [PK]\lregistrant_handle\ VARCHAR\ [U]\lregistrant_name\ TEXT\ [N]\lregistry_handle\ VARCHAR\ [U,N]\lvalid_until\ DATETIME\l}"]; + node2 [label="{registrant_asn\n|registrant_asn_id\ SERIAL\ [PK]\lstart_as\ BIGINT\lend_as\ BIGINT\lregistrant_id\ BIGINT\ [FK]\l}"]; + node3 [label="{registrant_net\n|registrant_net_id\ SERIAL\ [PK]\lstart_ip\ VARCHAR\lend_ip\ VARCHAR\lversion\ TINYINT\lregistrant_id\ BIGINT\ [FK]\l}"]; + node4 [label="{roa_request\n|roa_request_id\ SERIAL\ [PK]\lroa_request_handle\ VARCHAR\lasn\ BIGINT\l}"]; + node5 [label="{roa_request_prefix\n|prefix\ VARCHAR\ [PK]\lprefixlen\ TINYINT\ [PK]\lmax_prefixlen\ TINYINT\ [PK]\lversion\ TINYINT\lroa_request_id\ BIGINT\ [PK,FK]\l}"]; + node1 -> node2 [arrowhead=normal]; + node1 -> node3 [arrowhead=normal]; + node4 -> node5 [arrowhead=normal]; } |