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