aboutsummaryrefslogtreecommitdiffstats
path: root/hubzilla_er/tables
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-06 17:26:04 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-06 17:26:04 +0100
commitc40f6060da9c014135e70f165fa7adbfb127bcf2 (patch)
tree9c69bf46a9868f035dc340dc771eb8f63ea16ad7 /hubzilla_er/tables
parent5776af30e84356dade6b644a56dce2094ecb99eb (diff)
downloadvolse-hubzilla-c40f6060da9c014135e70f165fa7adbfb127bcf2.tar.gz
volse-hubzilla-c40f6060da9c014135e70f165fa7adbfb127bcf2.tar.bz2
volse-hubzilla-c40f6060da9c014135e70f165fa7adbfb127bcf2.zip
Hubzilla report created by schemaSpy using zot.meta.xml to imply relationships
Diffstat (limited to 'hubzilla_er/tables')
-rw-r--r--hubzilla_er/tables/abook.html502
-rw-r--r--hubzilla_er/tables/account.html417
-rw-r--r--hubzilla_er/tables/addon.html255
-rw-r--r--hubzilla_er/tables/app.html356
-rw-r--r--hubzilla_er/tables/attach.html513
-rw-r--r--hubzilla_er/tables/auth_codes.html216
-rw-r--r--hubzilla_er/tables/cache.html215
-rw-r--r--hubzilla_er/tables/channel.html924
-rw-r--r--hubzilla_er/tables/chat.html202
-rw-r--r--hubzilla_er/tables/chatpresence.html219
-rw-r--r--hubzilla_er/tables/chatroom.html286
-rw-r--r--hubzilla_er/tables/clients.html224
-rw-r--r--hubzilla_er/tables/config.html231
-rw-r--r--hubzilla_er/tables/conv.html270
-rw-r--r--hubzilla_er/tables/event.html507
-rw-r--r--hubzilla_er/tables/fcontact.html358
-rw-r--r--hubzilla_er/tables/ffinder.html232
-rw-r--r--hubzilla_er/tables/fserver.html216
-rw-r--r--hubzilla_er/tables/fsuggest.html259
-rw-r--r--hubzilla_er/tables/group_member.html232
-rw-r--r--hubzilla_er/tables/groups.html260
-rw-r--r--hubzilla_er/tables/hook.html221
-rw-r--r--hubzilla_er/tables/hubloc.html433
-rw-r--r--hubzilla_er/tables/issue.html242
-rw-r--r--hubzilla_er/tables/item.html1315
-rw-r--r--hubzilla_er/tables/item_id.html249
-rw-r--r--hubzilla_er/tables/likes.html321
-rw-r--r--hubzilla_er/tables/mail.html517
-rw-r--r--hubzilla_er/tables/manage.html205
-rw-r--r--hubzilla_er/tables/menu.html236
-rw-r--r--hubzilla_er/tables/menu_item.html268
-rw-r--r--hubzilla_er/tables/notify.html434
-rw-r--r--hubzilla_er/tables/obj.html269
-rw-r--r--hubzilla_er/tables/outq.html309
-rw-r--r--hubzilla_er/tables/pconfig.html235
-rw-r--r--hubzilla_er/tables/photo.html556
-rw-r--r--hubzilla_er/tables/poll.html202
-rw-r--r--hubzilla_er/tables/poll_elm.html196
-rw-r--r--hubzilla_er/tables/profdef.html242
-rw-r--r--hubzilla_er/tables/profext.html264
-rw-r--r--hubzilla_er/tables/profile.html728
-rw-r--r--hubzilla_er/tables/profile_check.html266
-rw-r--r--hubzilla_er/tables/register.html254
-rw-r--r--hubzilla_er/tables/session.html185
-rw-r--r--hubzilla_er/tables/shares.html191
-rw-r--r--hubzilla_er/tables/sign.html248
-rw-r--r--hubzilla_er/tables/site.html332
-rw-r--r--hubzilla_er/tables/source.html202
-rw-r--r--hubzilla_er/tables/spam.html250
-rw-r--r--hubzilla_er/tables/sys_perms.html236
-rw-r--r--hubzilla_er/tables/term.html304
-rw-r--r--hubzilla_er/tables/tokens.html245
-rw-r--r--hubzilla_er/tables/updates.html242
-rw-r--r--hubzilla_er/tables/verify.html383
-rw-r--r--hubzilla_er/tables/vote.html202
-rw-r--r--hubzilla_er/tables/xchan.html511
-rw-r--r--hubzilla_er/tables/xchat.html208
-rw-r--r--hubzilla_er/tables/xconfig.html254
-rw-r--r--hubzilla_er/tables/xign.html215
-rw-r--r--hubzilla_er/tables/xlink.html247
-rw-r--r--hubzilla_er/tables/xperm.html191
-rw-r--r--hubzilla_er/tables/xprof.html360
-rw-r--r--hubzilla_er/tables/xtag.html191
63 files changed, 20053 insertions, 0 deletions
diff --git a/hubzilla_er/tables/abook.html b/hubzilla_er/tables/abook.html
new file mode 100644
index 000000000..7e103df6f
--- /dev/null
+++ b/hubzilla_er/tables/abook.html
@@ -0,0 +1,502 @@
+<!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 - Table zot.abook</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='abook';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>abook</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>abook_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_account</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_channel</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_my_perms</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_their_perms</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_closeness</td>
+ <td class='detail'>tinyint unsigned</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>99</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_connected</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_dob</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_blocked</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_ignored</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_hidden</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_archived</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_pending</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_unconnected</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_self</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>abook_feed</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>abook_profile</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>abook_incl</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>abook_excl</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='23 columns'>Table contained 12 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>abook_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_account</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_account</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_archived</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_archived</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_blocked</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_blocked</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_closeness</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_closeness</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_connected</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_connected</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_dob</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_dob</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_feed</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_feed</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_hidden</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_hidden</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_ignored</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_ignored</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_my_perms</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_my_perms</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_pending</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_pending</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_profile</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_profile</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_self</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_self</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_their_perms</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_their_perms</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_unconnected</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_unconnected</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_updated</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_updated</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>abook_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>abook_xchan</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/account.html b/hubzilla_er/tables/account.html
new file mode 100644
index 000000000..cd2e46eb1
--- /dev/null
+++ b/hubzilla_er/tables/account.html
@@ -0,0 +1,417 @@
+<!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 - Table zot.account</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='account';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>account</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>account_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="mail.account_id's name implies that it's a child of account.account_id, but it doesn't reference that column."><a href='mail.html'>mail</a><span class='relatedKey'>.account_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+</td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_parent</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>account_default_channel</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>account_salt</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>account_password</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_email</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>account_external</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>account_language</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>16</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>en</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>account_created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_lastlog</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>account_flags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_roles</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>account_reset</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_expires</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>account_expire_notified</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_service_class</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>account_level</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_password_changed</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='18 columns'>Table contained 1 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>account_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_default_channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_default_channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_email</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_email</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_expires</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_expires</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_external</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_external</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_lastlog</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_lastlog</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_level</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_level</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_parent</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_parent</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_password_changed</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_password_changed</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_roles</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_roles</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_service_class</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_service_class</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="account.html" title="account" alt="" coords="7,5,335,475">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/account.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="mail.html" title="mail" alt="" coords="380,7,524,540">
+<area shape="rect" id="node3" href="account.html" title="account" alt="" coords="7,109,335,579">
+<area shape="rect" id="node5" href="channel.html" title="channel" alt="" coords="109,596,232,676">
+<area shape="rect" id="node7" href="verify.html" title="verify" alt="" coords="109,5,232,85">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/account.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/addon.html b/hubzilla_er/tables/addon.html
new file mode 100644
index 000000000..512eac7d1
--- /dev/null
+++ b/hubzilla_er/tables/addon.html
@@ -0,0 +1,255 @@
+<!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 - Table zot.addon</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='addon';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>addon</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="addon.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>version</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>installed</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hidden</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>timestamp</td>
+ <td class='detail'>bigint</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>plugin_admin</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='7 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hidden</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hidden</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>installed</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>installed</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>name</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="7,5,201,227">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/addon.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="189,5,384,227">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,587,143,984">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="227,244,347,324">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="227,341,347,421">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="225,439,348,519">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="224,536,349,616">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="227,633,347,713">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="224,731,349,811">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="217,828,356,908">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="227,925,347,1005">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="227,1023,347,1103">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/addon.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/app.html b/hubzilla_er/tables/app.html
new file mode 100644
index 000000000..0189a9224
--- /dev/null
+++ b/hubzilla_er/tables/app.html
@@ -0,0 +1,356 @@
+<!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 - Table zot.app</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='app';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>app</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="app.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>app_id</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>app_sig</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>app_author</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>app_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>app_desc</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>app_url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>app_photo</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>app_version</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>app_channel</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>app_addr</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>app_price</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>app_page</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>app_requires</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='14 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>app_channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>app_channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>app_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>app_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>app_name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>app_name</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>app_photo</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>app_photo</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>app_price</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>app_price</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>app_url</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>app_url</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>app_version</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>app_version</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="app.html" title="app" alt="" coords="7,5,212,385">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/app.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="232,5,352,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,744,143,1141">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="189,102,395,482">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="232,499,352,579">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="231,596,353,676">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="229,693,355,773">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="232,791,352,871">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="229,888,355,968">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="223,985,361,1065">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="232,1083,352,1163">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="232,1180,352,1260">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/app.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/attach.html b/hubzilla_er/tables/attach.html
new file mode 100644
index 000000000..ea0353d38
--- /dev/null
+++ b/hubzilla_er/tables/attach.html
@@ -0,0 +1,513 @@
+<!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 - Table zot.attach</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='attach';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>attach</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="attach.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>aid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>creator</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>filename</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>filetype</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>filesize</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>revision</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>folder</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>flags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>is_dir</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>is_photo</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>os_storage</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>os_path</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>display_path</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>data</td>
+ <td class='detail'>longblob</td>
+ <td class='detail' align='right'>2147483647</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>edited</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='23 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>creator</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>creator</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>edited</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>edited</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>filename</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>filename</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>filesize</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>filesize</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>filetype</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>filetype</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>folder</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>folder</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>is_dir</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>is_dir</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>is_photo</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>is_photo</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>os_storage</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>os_storage</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>revision</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>revision</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="5,5,285,589">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/attach.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="175,5,455,589">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,1435,131,1629">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="251,607,379,687">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="255,704,375,784">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="253,801,376,881">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="255,899,375,979">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="241,996,388,1076">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="253,1093,376,1173">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="240,1191,389,1271">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="257,1288,372,1368">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="255,1385,375,1465">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="255,1483,375,1563">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="240,1580,389,1660">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="253,1677,376,1757">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="253,1775,376,1855">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="245,1872,384,1952">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="253,1969,376,2049">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="255,2067,375,2147">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="249,2164,380,2244">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="253,2261,376,2341">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="255,2359,375,2439">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/attach.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/auth_codes.html b/hubzilla_er/tables/auth_codes.html
new file mode 100644
index 000000000..842fb3c15
--- /dev/null
+++ b/hubzilla_er/tables/auth_codes.html
@@ -0,0 +1,216 @@
+<!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 - Table zot.auth_codes</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='auth_codes';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>auth_codes</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>40</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="auth_codes.id's name implies that it's a child of tokens.id, but it doesn't reference that column."><a href='tokens.html'>tokens</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>client_id</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="auth_codes.client_id's name implies that it's a child of clients.client_id, but it doesn't reference that column."><a href='clients.html'>clients</a><span class='relatedKey'>.client_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>redirect_uri</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>200</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>expires</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>scope</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>250</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="auth_codes.html" title="auth_codes" alt="" coords="5,5,216,181">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/auth_codes.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="auth_codes.html" title="auth_codes" alt="" coords="360,81,571,257">
+<area shape="rect" id="node3" href="clients.html" title="clients" alt="" coords="7,117,137,310">
+<area shape="rect" id="node5" href="tokens.html" title="tokens" alt="" coords="183,5,316,198">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/auth_codes.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/cache.html b/hubzilla_er/tables/cache.html
new file mode 100644
index 000000000..e6238f822
--- /dev/null
+++ b/hubzilla_er/tables/cache.html
@@ -0,0 +1,215 @@
+<!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 - Table zot.cache</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='cache';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>cache</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>k</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="config.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='config.html'>config</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="pconfig.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='pconfig.html'>pconfig</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="profext.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='profext.html'>profext</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="sys_perms.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='sys_perms.html'>sys_perms</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="xconfig.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='xconfig.html'>xconfig</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+</td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>v</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='3 columns'>Table contained 21 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>k</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="cache.html" title="cache" alt="" coords="7,5,212,136">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/cache.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="config.html" title="config" alt="" coords="263,5,391,153">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="48,247,171,327">
+<area shape="rect" id="node5" href="cache.html" title="cache" alt="" coords="7,421,212,552">
+<area shape="rect" id="node6" href="pconfig.html" title="pconfig" alt="" coords="257,733,396,904">
+<area shape="rect" id="node8" href="notify.html" title="notify" alt="" coords="41,732,177,812">
+<area shape="rect" id="node10" href="profext.html" title="profext" alt="" coords="261,545,392,716">
+<area shape="rect" id="node12" href="channel.html" title="channel" alt="" coords="48,569,171,649">
+<area shape="rect" id="node15" href="sys_perms.html" title="sys_perms" alt="" coords="260,169,393,340">
+<area shape="rect" id="node18" href="xconfig.html" title="xconfig" alt="" coords="265,357,388,528">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/cache.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/channel.html b/hubzilla_er/tables/channel.html
new file mode 100644
index 000000000..1222058de
--- /dev/null
+++ b/hubzilla_er/tables/channel.html
@@ -0,0 +1,924 @@
+<!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 - Table zot.channel</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='channel';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>channel</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>channel_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="likes.channel_id's name implies that it's a child of channel.channel_id, but it doesn't reference that column."><a href='likes.html'>likes</a><span class='relatedKey'>.channel_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="mail.channel_id's name implies that it's a child of channel.channel_id, but it doesn't reference that column."><a href='mail.html'>mail</a><span class='relatedKey'>.channel_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="profext.channel_id's name implies that it's a child of channel.channel_id, but it doesn't reference that column."><a href='profext.html'>profext</a><span class='relatedKey'>.channel_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+</td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_account_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_primary</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_address</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_guid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>channel_guid_sig</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_timezone</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>UTC</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_location</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_theme</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>channel_startpage</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>channel_pubkey</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>channel_prvkey</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_notifyflags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_pageflags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_dirdate</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_lastpost</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_deleted</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_max_anon_mail</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_max_friend_req</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_expire_days</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>channel_passwd_reset</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_default_group</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>channel_allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>channel_allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>channel_deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>channel_deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_r_stream</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_r_profile</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_r_photos</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_r_abook</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_w_stream</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_w_wall</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_w_tagwall</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_w_comment</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_w_mail</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_w_photos</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_w_chat</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_a_delegate</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_r_storage</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_w_storage</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_r_pages</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_w_pages</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_a_republish</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_w_like</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_removed</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_system</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='48 columns'>Table contained 5 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>channel_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_a_delegate</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_a_delegate</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_a_republish</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_a_republish</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_account_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_account_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_address</td>
+ <td class='detail'>Must be unique</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_address_unique</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_default_group</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_default_gid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_deleted</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_deleted</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_dirdate</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_dirdate</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_expire_days</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_expire_days</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_guid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_guid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_lastpost</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_lastpost</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_location</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_location</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_max_anon_mail</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_max_anon_mail</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_max_friend_req</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_max_friend_req</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_name</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_notifyflags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_notifyflags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_pageflags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_pageflags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_primary</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_primary</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_r_abook</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_r_abook</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_r_pages</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_r_pages</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_r_photos</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_r_photos</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_r_profile</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_r_profile</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_r_storage</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_r_storage</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_r_stream</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_r_stream</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_removed</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_removed</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_system</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_system</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_theme</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_theme</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_timezone</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_timezone</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_chat</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_chat</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_comment</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_comment</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_like</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_like</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_mail</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_mail</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_pages</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_pages</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_photos</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_photos</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_storage</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_storage</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_stream</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_stream</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_tagwall</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_tagwall</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_w_wall</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_w_wall</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="channel.html" title="channel" alt="" coords="7,5,356,1155">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/channel.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="likes.html" title="likes" alt="" coords="408,556,539,817">
+<area shape="rect" id="node3" href="channel.html" title="channel" alt="" coords="7,575,356,1726">
+<area shape="rect" id="node5" href="verify.html" title="verify" alt="" coords="120,479,243,559">
+<area shape="rect" id="node6" href="mail.html" title="mail" alt="" coords="401,5,545,539">
+<area shape="rect" id="node8" href="account.html" title="account" alt="" coords="123,117,240,197">
+<area shape="rect" id="node11" href="profext.html" title="profext" alt="" coords="408,835,539,1005">
+<area shape="rect" id="node15" href="cache.html" title="cache" alt="" coords="117,1743,245,1823">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/channel.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/chat.html b/hubzilla_er/tables/chat.html
new file mode 100644
index 000000000..fb914f215
--- /dev/null
+++ b/hubzilla_er/tables/chat.html
@@ -0,0 +1,202 @@
+<!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 - Table zot.chat</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='chat';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>chat</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>chat_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>chat_room</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>chat_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>chat_text</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>chat_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>chat_room</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>chat_room</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>chat_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>chat_xchan</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>created</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/chatpresence.html b/hubzilla_er/tables/chatpresence.html
new file mode 100644
index 000000000..9b6c8c7f0
--- /dev/null
+++ b/hubzilla_er/tables/chatpresence.html
@@ -0,0 +1,219 @@
+<!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 - Table zot.chatpresence</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='chatpresence';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>chatpresence</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>cp_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cp_room</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>cp_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cp_last</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>cp_status</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>cp_client</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 1 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>cp_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cp_last</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cp_last</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cp_room</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cp_room</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cp_status</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cp_status</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cp_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cp_xchan</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/chatroom.html b/hubzilla_er/tables/chatroom.html
new file mode 100644
index 000000000..cb7db7985
--- /dev/null
+++ b/hubzilla_er/tables/chatroom.html
@@ -0,0 +1,286 @@
+<!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 - Table zot.chatroom</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='chatroom';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>chatroom</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>cr_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>cr_aid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cr_uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>cr_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cr_created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>cr_edited</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cr_expire</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='11 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>cr_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cr_aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cr_aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cr_created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cr_created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cr_edited</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cr_edited</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cr_expire</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cr_expire</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cr_name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cr_name</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cr_uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cr_uid</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/clients.html b/hubzilla_er/tables/clients.html
new file mode 100644
index 000000000..81d48f281
--- /dev/null
+++ b/hubzilla_er/tables/clients.html
@@ -0,0 +1,224 @@
+<!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 - Table zot.clients</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='clients';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>clients</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>client_id</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="auth_codes.client_id's name implies that it's a child of clients.client_id, but it doesn't reference that column."><a href='auth_codes.html'>auth_codes</a><span class='relatedKey'>.client_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="tokens.client_id's name implies that it's a child of clients.client_id, but it doesn't reference that column."><a href='tokens.html'>tokens</a><span class='relatedKey'>.client_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+</td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>pw</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>redirect_uri</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>200</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>name</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center' title='nullable'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>null</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>icon</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center' title='nullable'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>null</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>client_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="clients.html" title="clients" alt="" coords="5,5,216,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/clients.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="auth_codes.html" title="auth_codes" alt="" coords="439,84,569,255">
+<area shape="rect" id="node3" href="clients.html" title="clients" alt="" coords="5,114,216,313">
+<area shape="rect" id="node5" href="tokens.html" title="tokens" alt="" coords="260,5,393,198">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/clients.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/config.html b/hubzilla_er/tables/config.html
new file mode 100644
index 000000000..62536d7ce
--- /dev/null
+++ b/hubzilla_er/tables/config.html
@@ -0,0 +1,231 @@
+<!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 - Table zot.config</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='config';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>config</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="config.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>cat</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>k</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="config.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='cache.html'>cache</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>v</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 52 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cat + k</td>
+ <td class='detail'>Must be unique</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>access</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="config.html" title="config" alt="" coords="5,5,232,158">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/config.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="236,1465,356,1545">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="9,931,135,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="183,1659,409,1813">
+<area shape="rect" id="node7" href="cache.html" title="cache" alt="" coords="5,1831,139,1956">
+<area shape="rect" id="node8" href="conv.html" title="conv" alt="" coords="236,5,356,85">
+<area shape="rect" id="node10" href="fcontact.html" title="fcontact" alt="" coords="235,103,357,183">
+<area shape="rect" id="node12" href="ffinder.html" title="ffinder" alt="" coords="236,200,356,280">
+<area shape="rect" id="node14" href="group_member.html" title="group_member" alt="" coords="223,297,369,377">
+<area shape="rect" id="node16" href="groups.html" title="groups" alt="" coords="235,395,357,475">
+<area shape="rect" id="node18" href="item.html" title="item" alt="" coords="221,492,371,572">
+<area shape="rect" id="node20" href="item_id.html" title="item_id" alt="" coords="239,589,353,669">
+<area shape="rect" id="node22" href="likes.html" title="likes" alt="" coords="236,687,356,767">
+<area shape="rect" id="node24" href="mail.html" title="mail" alt="" coords="236,784,356,864">
+<area shape="rect" id="node26" href="pconfig.html" title="pconfig" alt="" coords="227,2024,365,2104">
+<area shape="rect" id="node28" href="photo.html" title="photo" alt="" coords="221,881,371,961">
+<area shape="rect" id="node30" href="profdef.html" title="profdef" alt="" coords="235,979,357,1059">
+<area shape="rect" id="node32" href="profext.html" title="profext" alt="" coords="235,1829,357,1909">
+<area shape="rect" id="node35" href="profile_check.html" title="profile_check" alt="" coords="227,1076,365,1156">
+<area shape="rect" id="node37" href="register.html" title="register" alt="" coords="235,1173,357,1253">
+<area shape="rect" id="node39" href="sign.html" title="sign" alt="" coords="236,1271,356,1351">
+<area shape="rect" id="node41" href="sys_perms.html" title="sys_perms" alt="" coords="231,1927,361,2007">
+<area shape="rect" id="node44" href="xconfig.html" title="xconfig" alt="" coords="235,1563,357,1643">
+<area shape="rect" id="node47" href="xign.html" title="xign" alt="" coords="236,1368,356,1448">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/config.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/conv.html b/hubzilla_er/tables/conv.html
new file mode 100644
index 000000000..bf3cda01f
--- /dev/null
+++ b/hubzilla_er/tables/conv.html
@@ -0,0 +1,270 @@
+<!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 - Table zot.conv</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='conv';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>conv</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="conv.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>guid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>recips</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>creator</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>subject</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='8 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>updated</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>updated</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="conv.html" title="conv" alt="" coords="7,5,271,249">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/conv.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="248,5,368,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,1094,131,1287">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="244,103,372,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="176,199,440,443">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="247,460,369,540">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="248,557,368,637">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="235,655,381,735">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="247,752,369,832">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="233,849,383,929">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="251,947,365,1027">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="248,1044,368,1124">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="248,1141,368,1221">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="233,1239,383,1319">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="247,1336,369,1416">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="247,1433,369,1513">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="239,1531,377,1611">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="247,1628,369,1708">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="248,1725,368,1805">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="243,1823,373,1903">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="247,1920,369,2000">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="248,2017,368,2097">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/conv.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/event.html b/hubzilla_er/tables/event.html
new file mode 100644
index 000000000..da92cb295
--- /dev/null
+++ b/hubzilla_er/tables/event.html
@@ -0,0 +1,507 @@
+<!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 - Table zot.event</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='event';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>event</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="event.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>aid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>event_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>event_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>edited</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>start</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>finish</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>summary</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>description</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>location</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>nofinish</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>adjust</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>1</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>ignore</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>event_status</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>event_status_date</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>event_percent</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>event_repeat</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>event_sequence</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='25 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>adjust</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>adjust</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>event_hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>event_hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>event_sequence</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>event_sequence</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>event_status</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>event_status</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>event_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>event_xchan</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>finish</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>finish</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ignore</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ignore</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>nofinish</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>nofinish</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>start</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>start</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="event.html" title="event" alt="" coords="7,5,313,635">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/event.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="283,5,403,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,995,143,1392">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="283,103,403,183">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="189,200,496,829">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="281,847,404,927">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="280,944,405,1024">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="283,1041,403,1121">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="280,1139,405,1219">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="273,1236,412,1316">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="283,1333,403,1413">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="283,1431,403,1511">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/event.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/fcontact.html b/hubzilla_er/tables/fcontact.html
new file mode 100644
index 000000000..10af48116
--- /dev/null
+++ b/hubzilla_er/tables/fcontact.html
@@ -0,0 +1,358 @@
+<!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 - Table zot.fcontact</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='fcontact';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>fcontact</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="fcontact.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>photo</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>request</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>nick</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>addr</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>batch</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>notify</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>poll</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>confirm</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>priority</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>network</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>alias</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>pubkey</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='16 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>addr</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>addr</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>network</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>network</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="fcontact.html" title="fcontact" alt="" coords="7,5,225,430">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/fcontact.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="225,5,345,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,1275,131,1469">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="221,103,349,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="225,200,345,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="176,297,395,722">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="225,739,345,819">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="212,836,359,916">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="224,933,347,1013">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="211,1031,360,1111">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="228,1128,343,1208">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="225,1225,345,1305">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="225,1323,345,1403">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="211,1420,360,1500">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="224,1517,347,1597">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="224,1615,347,1695">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="216,1712,355,1792">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="224,1809,347,1889">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="225,1907,345,1987">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="220,2004,351,2084">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="224,2101,347,2181">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="225,2199,345,2279">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/fcontact.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/ffinder.html b/hubzilla_er/tables/ffinder.html
new file mode 100644
index 000000000..8c6a09711
--- /dev/null
+++ b/hubzilla_er/tables/ffinder.html
@@ -0,0 +1,232 @@
+<!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 - Table zot.ffinder</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='ffinder';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>ffinder</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="ffinder.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>fid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>fid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>fid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="ffinder.html" title="ffinder" alt="" coords="5,5,224,158">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/ffinder.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="224,5,344,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,1003,131,1197">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="220,103,348,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="224,200,344,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="223,297,345,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="175,394,393,547">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="211,564,357,644">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="223,661,345,741">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="209,759,359,839">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="227,856,341,936">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="224,953,344,1033">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="224,1051,344,1131">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="209,1148,359,1228">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="223,1245,345,1325">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="223,1343,345,1423">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="215,1440,353,1520">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="223,1537,345,1617">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="224,1635,344,1715">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="219,1732,349,1812">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="223,1829,345,1909">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="224,1927,344,2007">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/ffinder.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/fserver.html b/hubzilla_er/tables/fserver.html
new file mode 100644
index 000000000..0becc814d
--- /dev/null
+++ b/hubzilla_er/tables/fserver.html
@@ -0,0 +1,216 @@
+<!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 - Table zot.fserver</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='fserver';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>fserver</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="fserver.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>server</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>posturl</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>key</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>posturl</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>posturl</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>server</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>server</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="fserver.html" title="fserver" alt="" coords="6,5,195,158">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/fserver.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="223,5,343,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,517,143,915">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="223,103,343,183">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="223,200,343,280">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="188,297,377,450">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="220,467,345,547">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="223,564,343,644">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="220,661,345,741">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="213,759,352,839">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="223,856,343,936">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="223,953,343,1033">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/fserver.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/fsuggest.html b/hubzilla_er/tables/fsuggest.html
new file mode 100644
index 000000000..7f0b446e5
--- /dev/null
+++ b/hubzilla_er/tables/fsuggest.html
@@ -0,0 +1,259 @@
+<!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 - Table zot.fsuggest</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='fsuggest';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>fsuggest</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="fsuggest.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>cid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>request</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>photo</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>note</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='9 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="fsuggest.html" title="fsuggest" alt="" coords="5,5,203,272">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/fsuggest.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="227,5,347,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,539,143,936">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="227,103,347,183">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="227,200,347,280">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="225,297,348,377">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="188,395,385,661">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="227,679,347,759">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="224,776,349,856">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="217,873,356,953">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="227,971,347,1051">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="227,1068,347,1148">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/fsuggest.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/group_member.html b/hubzilla_er/tables/group_member.html
new file mode 100644
index 000000000..f66faa853
--- /dev/null
+++ b/hubzilla_er/tables/group_member.html
@@ -0,0 +1,232 @@
+<!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 - Table zot.group_member</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='group_member';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>group_member</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="group_member.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>gid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 2 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>gid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>gid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="group_member.html" title="group_member" alt="" coords="7,5,231,158">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/group_member.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="228,5,348,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,1003,131,1197">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="224,103,352,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="228,200,348,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="227,297,349,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="228,395,348,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="176,491,400,645">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="227,661,349,741">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="213,759,363,839">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="231,856,345,936">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="228,953,348,1033">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="228,1051,348,1131">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="213,1148,363,1228">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="227,1245,349,1325">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="227,1343,349,1423">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="219,1440,357,1520">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="227,1537,349,1617">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="228,1635,348,1715">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="223,1732,353,1812">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="227,1829,349,1909">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="228,1927,348,2007">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/group_member.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/groups.html b/hubzilla_er/tables/groups.html
new file mode 100644
index 000000000..5e0b4163f
--- /dev/null
+++ b/hubzilla_er/tables/groups.html
@@ -0,0 +1,260 @@
+<!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 - Table zot.groups</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='groups';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>groups</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="groups.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>visible</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>deleted</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 5 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>deleted</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>deleted</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>visible</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>visible</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="groups.html" title="groups" alt="" coords="5,5,224,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/groups.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="224,5,344,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,1049,131,1242">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="220,103,348,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="224,200,344,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="223,297,345,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="224,395,344,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="211,492,357,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="175,589,393,787">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="209,804,359,884">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="227,901,341,981">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="224,999,344,1079">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="224,1096,344,1176">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="209,1193,359,1273">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="223,1291,345,1371">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="223,1388,345,1468">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="215,1485,353,1565">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="223,1583,345,1663">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="224,1680,344,1760">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="219,1777,349,1857">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="223,1875,345,1955">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="224,1972,344,2052">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/groups.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/hook.html b/hubzilla_er/tables/hook.html
new file mode 100644
index 000000000..08d9b1aa7
--- /dev/null
+++ b/hubzilla_er/tables/hook.html
@@ -0,0 +1,221 @@
+<!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 - Table zot.hook</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='hook';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>hook</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="hook.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hook</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>file</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>function</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>priority</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hook</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hook</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="hook.html" title="hook" alt="" coords="5,5,224,181">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/hook.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="237,5,357,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,445,143,843">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="237,103,357,183">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="237,200,357,280">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="236,297,359,377">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="235,395,360,475">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="188,492,407,668">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="235,685,360,765">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="228,783,367,863">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="237,880,357,960">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="237,977,357,1057">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/hook.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/hubloc.html b/hubzilla_er/tables/hubloc.html
new file mode 100644
index 000000000..06c3e388b
--- /dev/null
+++ b/hubzilla_er/tables/hubloc.html
@@ -0,0 +1,433 @@
+<!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 - Table zot.hubloc</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='hubloc';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>hubloc</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>hubloc_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hubloc_guid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>hubloc_guid_sig</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>hubloc_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_addr</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hubloc_network</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_flags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hubloc_status</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>hubloc_url_sig</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_host</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>hubloc_callback</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_connect</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>hubloc_sitekey</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hubloc_connected</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_primary</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hubloc_orphancheck</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hubloc_error</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hubloc_deleted</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='20 columns'>Table contained 1 513 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>hubloc_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_addr</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_addr</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_connect</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_connect</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_connected</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_connected</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_deleted</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_deleted</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_error</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_error</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_guid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_guid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_host</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_host</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_network</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_network</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_orphancheck</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_orphancheck</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_primary</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_primary</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_status</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_status</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_updated</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_updated</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hubloc_url</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hubloc_url</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/issue.html b/hubzilla_er/tables/issue.html
new file mode 100644
index 000000000..f4befe07f
--- /dev/null
+++ b/hubzilla_er/tables/issue.html
@@ -0,0 +1,242 @@
+<!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 - Table zot.issue</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='issue';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>issue</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>issue_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>issue_created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>issue_updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>issue_assigned</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>issue_priority</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>issue_status</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>issue_component</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='7 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>issue_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>issue_assigned</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>issue_assigned</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>issue_component</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>issue_component</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>issue_created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>issue_created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>issue_priority</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>issue_priority</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>issue_status</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>issue_status</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>issue_updated</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>issue_updated</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/item.html b/hubzilla_er/tables/item.html
new file mode 100644
index 000000000..8f2684aa5
--- /dev/null
+++ b/hubzilla_er/tables/item.html
@@ -0,0 +1,1315 @@
+<!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 - Table zot.item</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='item';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>item</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="item.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>mid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>aid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>parent</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>parent_mid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>thr_parent</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>edited</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>expires</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>commented</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>received</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>changed</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>comments_closed</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>owner_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>author_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>source_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>mimetype</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>title</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>body</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>html</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>app</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>lang</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>revision</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>verb</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>obj_type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>object</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>tgt_type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>target</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>layout_mid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>postopts</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>route</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>llink</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>plink</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>resource_id</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>resource_type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>16</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>attach</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>sig</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>diaspora_meta</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>location</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>coord</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>public_policy</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>comment_policy</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_restrict</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_private</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_origin</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_unseen</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_starred</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_uplink</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_consensus</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_wall</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_thread_top</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_notshown</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_nsfw</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_relay</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_mentionsme</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_nocomment</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_obscured</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_verified</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_retained</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_rss</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_deleted</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_type</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_hidden</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_unpublished</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_delayed</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>item_pending_remove</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>item_blocked</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='73 columns'>Table contained 9 613 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>allow_cid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>allow_cid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>allow_gid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>allow_gid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>author_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>author_xchan</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>body</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>body</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>changed</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>changed</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>comment_policy</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>comment_policy</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>commented</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>commented</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>comments_closed</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>comments_closed</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>deny_cid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>deny_cid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>deny_gid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>deny_gid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>edited</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>edited</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>expires</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>expires</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_blocked</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_blocked</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_consensus</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_consensus</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_delayed</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_delayed</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_deleted</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_deleted</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_hidden</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_hidden</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_mentionsme</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_mentionsme</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_nocomment</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_nocomment</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_notshown</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_notshown</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_nsfw</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_nsfw</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_obscured</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_obscured</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_origin</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_origin</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_pending_remove</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_pending_remove</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_private</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_private</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_relay</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_relay</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_restrict</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_restrict</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_retained</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_retained</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_rss</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_rss</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_starred</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_starred</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_thread_top</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_thread_top</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_unpublished</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_unpublished</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_unseen</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_unseen</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_uplink</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_uplink</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_verified</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_verified</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>item_wall</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>item_wall</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>layout_mid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>layout_mid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>llink</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>llink</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mimetype</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mimetype</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>owner_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>owner_xchan</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>parent</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>parent</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>parent_mid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>parent_mid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>public_policy</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>public_policy</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>received</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>received</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>resource_type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>resource_type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>revision</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>revision</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>title</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>title</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid + commented</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid_commented</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid + created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid_created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mid + uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid_mid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>verb</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>verb</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="item.html" title="item" alt="" coords="5,5,344,1723">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/item.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="284,5,404,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,2569,131,2762">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="280,103,408,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="284,200,404,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="283,297,405,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="284,395,404,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="271,492,417,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="283,589,405,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="175,687,513,2404">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="287,2421,401,2501">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="284,2519,404,2599">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="284,2616,404,2696">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="269,2713,419,2793">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="283,2811,405,2891">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="283,2908,405,2988">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="275,3005,413,3085">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="283,3103,405,3183">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="284,3200,404,3280">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="279,3297,409,3377">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="283,3395,405,3475">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="284,3492,404,3572">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/item.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/item_id.html b/hubzilla_er/tables/item_id.html
new file mode 100644
index 000000000..ec66e3999
--- /dev/null
+++ b/hubzilla_er/tables/item_id.html
@@ -0,0 +1,249 @@
+<!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 - Table zot.item_id</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='item_id';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>item_id</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="item_id.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>iid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>sid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>service</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 1 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>iid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>iid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>service</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>service</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>sid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>sid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="item_id.html" title="item_id" alt="" coords="7,5,217,181">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/item_id.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="221,5,341,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,1027,131,1221">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="217,103,345,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="221,200,341,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="220,297,343,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="221,395,341,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="208,492,355,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="220,589,343,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="207,687,356,767">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="176,784,387,960">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="221,977,341,1057">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="221,1075,341,1155">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="207,1172,356,1252">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="220,1269,343,1349">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="220,1367,343,1447">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="212,1464,351,1544">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="220,1561,343,1641">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="221,1659,341,1739">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="216,1756,347,1836">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="220,1853,343,1933">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="221,1951,341,2031">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/item_id.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/likes.html b/hubzilla_er/tables/likes.html
new file mode 100644
index 000000000..6d085fa5a
--- /dev/null
+++ b/hubzilla_er/tables/likes.html
@@ -0,0 +1,321 @@
+<!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 - Table zot.likes</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='likes';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>likes</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="likes.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="likes.channel_id's name implies that it's a child of channel.channel_id, but it doesn't reference that column."><a href='channel.html'>channel</a><span class='relatedKey'>.channel_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>liker</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>likee</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>iid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>verb</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>target_type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>target_id</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>target</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='9 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>iid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>iid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>likee</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>likee</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>liker</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>liker</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>target_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>target_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>target_type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>target_type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>verb</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>verb</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="likes.html" title="likes" alt="" coords="7,5,281,272">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/likes.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="320,881,440,961">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="39,931,164,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="316,979,444,1059">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="320,1076,440,1156">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="319,1173,441,1253">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="320,1271,440,1351">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="307,1368,453,1448">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="319,1465,441,1545">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="305,1563,455,1643">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="323,5,437,85">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="243,1660,517,1927">
+<area shape="rect" id="node22" href="channel.html" title="channel" alt="" coords="7,1945,196,3090">
+<area shape="rect" id="node24" href="mail.html" title="mail" alt="" coords="320,1944,440,2024">
+<area shape="rect" id="node27" href="photo.html" title="photo" alt="" coords="305,103,455,183">
+<area shape="rect" id="node29" href="profdef.html" title="profdef" alt="" coords="319,200,441,280">
+<area shape="rect" id="node31" href="profext.html" title="profext" alt="" coords="319,2041,441,2121">
+<area shape="rect" id="node34" href="profile_check.html" title="profile_check" alt="" coords="311,297,449,377">
+<area shape="rect" id="node36" href="register.html" title="register" alt="" coords="319,395,441,475">
+<area shape="rect" id="node38" href="sign.html" title="sign" alt="" coords="320,492,440,572">
+<area shape="rect" id="node40" href="sys_perms.html" title="sys_perms" alt="" coords="315,589,445,669">
+<area shape="rect" id="node42" href="xconfig.html" title="xconfig" alt="" coords="319,687,441,767">
+<area shape="rect" id="node44" href="xign.html" title="xign" alt="" coords="320,784,440,864">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/likes.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/mail.html b/hubzilla_er/tables/mail.html
new file mode 100644
index 000000000..96056d5ce
--- /dev/null
+++ b/hubzilla_er/tables/mail.html
@@ -0,0 +1,517 @@
+<!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 - Table zot.mail</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='mail';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>mail</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="mail.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>convid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>mail_flags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>from_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>to_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>account_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="mail.account_id's name implies that it's a child of account.account_id, but it doesn't reference that column."><a href='account.html'>account</a><span class='relatedKey'>.account_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>channel_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="mail.channel_id's name implies that it's a child of channel.channel_id, but it doesn't reference that column."><a href='channel.html'>channel</a><span class='relatedKey'>.channel_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>title</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>body</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>sig</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>attach</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>mid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>parent_mid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>mail_deleted</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>mail_replied</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>mail_isreply</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>mail_seen</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>mail_recalled</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>mail_obscured</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>expires</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='21 columns'>Table contained 7 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>account_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>account_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>convid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>convid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>expires</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>expires</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>from_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>from_xchan</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mail_deleted</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mail_deleted</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mail_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mail_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mail_isreply</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mail_isreply</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mail_obscured</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mail_obscured</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mail_recalled</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mail_recalled</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mail_replied</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mail_replied</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mail_seen</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mail_seen</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>parent_mid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>parent_mid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>to_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>to_xchan</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="mail.html" title="mail" alt="" coords="5,5,291,544">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/mail.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="348,881,468,961">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="51,931,176,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="344,979,472,1059">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="348,1076,468,1156">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="347,1173,469,1253">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="348,1271,468,1351">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="335,1368,481,1448">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="347,1465,469,1545">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="333,1563,483,1643">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="351,5,465,85">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="348,2313,468,2393">
+<area shape="rect" id="node22" href="channel.html" title="channel" alt="" coords="19,2105,208,3250">
+<area shape="rect" id="node24" href="mail.html" title="mail" alt="" coords="265,1757,551,2296">
+<area shape="rect" id="node26" href="account.html" title="account" alt="" coords="7,1623,220,2089">
+<area shape="rect" id="node29" href="photo.html" title="photo" alt="" coords="333,103,483,183">
+<area shape="rect" id="node31" href="profdef.html" title="profdef" alt="" coords="347,200,469,280">
+<area shape="rect" id="node33" href="profext.html" title="profext" alt="" coords="347,1660,469,1740">
+<area shape="rect" id="node36" href="profile_check.html" title="profile_check" alt="" coords="339,297,477,377">
+<area shape="rect" id="node38" href="register.html" title="register" alt="" coords="347,395,469,475">
+<area shape="rect" id="node40" href="sign.html" title="sign" alt="" coords="348,492,468,572">
+<area shape="rect" id="node42" href="sys_perms.html" title="sys_perms" alt="" coords="343,589,473,669">
+<area shape="rect" id="node44" href="xconfig.html" title="xconfig" alt="" coords="347,687,469,767">
+<area shape="rect" id="node46" href="xign.html" title="xign" alt="" coords="348,784,468,864">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/mail.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/manage.html b/hubzilla_er/tables/manage.html
new file mode 100644
index 000000000..0275c18c2
--- /dev/null
+++ b/hubzilla_er/tables/manage.html
@@ -0,0 +1,205 @@
+<!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 - Table zot.manage</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='manage';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>manage</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="manage.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='3 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="manage.html" title="manage" alt="" coords="11,5,190,136">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/manage.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="217,5,337,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,445,143,843">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="217,103,337,183">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="217,200,337,280">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="216,297,339,377">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="215,395,340,475">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="217,492,337,572">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="188,589,367,720">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="208,737,347,817">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="217,835,337,915">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="217,932,337,1012">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/manage.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/menu.html b/hubzilla_er/tables/menu.html
new file mode 100644
index 000000000..e165beb4d
--- /dev/null
+++ b/hubzilla_er/tables/menu.html
@@ -0,0 +1,236 @@
+<!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 - Table zot.menu</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='menu';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>menu</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>menu_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>menu_channel_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>menu_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>menu_desc</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>menu_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>menu_created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>menu_edited</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='7 columns'>Table contained 1 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>menu_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>menu_channel_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>menu_channel_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>menu_created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>menu_created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>menu_edited</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>menu_edited</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>menu_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>menu_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>menu_name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>menu_name</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/menu_item.html b/hubzilla_er/tables/menu_item.html
new file mode 100644
index 000000000..92e2eacc9
--- /dev/null
+++ b/hubzilla_er/tables/menu_item.html
@@ -0,0 +1,268 @@
+<!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 - Table zot.menu_item</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='menu_item';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>menu_item</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>mitem_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>mitem_link</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>mitem_desc</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>mitem_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>mitem_channel_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>mitem_menu_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>mitem_order</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='11 columns'>Table contained 1 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>mitem_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mitem_channel_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mitem_channel_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mitem_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mitem_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>mitem_menu_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>mitem_menu_id</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/notify.html b/hubzilla_er/tables/notify.html
new file mode 100644
index 000000000..2eec3e2ce
--- /dev/null
+++ b/hubzilla_er/tables/notify.html
@@ -0,0 +1,434 @@
+<!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 - Table zot.notify</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='notify';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>notify</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="addon.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='addon.html'>addon</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="app.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='app.html'>app</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="event.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='event.html'>event</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="fserver.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='fserver.html'>fserver</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="fsuggest.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='fsuggest.html'>fsuggest</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="hook.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='hook.html'>hook</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="manage.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='manage.html'>manage</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="pconfig.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='pconfig.html'>pconfig</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="profile.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='profile.html'>profile</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="spam.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='spam.html'>spam</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+</td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>photo</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>date</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>msg</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>aid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>link</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>parent</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>seen</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>type</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>verb</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>otype</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>16</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='15 columns'>Table contained 59 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>date</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>date</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>link</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>link</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>otype</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>otype</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>parent</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>parent</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>seen</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>seen</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="notify.html" title="notify" alt="" coords="5,5,277,408">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/notify.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="332,5,471,221">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="5,1572,277,1975">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="332,238,471,613">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="321,629,481,1253">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="340,1270,463,1418">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="339,1435,464,1696">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="340,1713,463,1884">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="339,1901,464,2027">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="332,3324,471,3495">
+<area shape="rect" id="node19" href="cache.html" title="cache" alt="" coords="77,3392,205,3472">
+<area shape="rect" id="node20" href="profile.html" title="profile" alt="" coords="331,2043,472,3098">
+<area shape="rect" id="node22" href="spam.html" title="spam" alt="" coords="341,3114,461,3307">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/notify.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/obj.html b/hubzilla_er/tables/obj.html
new file mode 100644
index 000000000..97f010598
--- /dev/null
+++ b/hubzilla_er/tables/obj.html
@@ -0,0 +1,269 @@
+<!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 - Table zot.obj</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='obj';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>obj</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>obj_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>obj_page</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>obj_verb</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>obj_type</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>obj_obj</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>obj_channel</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='10 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>obj_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>obj_channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>obj_channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>obj_obj</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>obj_obj</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>obj_page</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>obj_page</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>obj_type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>obj_type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>obj_verb</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>obj_verb</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/outq.html b/hubzilla_er/tables/outq.html
new file mode 100644
index 000000000..ceca68f09
--- /dev/null
+++ b/hubzilla_er/tables/outq.html
@@ -0,0 +1,309 @@
+<!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 - Table zot.outq</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='outq';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>outq</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>outq_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>outq_account</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>outq_channel</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>outq_driver</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>outq_posturl</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>outq_async</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>outq_delivered</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>outq_created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>outq_updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>outq_notify</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>outq_msg</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>outq_priority</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='12 columns'>Table contained 2 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>outq_hash</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_account</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_account</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_async</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_async</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_delivered</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_delivered</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_posturl</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_hub</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_priority</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_priority</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>outq_updated</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>outq_updated</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/pconfig.html b/hubzilla_er/tables/pconfig.html
new file mode 100644
index 000000000..3a4eb4fc6
--- /dev/null
+++ b/hubzilla_er/tables/pconfig.html
@@ -0,0 +1,235 @@
+<!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 - Table zot.pconfig</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='pconfig';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>pconfig</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="pconfig.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>cat</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>k</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="pconfig.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='cache.html'>cache</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>v</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 232 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid + cat + k</td>
+ <td class='detail'>Must be unique</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>access</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="pconfig.html" title="pconfig" alt="" coords="5,5,285,181">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/pconfig.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="268,5,388,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,445,143,843">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="268,103,388,183">
+<area shape="rect" id="node6" href="config.html" title="config" alt="" coords="264,1075,392,1155">
+<area shape="rect" id="node8" href="cache.html" title="cache" alt="" coords="8,1173,141,1299">
+<area shape="rect" id="node9" href="event.html" title="event" alt="" coords="268,200,388,280">
+<area shape="rect" id="node11" href="fserver.html" title="fserver" alt="" coords="267,297,389,377">
+<area shape="rect" id="node13" href="fsuggest.html" title="fsuggest" alt="" coords="265,395,391,475">
+<area shape="rect" id="node15" href="hook.html" title="hook" alt="" coords="268,492,388,572">
+<area shape="rect" id="node17" href="manage.html" title="manage" alt="" coords="265,589,391,669">
+<area shape="rect" id="node19" href="pconfig.html" title="pconfig" alt="" coords="188,881,468,1057">
+<area shape="rect" id="node22" href="profext.html" title="profext" alt="" coords="267,1172,389,1252">
+<area shape="rect" id="node24" href="profile.html" title="profile" alt="" coords="268,687,388,767">
+<area shape="rect" id="node26" href="spam.html" title="spam" alt="" coords="268,784,388,864">
+<area shape="rect" id="node28" href="sys_perms.html" title="sys_perms" alt="" coords="263,1269,393,1349">
+<area shape="rect" id="node30" href="xconfig.html" title="xconfig" alt="" coords="267,1367,389,1447">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/pconfig.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/photo.html b/hubzilla_er/tables/photo.html
new file mode 100644
index 000000000..0bc69e071
--- /dev/null
+++ b/hubzilla_er/tables/photo.html
@@ -0,0 +1,556 @@
+<!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 - Table zot.photo</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='photo';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>photo</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="photo.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>aid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>resource_id</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>edited</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>title</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>description</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>album</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>filename</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>image/jpeg</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>height</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>width</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>size</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>data</td>
+ <td class='detail'>mediumblob</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>scale</td>
+ <td class='detail'>tinyint</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>photo_usage</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>profile</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>is_nsfw</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>os_storage</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>os_path</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>display_path</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>photo_flags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>allow_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>allow_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>deny_cid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>deny_gid</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='28 columns'>Table contained 3 495 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>album</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>album</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>is_nsfw</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>is_nsfw</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>os_storage</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>os_storage</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>photo_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>photo_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>photo_usage</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>photo_usage</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>profile</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>profile</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>resource_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>resource_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>scale</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>scale</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>size</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>size</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="photo.html" title="photo" alt="" coords="7,5,319,702">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/photo.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="272,5,392,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,931,131,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="268,103,396,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="272,200,392,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="271,297,393,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="272,395,392,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="259,492,405,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="271,589,393,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="257,687,407,767">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="275,784,389,864">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="272,881,392,961">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="272,979,392,1059">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="176,1075,488,1773">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="271,1789,393,1869">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="271,1887,393,1967">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="263,1984,401,2064">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="271,2081,393,2161">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="272,2179,392,2259">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="267,2276,397,2356">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="271,2373,393,2453">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="272,2471,392,2551">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/photo.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/poll.html b/hubzilla_er/tables/poll.html
new file mode 100644
index 000000000..7ad9eea73
--- /dev/null
+++ b/hubzilla_er/tables/poll.html
@@ -0,0 +1,202 @@
+<!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 - Table zot.poll</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='poll';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>poll</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>poll_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>poll_channel</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>poll_desc</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>poll_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>poll_votes</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>poll_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>poll_channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>poll_channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>poll_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>poll_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>poll_votes</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>poll_votes</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/poll_elm.html b/hubzilla_er/tables/poll_elm.html
new file mode 100644
index 000000000..cb6b95fbe
--- /dev/null
+++ b/hubzilla_er/tables/poll_elm.html
@@ -0,0 +1,196 @@
+<!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 - Table zot.poll_elm</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='poll_elm';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>poll_elm</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>pelm_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>pelm_poll</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>pelm_desc</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>pelm_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>pelm_result</td>
+ <td class='detail'>float</td>
+ <td class='detail' align='right'>12</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>pelm_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>pelm_poll</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>pelm_poll</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>pelm_result</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>pelm_result</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/profdef.html b/hubzilla_er/tables/profdef.html
new file mode 100644
index 000000000..2734deed0
--- /dev/null
+++ b/hubzilla_er/tables/profdef.html
@@ -0,0 +1,242 @@
+<!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 - Table zot.profdef</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='profdef';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>profdef</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="profdef.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>field_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>field_type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>16</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>field_desc</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>field_help</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>field_inputs</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>field_name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>field_name</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="profdef.html" title="profdef" alt="" coords="7,5,281,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/profdef.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="253,5,373,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,931,131,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="249,103,377,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="253,200,373,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="252,297,375,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="253,395,373,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="240,492,387,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="252,589,375,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="239,687,388,767">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="256,784,371,864">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="253,881,373,961">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="253,979,373,1059">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="239,1076,388,1156">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="176,1173,451,1371">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="252,1388,375,1468">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="244,1485,383,1565">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="252,1583,375,1663">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="253,1680,373,1760">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="248,1777,379,1857">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="252,1875,375,1955">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="253,1972,373,2052">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/profdef.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/profext.html b/hubzilla_er/tables/profext.html
new file mode 100644
index 000000000..36472fcf9
--- /dev/null
+++ b/hubzilla_er/tables/profext.html
@@ -0,0 +1,264 @@
+<!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 - Table zot.profext</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='profext';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>profext</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="profext.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="profext.channel_id's name implies that it's a child of channel.channel_id, but it doesn't reference that column."><a href='channel.html'>channel</a><span class='relatedKey'>.channel_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>k</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="profext.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='cache.html'>cache</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>v</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>k</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>k</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="profext.html" title="profext" alt="" coords="7,5,279,181">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/profext.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="319,687,439,767">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="39,882,164,1075">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="315,1781,443,1861">
+<area shape="rect" id="node7" href="cache.html" title="cache" alt="" coords="35,2253,168,2379">
+<area shape="rect" id="node8" href="conv.html" title="conv" alt="" coords="319,784,439,864">
+<area shape="rect" id="node10" href="fcontact.html" title="fcontact" alt="" coords="317,881,440,961">
+<area shape="rect" id="node12" href="ffinder.html" title="ffinder" alt="" coords="319,979,439,1059">
+<area shape="rect" id="node14" href="group_member.html" title="group_member" alt="" coords="305,1076,452,1156">
+<area shape="rect" id="node16" href="groups.html" title="groups" alt="" coords="317,1173,440,1253">
+<area shape="rect" id="node18" href="item.html" title="item" alt="" coords="304,1271,453,1351">
+<area shape="rect" id="node20" href="item_id.html" title="item_id" alt="" coords="321,5,436,85">
+<area shape="rect" id="node22" href="likes.html" title="likes" alt="" coords="319,1465,439,1545">
+<area shape="rect" id="node24" href="channel.html" title="channel" alt="" coords="7,1091,196,2237">
+<area shape="rect" id="node26" href="mail.html" title="mail" alt="" coords="319,1368,439,1448">
+<area shape="rect" id="node29" href="pconfig.html" title="pconfig" alt="" coords="309,2252,448,2332">
+<area shape="rect" id="node31" href="photo.html" title="photo" alt="" coords="304,103,453,183">
+<area shape="rect" id="node33" href="profdef.html" title="profdef" alt="" coords="317,200,440,280">
+<area shape="rect" id="node35" href="profext.html" title="profext" alt="" coords="243,1563,515,1739">
+<area shape="rect" id="node39" href="profile_check.html" title="profile_check" alt="" coords="309,297,448,377">
+<area shape="rect" id="node41" href="register.html" title="register" alt="" coords="317,395,440,475">
+<area shape="rect" id="node43" href="sign.html" title="sign" alt="" coords="319,492,439,572">
+<area shape="rect" id="node45" href="sys_perms.html" title="sys_perms" alt="" coords="313,1929,444,2009">
+<area shape="rect" id="node48" href="xconfig.html" title="xconfig" alt="" coords="317,2128,440,2208">
+<area shape="rect" id="node51" href="xign.html" title="xign" alt="" coords="319,589,439,669">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/profext.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/profile.html b/hubzilla_er/tables/profile.html
new file mode 100644
index 000000000..e439f0e0b
--- /dev/null
+++ b/hubzilla_er/tables/profile.html
@@ -0,0 +1,728 @@
+<!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 - Table zot.profile</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='profile';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>profile</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="profile.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>profile_guid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>aid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>profile_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>is_default</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hide_friends</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>pdesc</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>chandesc</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>dob</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>dob_tz</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>UTC</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>address</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>locality</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>region</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>postal_code</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>country_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>hometown</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>gender</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>marital</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>with</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>howlong</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>sexual</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>politic</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>religion</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>keywords</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>likes</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>dislikes</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>about</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>summary</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>music</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>book</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>tv</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>film</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>interest</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>romance</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>work</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>education</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>contact</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>channels</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>homepage</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>photo</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>thumb</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>publish</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='44 columns'>Table contained 4 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>country_name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>country_name</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>gender</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>gender</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>profile_guid + uid</td>
+ <td class='detail'>Must be unique</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>guid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hide_friends</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hide_friends</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hometown</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hometown</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>is_default</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>is_default</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>locality</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>locality</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>marital</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>marital</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>postal_code</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>postal_code</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>profile_guid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>profile_guid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>publish</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>publish</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>sexual</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>sexual</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="profile.html" title="profile" alt="" coords="5,5,245,1065">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/profile.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="248,5,368,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,445,143,843">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="248,103,368,183">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="248,200,368,280">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="247,297,369,377">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="245,395,371,475">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="248,492,368,572">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="245,589,371,669">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="239,687,377,767">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="188,783,428,1843">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="248,1860,368,1940">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/profile.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/profile_check.html b/hubzilla_er/tables/profile_check.html
new file mode 100644
index 000000000..72ef92044
--- /dev/null
+++ b/hubzilla_er/tables/profile_check.html
@@ -0,0 +1,266 @@
+<!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 - Table zot.profile_check</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='profile_check';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>profile_check</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="profile_check.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>dfrn_id</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>sec</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>expire</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>dfrn_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>dfrn_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>expire</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>expire</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>sec</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>sec</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="profile_check.html" title="profile_check" alt="" coords="5,5,227,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/profile_check.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="225,5,345,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,931,131,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="221,103,349,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="225,200,345,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="224,297,347,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="225,395,345,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="212,492,359,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="224,589,347,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="211,687,360,767">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="228,784,343,864">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="225,881,345,961">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="225,979,345,1059">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="211,1076,360,1156">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="224,1173,347,1253">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="224,1271,347,1351">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="175,1367,396,1566">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="224,1583,347,1663">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="225,1680,345,1760">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="220,1777,351,1857">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="224,1875,347,1955">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="225,1972,345,2052">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/profile_check.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/register.html b/hubzilla_er/tables/register.html
new file mode 100644
index 000000000..42a6ec3ed
--- /dev/null
+++ b/hubzilla_er/tables/register.html
@@ -0,0 +1,254 @@
+<!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 - Table zot.register</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='register';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>register</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="register.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>password</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>language</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>16</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="register.html" title="register" alt="" coords="7,5,231,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/register.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="228,5,348,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,931,131,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="224,103,352,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="228,200,348,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="227,297,349,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="228,395,348,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="215,492,361,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="227,589,349,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="213,687,363,767">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="231,784,345,864">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="228,881,348,961">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="228,979,348,1059">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="213,1076,363,1156">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="227,1173,349,1253">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="227,1271,349,1351">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="219,1368,357,1448">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="176,1465,400,1663">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="228,1680,348,1760">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="223,1777,353,1857">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="227,1875,349,1955">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="228,1972,348,2052">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/register.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/session.html b/hubzilla_er/tables/session.html
new file mode 100644
index 000000000..452d1b776
--- /dev/null
+++ b/hubzilla_er/tables/session.html
@@ -0,0 +1,185 @@
+<!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 - Table zot.session</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='session';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>session</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>bigint unsigned</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>sid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>data</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>expire</td>
+ <td class='detail'>bigint unsigned</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 23 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>expire</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>expire</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>sid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>sid</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/shares.html b/hubzilla_er/tables/shares.html
new file mode 100644
index 000000000..e370e5c9a
--- /dev/null
+++ b/hubzilla_er/tables/shares.html
@@ -0,0 +1,191 @@
+<!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 - Table zot.shares</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='shares';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>shares</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>share_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>share_type</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>share_target</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>share_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>share_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>share_target</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>share_target</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>share_type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>share_type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>share_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>share_xchan</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/sign.html b/hubzilla_er/tables/sign.html
new file mode 100644
index 000000000..3ab4d8d31
--- /dev/null
+++ b/hubzilla_er/tables/sign.html
@@ -0,0 +1,248 @@
+<!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 - Table zot.sign</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='sign';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>sign</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="sign.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>iid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>retract_iid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>signed_text</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>signature</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>signer</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>iid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>iid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>retract_iid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>retract_iid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="sign.html" title="sign" alt="" coords="7,5,281,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/sign.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="253,5,373,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,931,131,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="249,103,377,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="253,200,373,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="252,297,375,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="253,395,373,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="240,492,387,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="252,589,375,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="239,687,388,767">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="256,784,371,864">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="253,881,373,961">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="253,979,373,1059">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="239,1076,388,1156">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="252,1173,375,1253">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="252,1271,375,1351">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="244,1368,383,1448">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="252,1465,375,1545">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="176,1562,451,1761">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="248,1777,379,1857">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="252,1875,375,1955">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="253,1972,373,2052">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/sign.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/site.html b/hubzilla_er/tables/site.html
new file mode 100644
index 000000000..0f4631eea
--- /dev/null
+++ b/hubzilla_er/tables/site.html
@@ -0,0 +1,332 @@
+<!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 - Table zot.site</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='site';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>site</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>site_url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>site_access</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>site_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>site_update</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>site_pull</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>site_sync</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>site_directory</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>site_register</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>site_sellpage</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>site_location</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>site_realm</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>site_valid</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>site_dead</td>
+ <td class='detail'>smallint</td>
+ <td class='detail' align='right'>5</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='13 columns'>Table contained 117 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>site_url</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_access</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_access</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_dead</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_dead</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_directory</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_directory</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_pull</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_pull</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_realm</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_realm</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_register</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_register</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_sellpage</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_sellpage</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_update</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_update</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>site_valid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>site_valid</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/source.html b/hubzilla_er/tables/source.html
new file mode 100644
index 000000000..ac58a2798
--- /dev/null
+++ b/hubzilla_er/tables/source.html
@@ -0,0 +1,202 @@
+<!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 - Table zot.source</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='source';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>source</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>src_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>src_channel_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>src_channel_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>src_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>src_patt</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>src_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>src_channel_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>src_channel_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>src_channel_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>src_channel_xchan</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>src_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>src_xchan</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/spam.html b/hubzilla_er/tables/spam.html
new file mode 100644
index 000000000..9996c49cd
--- /dev/null
+++ b/hubzilla_er/tables/spam.html
@@ -0,0 +1,250 @@
+<!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 - Table zot.spam</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='spam';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>spam</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="spam.id's name implies that it's a child of notify.id, but it doesn't reference that column."><a href='notify.html'>notify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>spam</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>ham</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>term</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>date</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ham</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ham</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>spam</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>spam</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>term</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>term</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="spam.html" title="spam" alt="" coords="5,5,203,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/spam.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="addon.html" title="addon" alt="" coords="227,5,347,85">
+<area shape="rect" id="node3" href="notify.html" title="notify" alt="" coords="7,445,143,843">
+<area shape="rect" id="node4" href="app.html" title="app" alt="" coords="227,103,347,183">
+<area shape="rect" id="node6" href="event.html" title="event" alt="" coords="227,200,347,280">
+<area shape="rect" id="node8" href="fserver.html" title="fserver" alt="" coords="225,297,348,377">
+<area shape="rect" id="node10" href="fsuggest.html" title="fsuggest" alt="" coords="224,395,349,475">
+<area shape="rect" id="node12" href="hook.html" title="hook" alt="" coords="227,492,347,572">
+<area shape="rect" id="node14" href="manage.html" title="manage" alt="" coords="224,589,349,669">
+<area shape="rect" id="node16" href="pconfig.html" title="pconfig" alt="" coords="217,687,356,767">
+<area shape="rect" id="node18" href="profile.html" title="profile" alt="" coords="227,784,347,864">
+<area shape="rect" id="node20" href="spam.html" title="spam" alt="" coords="188,881,385,1079">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/spam.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/sys_perms.html b/hubzilla_er/tables/sys_perms.html
new file mode 100644
index 000000000..672b98166
--- /dev/null
+++ b/hubzilla_er/tables/sys_perms.html
@@ -0,0 +1,236 @@
+<!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 - Table zot.sys_perms</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='sys_perms';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>sys_perms</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="sys_perms.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>cat</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>k</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="sys_perms.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='cache.html'>cache</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>v</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>public_perm</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="sys_perms.html" title="sys_perms" alt="" coords="7,5,284,181">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/sys_perms.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="263,1465,383,1545">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="9,931,135,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="259,1660,387,1740">
+<area shape="rect" id="node7" href="cache.html" title="cache" alt="" coords="5,1759,139,1884">
+<area shape="rect" id="node8" href="conv.html" title="conv" alt="" coords="263,5,383,85">
+<area shape="rect" id="node10" href="fcontact.html" title="fcontact" alt="" coords="261,103,384,183">
+<area shape="rect" id="node12" href="ffinder.html" title="ffinder" alt="" coords="263,200,383,280">
+<area shape="rect" id="node14" href="group_member.html" title="group_member" alt="" coords="249,297,396,377">
+<area shape="rect" id="node16" href="groups.html" title="groups" alt="" coords="261,395,384,475">
+<area shape="rect" id="node18" href="item.html" title="item" alt="" coords="248,492,397,572">
+<area shape="rect" id="node20" href="item_id.html" title="item_id" alt="" coords="265,589,380,669">
+<area shape="rect" id="node22" href="likes.html" title="likes" alt="" coords="263,687,383,767">
+<area shape="rect" id="node24" href="mail.html" title="mail" alt="" coords="263,784,383,864">
+<area shape="rect" id="node26" href="pconfig.html" title="pconfig" alt="" coords="253,2048,392,2128">
+<area shape="rect" id="node28" href="photo.html" title="photo" alt="" coords="248,881,397,961">
+<area shape="rect" id="node30" href="profdef.html" title="profdef" alt="" coords="261,979,384,1059">
+<area shape="rect" id="node32" href="profext.html" title="profext" alt="" coords="261,1757,384,1837">
+<area shape="rect" id="node35" href="profile_check.html" title="profile_check" alt="" coords="253,1076,392,1156">
+<area shape="rect" id="node37" href="register.html" title="register" alt="" coords="261,1173,384,1253">
+<area shape="rect" id="node39" href="sign.html" title="sign" alt="" coords="263,1271,383,1351">
+<area shape="rect" id="node41" href="sys_perms.html" title="sys_perms" alt="" coords="184,1855,461,2031">
+<area shape="rect" id="node44" href="xconfig.html" title="xconfig" alt="" coords="261,1563,384,1643">
+<area shape="rect" id="node47" href="xign.html" title="xign" alt="" coords="263,1368,383,1448">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/sys_perms.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/term.html b/hubzilla_er/tables/term.html
new file mode 100644
index 000000000..5f1039d06
--- /dev/null
+++ b/hubzilla_er/tables/term.html
@@ -0,0 +1,304 @@
+<!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 - Table zot.term</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='term';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>term</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>tid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>aid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>oid</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>otype</td>
+ <td class='detail'>tinyint unsigned</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>type</td>
+ <td class='detail'>tinyint unsigned</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>term</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>imgurl</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>term_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>parent_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='11 columns'>Table contained 7 585 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>tid</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>aid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>aid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>imgurl</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>imgurl</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>oid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>oid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>otype</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>otype</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>parent_hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>parent_hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>term</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>term</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>term_hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>term_hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>type</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/tokens.html b/hubzilla_er/tables/tokens.html
new file mode 100644
index 000000000..0217c4f11
--- /dev/null
+++ b/hubzilla_er/tables/tokens.html
@@ -0,0 +1,245 @@
+<!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 - Table zot.tokens</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='tokens';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>tokens</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>40</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="auth_codes.id's name implies that it's a child of tokens.id, but it doesn't reference that column."><a href='auth_codes.html'>auth_codes</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+</td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>secret</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>client_id</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="tokens.client_id's name implies that it's a child of clients.client_id, but it doesn't reference that column."><a href='clients.html'>clients</a><span class='relatedKey'>.client_id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>expires</td>
+ <td class='detail'>bigint unsigned</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>scope</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>200</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>client_id</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>client_id</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>expires</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>expires</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="tokens.html" title="tokens" alt="" coords="5,5,245,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/tokens.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="auth_codes.html" title="auth_codes" alt="" coords="468,88,599,259">
+<area shape="rect" id="node3" href="clients.html" title="clients" alt="" coords="7,121,137,314">
+<area shape="rect" id="node5" href="tokens.html" title="tokens" alt="" coords="183,5,423,203">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/tokens.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/updates.html b/hubzilla_er/tables/updates.html
new file mode 100644
index 000000000..78d0b01ad
--- /dev/null
+++ b/hubzilla_er/tables/updates.html
@@ -0,0 +1,242 @@
+<!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 - Table zot.updates</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='updates';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>updates</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>ud_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>ud_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>128</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>ud_guid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>ud_date</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>ud_last</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>ud_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>ud_addr</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='7 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>ud_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ud_addr</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ud_addr</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ud_date</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ud_date</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ud_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ud_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ud_guid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ud_guid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ud_hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ud_hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>ud_last</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>ud_last</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/verify.html b/hubzilla_er/tables/verify.html
new file mode 100644
index 000000000..e01eb4f62
--- /dev/null
+++ b/hubzilla_er/tables/verify.html
@@ -0,0 +1,383 @@
+<!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 - Table zot.verify</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='verify';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>verify</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="attach.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='attach.html'>attach</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="config.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='config.html'>config</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="conv.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='conv.html'>conv</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="fcontact.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='fcontact.html'>fcontact</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="ffinder.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='ffinder.html'>ffinder</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="group_member.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='group_member.html'>group_member</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="groups.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='groups.html'>groups</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="item.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='item.html'>item</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="item_id.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='item_id.html'>item_id</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="likes.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='likes.html'>likes</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="mail.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='mail.html'>mail</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="photo.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='photo.html'>photo</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="profdef.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='profdef.html'>profdef</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="profext.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='profext.html'>profext</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="profile_check.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='profile_check.html'>profile_check</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="register.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='register.html'>register</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="sign.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='sign.html'>sign</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="sys_perms.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='sys_perms.html'>sys_perms</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="xconfig.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='xconfig.html'>xconfig</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="xign.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='xign.html'>xign</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+</td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>channel</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>type</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>token</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>meta</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>created</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='6 columns'>Table contained 1 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>created</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>created</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>meta</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>meta</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>token</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>token</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>type</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>type</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="verify.html" title="verify" alt="" coords="7,5,217,203">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/verify.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="297,776,433,1355">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="7,2493,217,2691">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="301,6451,429,6599">
+<area shape="rect" id="node7" href="cache.html" title="cache" alt="" coords="48,6580,176,6660">
+<area shape="rect" id="node8" href="conv.html" title="conv" alt="" coords="303,1371,428,1610">
+<area shape="rect" id="node10" href="fcontact.html" title="fcontact" alt="" coords="303,1626,428,2046">
+<area shape="rect" id="node12" href="ffinder.html" title="ffinder" alt="" coords="305,2062,425,2210">
+<area shape="rect" id="node14" href="group_member.html" title="group_member" alt="" coords="292,2226,439,2374">
+<area shape="rect" id="node16" href="groups.html" title="groups" alt="" coords="304,2390,427,2583">
+<area shape="rect" id="node18" href="item.html" title="item" alt="" coords="264,2600,467,4312">
+<area shape="rect" id="node20" href="item_id.html" title="item_id" alt="" coords="308,4329,423,4500">
+<area shape="rect" id="node22" href="likes.html" title="likes" alt="" coords="300,5985,431,6247">
+<area shape="rect" id="node24" href="channel.html" title="channel" alt="" coords="51,6007,173,6087">
+<area shape="rect" id="node26" href="mail.html" title="mail" alt="" coords="293,5435,437,5968">
+<area shape="rect" id="node28" href="account.html" title="account" alt="" coords="53,5547,171,5627">
+<area shape="rect" id="node31" href="photo.html" title="photo" alt="" coords="284,4517,447,5209">
+<area shape="rect" id="node33" href="profdef.html" title="profdef" alt="" coords="300,5225,431,5418">
+<area shape="rect" id="node35" href="profext.html" title="profext" alt="" coords="300,6264,431,6435">
+<area shape="rect" id="node39" href="profile_check.html" title="profile_check" alt="" coords="296,5,435,198">
+<area shape="rect" id="node41" href="register.html" title="register" alt="" coords="301,214,429,407">
+<area shape="rect" id="node43" href="sign.html" title="sign" alt="" coords="300,423,431,617">
+<area shape="rect" id="node45" href="sys_perms.html" title="sys_perms" alt="" coords="299,6616,432,6787">
+<area shape="rect" id="node48" href="xconfig.html" title="xconfig" alt="" coords="304,6804,427,6975">
+<area shape="rect" id="node51" href="xign.html" title="xign" alt="" coords="305,633,425,759">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/verify.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/vote.html b/hubzilla_er/tables/vote.html
new file mode 100644
index 000000000..641c39857
--- /dev/null
+++ b/hubzilla_er/tables/vote.html
@@ -0,0 +1,202 @@
+<!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 - Table zot.vote</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='vote';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>vote</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>vote_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>vote_poll</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>vote_element</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>vote_result</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>vote_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>vote_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>vote_element</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>vote_element</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>vote_poll</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>vote_poll</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>vote_poll + vote_element + vote_xchan</td>
+ <td class='detail'>Must be unique</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span>/<span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>vote_vote</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xchan.html b/hubzilla_er/tables/xchan.html
new file mode 100644
index 000000000..97be20010
--- /dev/null
+++ b/hubzilla_er/tables/xchan.html
@@ -0,0 +1,511 @@
+<!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 - Table zot.xchan</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xchan';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xchan</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>xchan_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_guid</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>xchan_guid_sig</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>xchan_pubkey</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>xchan_photo_mimetype</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>image/jpeg</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>xchan_photo_l</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>xchan_photo_m</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>xchan_photo_s</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchan_addr</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchan_connurl</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_follow</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>xchan_connpage</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_name</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchan_network</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_instance_url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchan_flags</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>xchan_photo_date</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>xchan_name_date</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_hidden</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchan_orphan</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_censored</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchan_selfcensored</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_system</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchan_pubforum</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan_deleted</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='26 columns'>Table contained 1 168 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>xchan_hash</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_addr</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_addr</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_censored</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_censored</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_connurl</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_connurl</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_deleted</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_deleted</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_follow</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_follow</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_guid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_guid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_hidden</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_hidden</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_instance_url</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_instance_url</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_name</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_name</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_network</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_network</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_orphan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_orphan</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_pubforum</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_pubforum</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_selfcensored</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_selfcensored</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_system</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_system</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan_url</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan_url</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xchat.html b/hubzilla_er/tables/xchat.html
new file mode 100644
index 000000000..707f80199
--- /dev/null
+++ b/hubzilla_er/tables/xchat.html
@@ -0,0 +1,208 @@
+<!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 - Table zot.xchat</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xchat';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xchat</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>xchat_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchat_url</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchat_desc</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchat_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xchat_edited</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>xchat_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchat_desc</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchat_desc</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchat_edited</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchat_edited</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchat_url</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchat_url</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchat_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchat_xchan</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xconfig.html b/hubzilla_er/tables/xconfig.html
new file mode 100644
index 000000000..c3e3c453a
--- /dev/null
+++ b/hubzilla_er/tables/xconfig.html
@@ -0,0 +1,254 @@
+<!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 - Table zot.xconfig</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xconfig';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xconfig</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative even' valign='top'>
+ <td class='relatedTable detail' title="xconfig.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>cat</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>k</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="xconfig.k's name implies that it's a child of cache.k, but it doesn't reference that column."><a href='cache.html'>cache</a><span class='relatedKey'>.k</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>v</td>
+ <td class='detail'>mediumtext</td>
+ <td class='detail' align='right'>16777215</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='5 columns'>Table contained 4 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>cat</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>cat</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>k</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>k</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="xconfig.html" title="xconfig" alt="" coords="5,5,269,181">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/xconfig.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="255,1465,375,1545">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="9,931,135,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="251,1756,379,1836">
+<area shape="rect" id="node7" href="cache.html" title="cache" alt="" coords="5,1855,139,1980">
+<area shape="rect" id="node8" href="conv.html" title="conv" alt="" coords="255,5,375,85">
+<area shape="rect" id="node10" href="fcontact.html" title="fcontact" alt="" coords="253,103,376,183">
+<area shape="rect" id="node12" href="ffinder.html" title="ffinder" alt="" coords="255,200,375,280">
+<area shape="rect" id="node14" href="group_member.html" title="group_member" alt="" coords="241,297,388,377">
+<area shape="rect" id="node16" href="groups.html" title="groups" alt="" coords="253,395,376,475">
+<area shape="rect" id="node18" href="item.html" title="item" alt="" coords="240,492,389,572">
+<area shape="rect" id="node20" href="item_id.html" title="item_id" alt="" coords="257,589,372,669">
+<area shape="rect" id="node22" href="likes.html" title="likes" alt="" coords="255,687,375,767">
+<area shape="rect" id="node24" href="mail.html" title="mail" alt="" coords="255,784,375,864">
+<area shape="rect" id="node26" href="pconfig.html" title="pconfig" alt="" coords="245,2048,384,2128">
+<area shape="rect" id="node28" href="photo.html" title="photo" alt="" coords="240,881,389,961">
+<area shape="rect" id="node30" href="profdef.html" title="profdef" alt="" coords="253,979,376,1059">
+<area shape="rect" id="node32" href="profext.html" title="profext" alt="" coords="253,1853,376,1933">
+<area shape="rect" id="node35" href="profile_check.html" title="profile_check" alt="" coords="245,1076,384,1156">
+<area shape="rect" id="node37" href="register.html" title="register" alt="" coords="253,1173,376,1253">
+<area shape="rect" id="node39" href="sign.html" title="sign" alt="" coords="255,1271,375,1351">
+<area shape="rect" id="node41" href="sys_perms.html" title="sys_perms" alt="" coords="249,1951,380,2031">
+<area shape="rect" id="node44" href="xconfig.html" title="xconfig" alt="" coords="183,1563,447,1739">
+<area shape="rect" id="node47" href="xign.html" title="xign" alt="" coords="255,1368,375,1448">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/xconfig.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xign.html b/hubzilla_er/tables/xign.html
new file mode 100644
index 000000000..a8d430c34
--- /dev/null
+++ b/hubzilla_er/tables/xign.html
@@ -0,0 +1,215 @@
+<!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 - Table zot.xign</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xign';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xign</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='implied'><input type=checkbox id='implied' checked>Implied relationships</label>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'>
+ <table border='0' width='100%' cellspacing='0' cellpadding='0'>
+ <tr class='impliedRelationship relative odd' valign='top'>
+ <td class='relatedTable detail' title="xign.id's name implies that it's a child of verify.id, but it doesn't reference that column."><a href='verify.html'>verify</a><span class='relatedKey'>.id</span>
+ </td>
+ <td class='constraint detail'>Implied Constraint<span title='Restrict delete:
+ Parent cannot be deleted if children exist'>&nbsp;R</span></td>
+ </tr>
+ </table>
+ </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>uid</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='3 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>uid</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>uid</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xchan</td>
+ </tr>
+</table>
+</div>
+<table width='100%' border='0'><tr><td class='container'>
+<br><form action='get'><b>Close relationships:</b></form><map id="oneDegreeRelationshipsDiagram" name="oneDegreeRelationshipsDiagram">
+<area shape="rect" id="node1" href="xign.html" title="xign" alt="" coords="5,5,224,136">
+</map>
+ <a name='diagram'><img id='oneDegreeImg' src='../diagrams/xign.1degree.png' usemap='#oneDegreeRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+<map id="impliedTwoDegreesRelationshipsDiagram" name="impliedTwoDegreesRelationshipsDiagram">
+<area shape="rect" id="node1" href="attach.html" title="attach" alt="" coords="224,5,344,85">
+<area shape="rect" id="node3" href="verify.html" title="verify" alt="" coords="5,931,131,1125">
+<area shape="rect" id="node4" href="config.html" title="config" alt="" coords="220,103,348,183">
+<area shape="rect" id="node6" href="conv.html" title="conv" alt="" coords="224,200,344,280">
+<area shape="rect" id="node8" href="fcontact.html" title="fcontact" alt="" coords="223,297,345,377">
+<area shape="rect" id="node10" href="ffinder.html" title="ffinder" alt="" coords="224,395,344,475">
+<area shape="rect" id="node12" href="group_member.html" title="group_member" alt="" coords="211,492,357,572">
+<area shape="rect" id="node14" href="groups.html" title="groups" alt="" coords="223,589,345,669">
+<area shape="rect" id="node16" href="item.html" title="item" alt="" coords="209,687,359,767">
+<area shape="rect" id="node18" href="item_id.html" title="item_id" alt="" coords="227,784,341,864">
+<area shape="rect" id="node20" href="likes.html" title="likes" alt="" coords="224,881,344,961">
+<area shape="rect" id="node22" href="mail.html" title="mail" alt="" coords="224,979,344,1059">
+<area shape="rect" id="node24" href="photo.html" title="photo" alt="" coords="209,1076,359,1156">
+<area shape="rect" id="node26" href="profdef.html" title="profdef" alt="" coords="223,1173,345,1253">
+<area shape="rect" id="node28" href="profext.html" title="profext" alt="" coords="223,1271,345,1351">
+<area shape="rect" id="node30" href="profile_check.html" title="profile_check" alt="" coords="215,1368,353,1448">
+<area shape="rect" id="node32" href="register.html" title="register" alt="" coords="223,1465,345,1545">
+<area shape="rect" id="node34" href="sign.html" title="sign" alt="" coords="224,1563,344,1643">
+<area shape="rect" id="node36" href="sys_perms.html" title="sys_perms" alt="" coords="219,1660,349,1740">
+<area shape="rect" id="node38" href="xconfig.html" title="xconfig" alt="" coords="223,1757,345,1837">
+<area shape="rect" id="node40" href="xign.html" title="xign" alt="" coords="175,1855,393,1985">
+</map>
+
+ <a name='diagram'><img id='impliedTwoDegreesImg' src='../diagrams/xign.implied2degrees.png' usemap='#impliedTwoDegreesRelationshipsDiagram' class='diagram' border='0' alt='' align='left'></a>
+</td></tr></table>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xlink.html b/hubzilla_er/tables/xlink.html
new file mode 100644
index 000000000..8b4c81ad7
--- /dev/null
+++ b/hubzilla_er/tables/xlink.html
@@ -0,0 +1,247 @@
+<!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 - Table zot.xlink</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xlink';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xlink</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>xlink_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xlink_xchan</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xlink_link</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xlink_rating</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>xlink_rating_text</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xlink_updated</td>
+ <td class='detail'>datetime</td>
+ <td class='detail' align='right'>19</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0000-00-00 00:00:00</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xlink_static</td>
+ <td class='detail'>bit</td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>xlink_sig</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='8 columns'>Table contained 244 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>xlink_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xlink_link</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xlink_link</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xlink_rating</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xlink_rating</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xlink_static</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xlink_static</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xlink_updated</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xlink_updated</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xlink_xchan</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xlink_xchan</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xperm.html b/hubzilla_er/tables/xperm.html
new file mode 100644
index 000000000..466a84bfa
--- /dev/null
+++ b/hubzilla_er/tables/xperm.html
@@ -0,0 +1,191 @@
+<!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 - Table zot.xperm</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xperm';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xperm</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>xp_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xp_client</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>20</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xp_channel</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xp_perm</td>
+ <td class='detail'>varchar</td>
+ <td class='detail' align='right'>64</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>xp_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xp_channel</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xp_channel</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xp_client</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xp_client</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xp_perm</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xp_perm</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xprof.html b/hubzilla_er/tables/xprof.html
new file mode 100644
index 000000000..c5d7695fb
--- /dev/null
+++ b/hubzilla_er/tables/xprof.html
@@ -0,0 +1,360 @@
+<!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 - Table zot.xprof</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xprof';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xprof</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='even'>
+ <td class='primaryKey' title='Primary Key'>xprof_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xprof_age</td>
+ <td class='detail'>tinyint unsigned</td>
+ <td class='detail' align='right'>3</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xprof_desc</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xprof_dob</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>12</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xprof_gender</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xprof_marital</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xprof_sexual</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xprof_locale</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xprof_region</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xprof_postcode</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>32</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xprof_country</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>xprof_keywords</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='detail'>xprof_about</td>
+ <td class='detail'>text</td>
+ <td class='detail' align='right'>65535</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='detail'>xprof_homepage</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xprof_hometown</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='15 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>xprof_hash</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_age</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_age</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_country</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_country</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_desc</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_desc</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_dob</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_dob</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_gender</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_gender</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_hometown</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_hometown</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_locale</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_locale</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_marital</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_marital</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_postcode</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_postcode</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_region</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_region</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xprof_sexual</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xprof_sexual</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>
diff --git a/hubzilla_er/tables/xtag.html b/hubzilla_er/tables/xtag.html
new file mode 100644
index 000000000..bdd04c26e
--- /dev/null
+++ b/hubzilla_er/tables/xtag.html
@@ -0,0 +1,191 @@
+<!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 - Table zot.xtag</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>
+ <SCRIPT LANGUAGE='JavaScript' TYPE='text/javascript'>
+ table='xtag';
+ </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><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'>Table <span title='Database'>zot</span>.<span title='Table'>xtag</span></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%' border='0'>
+<tr valign='top'><td class='container' align='left' valign='top'>
+<form name='options' action=''>
+ <label for='showRelatedCols'><input type=checkbox id='showRelatedCols'>Related columns</label>
+ <label for='showConstNames'><input type=checkbox id='showConstNames'>Constraints</label>
+ <label for='showComments'><input type=checkbox id='showComments'>Comments</label>
+ <label for='showLegend'><input type=checkbox checked id='showLegend'>Legend</label>
+</form>
+</td><td class='container' rowspan='2' align='right' valign='top'>
+ <table class='legend' border='0'>
+ <tr>
+ <td class='dataTable' valign='bottom'>Legend:</td>
+ <td class='container' align='right' valign='top'><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' colspan='2'>
+ <table class='dataTable' border='1'>
+ <tbody>
+ <tr><td class='primaryKey'>Primary key columns</td></tr>
+ <tr><td class='indexedColumn'>Columns with indexes</td></tr>
+ <tr class='impliedRelationship'><td class='detail'><span class='impliedRelationship'>Implied relationships</span></td></tr>
+ <tr><td class='excludedColumn'>Excluded column relationships</td></tr>
+ <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>
+ </table>
+ </td></tr>
+ </table>
+<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>
+&nbsp;
+</td><tr valign='top'><td class='container' align='left' valign='top'>
+<a name='columns'></a>
+<table id='columns' class='dataTable' border='1' rules='groups'>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup>
+<colgroup class='comment'>
+<thead align='left'>
+<tr>
+ <th>Column</th>
+ <th>Type</th>
+ <th>Size</th>
+ <th title='Are nulls allowed?'>Nulls</th>
+ <th title='Is column automatically updated?'>Auto</th>
+ <th title='Default value'>Default</th>
+ <th title='Columns in tables that reference this column'><span class='notSortedByColumn'>Children</span></th>
+ <th title='Columns in tables that are referenced by this column'><span class='notSortedByColumn'>Parents</span></th>
+ <th title='Comments' class='comment'><span class='notSortedByColumn'>Comments</span></th>
+</tr>
+</thead>
+<tbody valign='top'>
+<tr class='odd'>
+ <td class='primaryKey' title='Primary Key'>xtag_id</td>
+ <td class='detail'>int unsigned</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center' title='Automatically updated by the database'>&nbsp;&radic;&nbsp;</td>
+ <td class='detail'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xtag_hash</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='odd'>
+ <td class='indexedColumn' title='Indexed'>xtag_term</td>
+ <td class='detail'>char</td>
+ <td class='detail' align='right'>255</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'></td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+<tr class='even'>
+ <td class='indexedColumn' title='Indexed'>xtag_flags</td>
+ <td class='detail'>int</td>
+ <td class='detail' align='right'>10</td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='center'></td>
+ <td class='detail' align='right'>0</td>
+ <td class='detail'></td>
+ <td class='detail'> </td>
+ <td class='comment detail'></td>
+</tr>
+</table>
+<p title='4 columns'>Table contained 0 rows at on aug 19 21:08 CEST 2015<p/>
+</td></tr></table>
+<div class='indent'>
+<b>Indexes:</b>
+<table class='dataTable' border='1' rules='groups'><colgroup><colgroup><colgroup><colgroup>
+<thead>
+ <tr>
+ <th>Column(s)</th>
+ <th>Type</th>
+ <th>Sort</th>
+ <th class='constraint' style='text-align:left;'>Constraint Name</th>
+ </tr>
+</thead>
+<tbody>
+ <tr>
+ <td class='primaryKey'>xtag_id</td>
+ <td class='detail'>Primary key</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>PRIMARY</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xtag_flags</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xtag_flags</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xtag_hash</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xtag_hash</td>
+ </tr>
+ <tr>
+ <td class='indexedColumn'>xtag_term</td>
+ <td class='detail'>Performance</td>
+ <td class='detail' style='text-align:left;'><span title='Ascending'>Asc</span></td>
+ <td class='constraint' style='text-align:left;'>xtag_term</td>
+ </tr>
+</table>
+</div>
+</div>
+</body>
+</html>