aboutsummaryrefslogtreecommitdiffstats
path: root/doc/schemaspy_hubzilla/anomalies.html
blob: e35c270e338391c7b39b211c47cfcc54c0960bb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
<html>
<head>
  <!-- SchemaSpy rev 590 -->
  <title>SchemaSpy - zot - Anomalies</title>
  <link rel=stylesheet href='schemaSpy.css' type='text/css'>
  <meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
  <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript' SRC='jquery.js'></SCRIPT>
  <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript' SRC='schemaSpy.js'></SCRIPT>
</head>
<body>
<table id='headerHolder' cellspacing='0' cellpadding='0'><tr><td>
<div id='header'>
 <ul>
  <li><a href='index.html' title='All tables and views in the schema'>Tables</a></li>
  <li><a href='relationships.html' title='Diagram of table relationships'>Relationships</a></li>
  <li><a href='utilities.html' title='View of tables with neither parents nor children'>Utility&nbsp;Tables</a></li>
  <li><a href='constraints.html' title='Useful for diagnosing error messages that just give constraint name or number'>Constraints</a></li>
  <li id='current'><a href='anomalies.html' title="Things that might not be quite right">Anomalies</a></li>
  <li><a href='columns.byTable.html' title="All of the columns in the schema">Columns</a></li>
  <li><a href='http://sourceforge.net/donate/index.php?group_id=137197' title='Please help keep SchemaSpy alive' target='_blank'>Donate</a></li>
 </ul>
</div>
</td></tr></table>
<div class='content' style='clear:both;'>
<table width='100%' border='0' cellpadding='0'>
 <tr>
  <td class='heading' valign='middle'><span class='header'>SchemaSpy Analysis of <span title='Database'>zot</span> - Anomalies</span><span class='description'>
2015-11-04 - Hubzilla database schema with some corrected cross-table relationships supporting decentralized publishing. Haakon Meland Eriksen.
</span></td>
  <td class='heading' align='right' valign='top' title='John Currier - Creator of Cool Tools'><span class='indent'>Generated by</span><br><span class='indent'><span class='signature'><a href='http://schemaspy.sourceforge.net' target='_blank'>SchemaSpy</a></span></span></td>
 </tr>
</table>
<table width='100%'>
  <tr><td class='container' align='right' valign='top' colspan='2'><a href='http://sourceforge.net' target='_blank'><img src='http://sourceforge.net/sflogo.php?group_id=137197&amp;type=1' alt='SourceForge.net' border='0' height='31' width='88'></a></td></tr>
<tr>
<td class='container'><b>Things that might not be 'quite right' about your schema:</b></td>
<td class='container' align='right'>
<div style="margin-right: 2pt;">
<script type="text/javascript"><!--
google_ad_client = "pub-9598353634003340";
google_ad_channel ="SchemaSpy-generated";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
google_color_border = "9bab96";
google_color_link = "489148";
google_color_text = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td></tr></table>
<ul>
<li>
<b>Columns whose name and type imply a relationship to another table's primary key:</b>
<table class='dataTable' border='1' rules='groups'>
<colgroup>
<colgroup>
<thead align='left'>
<tr>
  <th>Child Column</th>
  <th>Implied Parent Column</th>
</tr>
</thead>
<tbody>
 <tr>
  <td class='detail'><a href='tables/addon.html'>addon</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/app.html'>app</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/attach.html'>attach</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/auth_codes.html'>auth_codes</a>.client_id</td>
  <td class='detail'><a href='tables/clients.html'>clients</a>.client_id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/auth_codes.html'>auth_codes</a>.id</td>
  <td class='detail'><a href='tables/tokens.html'>tokens</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/config.html'>config</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/config.html'>config</a>.k</td>
  <td class='detail'><a href='tables/cache.html'>cache</a>.k</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/conv.html'>conv</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/event.html'>event</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/fcontact.html'>fcontact</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/ffinder.html'>ffinder</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/fserver.html'>fserver</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/fsuggest.html'>fsuggest</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/group_member.html'>group_member</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/groups.html'>groups</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/hook.html'>hook</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/item.html'>item</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/item_id.html'>item_id</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/likes.html'>likes</a>.channel_id</td>
  <td class='detail'><a href='tables/channel.html'>channel</a>.channel_id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/likes.html'>likes</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/mail.html'>mail</a>.account_id</td>
  <td class='detail'><a href='tables/account.html'>account</a>.account_id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/mail.html'>mail</a>.channel_id</td>
  <td class='detail'><a href='tables/channel.html'>channel</a>.channel_id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/mail.html'>mail</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/manage.html'>manage</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/pconfig.html'>pconfig</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/pconfig.html'>pconfig</a>.k</td>
  <td class='detail'><a href='tables/cache.html'>cache</a>.k</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/photo.html'>photo</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/profdef.html'>profdef</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/profext.html'>profext</a>.channel_id</td>
  <td class='detail'><a href='tables/channel.html'>channel</a>.channel_id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/profext.html'>profext</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/profext.html'>profext</a>.k</td>
  <td class='detail'><a href='tables/cache.html'>cache</a>.k</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/profile.html'>profile</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/profile_check.html'>profile_check</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/register.html'>register</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/sign.html'>sign</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/spam.html'>spam</a>.id</td>
  <td class='detail'><a href='tables/notify.html'>notify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/sys_perms.html'>sys_perms</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/sys_perms.html'>sys_perms</a>.k</td>
  <td class='detail'><a href='tables/cache.html'>cache</a>.k</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/tokens.html'>tokens</a>.client_id</td>
  <td class='detail'><a href='tables/clients.html'>clients</a>.client_id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/xconfig.html'>xconfig</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/xconfig.html'>xconfig</a>.k</td>
  <td class='detail'><a href='tables/cache.html'>cache</a>.k</td>
 </tr>
 <tr>
  <td class='detail'><a href='tables/xign.html'>xign</a>.id</td>
  <td class='detail'><a href='tables/verify.html'>verify</a>.id</td>
 </tr>
</tbody>
</table>
42 instances of anomaly detected<p></li>
<li>
<b>Tables without indexes:</b>
<br>Anomaly not detected<p></li>
<li>
<b>Columns that are flagged as both 'nullable' and 'must be unique':</b>
<br>Anomaly not detected<p></li>
<li>
<b>Tables that contain a single column:</b><br>Anomaly not detected<p></li>
<li>
<b>Tables with incrementing column names, potentially indicating denormalization:</b>
<br>Anomaly not detected<p></li>
<li>
<b>Columns whose default value is the word 'NULL' or 'null', but the SQL NULL value may have been intended:</b>
<br>Anomaly not detected<p></li>
</ul>
</div>
</body>
</html>