broadband_nas export, #15284
[freeside.git] / rt / docs / rt3-schema-relationships.dot
1 digraph g {
2 graph [
3 rankdir = "RL",
4  concentrate = true,
5 ratio = auto
6 ];
7 node [
8 fontsize = "18",
9 shape = record, fontsize = 18
10 ];
11 edge [
12 ];
13
14 "Records" [shape = record, fontsize = 18, label = "(Any RT::Record)" ];
15 "Records" -> "Principals" [label = "Creator -> id"];
16 "ACL" [shape = record, fontsize = 18, label = "<col0> \N " ];
17 "ACL" -> "Principals" [label="PrincipalId -> id"];
18 "ACL" -> "Principals" [label="DelegatedBy -> id"];
19 "ACL" -> "ACL" [label="DelegatedFrom -> id"];
20
21 "Attachments" [shape = record, fontsize = 18, label = "<col0> \N " ];
22 "Attachments" -> "Transactions" [label="TransactionId -> id"];
23 "Attachments" -> "Attachments" [label="Parent -> id"];
24
25 "CachedGroupMemers" [shape = record, fontsize = 18, label = "<col0> \N " ];
26 "CachedGroupMemers" -> "Groups" [label="GroupId -> id", weight=2];
27 "CachedGroupMemers" -> "Principals" [label="MemberId -> id"];
28 "CachedGroupMemers" -> "CachedGroupMemers" [label="Via -> id"];
29 "CachedGroupMemers" -> "Groups" [label="ImmediateParentId -> id"];
30
31 "CustomFields" [shape = record, fontsize = 18, label = "<col0> \N " ];
32
33 "CustomFieldValues" [shape = record, fontsize = 18, label = "<col0> \N " ];
34 "CustomFieldValues" -> "CustomFields" [label="CustomField -> id"];
35
36 "GroupMembers" [shape = record, fontsize = 18, label = "<col0> \N " ];
37 "GroupMembers" -> "Groups" [label="GroupId -> id", weight=2];
38 "GroupMembers" -> "Principals" [label="MemberId -> id", weight = 2];
39
40 "Groups" [shape = record, fontsize = 18, label = "<col0> \N " ];
41 "Groups" -> "Principals" [label="Groups.id -> id"];
42
43 "Links" [shape = record, fontsize = 18, label = "<col0> \N " ];
44 "Links" -> "Tickets" [label="LocalBase => id (usually)", style="dotted"];
45 "Links" -> "Tickets" [label="LocalTarget => id (usually)", style="dotted"];
46
47 "Principals" [shape = record, fontsize = 18, label = "<col0> \N " ];
48
49 "Attributes" [shape = record, fontsize = 18, label = "<col0> \N " ];
50 "Attributes" -> "Records" [label="ObjectId -> id"];
51
52 "Queues" [shape = record, fontsize = 18, label = "<col0> \N " ];
53
54 "ScripActions" [shape = record, fontsize = 18, label = "<col0> \N " ];
55
56 "ScripConditions" [shape = record, fontsize = 18, label = "<col0> \N " ];
57
58 "Scrips" [shape = record, fontsize = 18, label = "<col0> \N " ];
59 "Scrips" -> "ScripConditions" [label="ScripCondition -> id"];
60 "Scrips" -> "ScripActions" [label="ScripAction -> id"];
61 "Scrips" -> "Templates" [label="Template -> id"];
62 "Scrips" -> "Queues" [label="Queue -> id"];
63
64 "Templates" [shape = record, fontsize = 18, label = "<col0> \N " ];
65 "Templates" -> "Queues" [label ="Queue -> id" ];
66
67 "ObjectCustomFields" [shape = record, fontsize = 18, label = "<col0> \N " ];
68 "ObjectCustomFields" -> "CustomFields" [label="CustomField -> id"];
69 "ObjectCustomFields" -> "Records" [label="ObjectId -> id"];
70
71 "ObjectCustomFieldValues" [shape = record, fontsize = 18, label = "<col0> \N " ];
72 "ObjectCustomFieldValues" -> "CustomFields" [label="CustomField -> id"];
73 "ObjectCustomFieldValues" -> "Records" [label="ObjectId -> id"];
74
75 "Tickets" [shape = record, fontsize = 18, label = "<col0> \N " ];
76 "Tickets" -> "Tickets" [label="EffectiveId -> id"];
77 "Tickets" -> "Principals" [label="Owner -> id"];
78 "Queues" -> "Tickets" [style="invis"];
79 "Tickets" -> "Queues" [label="Queue -> id"];
80
81 "Transactions" [shape = record, fontsize = 18, label = "<col0> \N " ];
82 "Transactions" -> "Records" [label="ObjectId -> id"];
83
84 "Users" [shape = record, fontsize = 18, label = "<col0> \N " ];
85
86 "Users" -> "Principals" [label="id -> id"];
87
88
89 }