aboutsummaryrefslogtreecommitdiff
path: root/rpkid.stable/doc/irdbd.dot
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid.stable/doc/irdbd.dot')
-rw-r--r--rpkid.stable/doc/irdbd.dot12
1 files changed, 12 insertions, 0 deletions
diff --git a/rpkid.stable/doc/irdbd.dot b/rpkid.stable/doc/irdbd.dot
new file mode 100644
index 00000000..a469057c
--- /dev/null
+++ b/rpkid.stable/doc/irdbd.dot
@@ -0,0 +1,12 @@
+// Automatically generated from irdbd.sql
+
+digraph test {
+ edge [arrowtail=none, arrowhead=crow];
+ graph [ratio=fill, overlap=false, bgcolor=white];
+ node [label="\N", fillcolor=white, shape=record, style=filled];
+ registrant [label="registrant|{registrant_id\ SERIAL\ \[PK\]|IRBE_mapped_id\ TEXT|subject_name\ TEXT|rpki_self_id\ BIGINT|rpki_child_id\ BIGINT|valid_until\ DATETIME}"];
+ asn [label="asn|{asn_id\ SERIAL\ \[PK\]|start_as\ BIGINT|end_as\ BIGINT|registrant_id\ BIGINT\ \[FK\]}"];
+ net [label="net|{net_id\ SERIAL\ \[PK\]|start_ip\ VARCHAR|end_ip\ VARCHAR|version\ TINYINT|registrant_id\ BIGINT\ \[FK\]}"];
+ registrant -> asn;
+ registrant -> net;
+}