Commit e18fc343 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Updated for latest pubsub db structure changes.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/branches/2_6_branch@3801 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4ee243a0
...@@ -60,6 +60,8 @@ A <span class="primary-key">yellow row</span> denotes a primary key. ...@@ -60,6 +60,8 @@ A <span class="primary-key">yellow row</span> denotes a primary key.
<li><a href="#mucConversationLog">mucConversationLog</a><br> <li><a href="#mucConversationLog">mucConversationLog</a><br>
</li> </li>
<li><a href="#pubsubNode">pubsubNode</a> </li> <li><a href="#pubsubNode">pubsubNode</a> </li>
<li><a href="#pubsubNodeJIDs">pubsubNodeJIDs</a> </li>
<li><a href="#pubsubNodeGroups">pubsubNodeGroups</a> </li>
<li><a href="#pubsubAffiliation">pubsubAffiliation</a> </li> <li><a href="#pubsubAffiliation">pubsubAffiliation</a> </li>
<li><a href="#pubsubItem">pubsubItem</a> </li> <li><a href="#pubsubItem">pubsubItem</a> </li>
<li><a href="#pubsubSubscription">pubsubSubscription</a> </li> <li><a href="#pubsubSubscription">pubsubSubscription</a> </li>
...@@ -1161,18 +1163,6 @@ roster)</th> ...@@ -1161,18 +1163,6 @@ roster)</th>
<td>n/a</td> <td>n/a</td>
<td>Flag indicating whether new subscriptions must be configured to become active</td> <td>Flag indicating whether new subscriptions must be configured to become active</td>
</tr> </tr>
<tr>
<td>contacts</td>
<td>TEXT</td>
<td>n/a</td>
<td>List of JIDs of the users to contact for questions</td>
</tr>
<tr>
<td>rosterGroups</td>
<td>TEXT</td>
<td>n/a</td>
<td>Roster group(s) of the node owner allowed to subscribe and retrieve items</td>
</tr>
<tr> <tr>
<td>accessModel</td> <td>accessModel</td>
<td>VARCHAR</td> <td>VARCHAR</td>
...@@ -1228,34 +1218,94 @@ roster)</th> ...@@ -1228,34 +1218,94 @@ roster)</th>
<td>Policy that defines whether owners or publisher should receive replies to items</td> <td>Policy that defines whether owners or publisher should receive replies to items</td>
</tr> </tr>
<tr> <tr>
<td>replyRooms</td> <td>associationPolicy</td>
<td>TEXT</td> <td>VARCHAR</td>
<td>15</td>
<td>Policy that defines who may associate leaf nodes with a collection</td>
</tr>
<tr>
<td>maxLeafNodes</td>
<td>NUMBER</td>
<td>n/a</td> <td>n/a</td>
<td>List of multi-user chat rooms to specify for replyroom</td> <td>Max number of leaf nodes that a collection node might have</td>
</tr> </tr>
</tbody>
</table>
&nbsp;<a href="#top" class="top">top of page</a>
<br>
<br>
<br>
<a name="pubsubNodeJIDs"></a>
<table class="dbtable">
<tbody>
<tr> <tr>
<td>replyTo</td> <th colspan="4">pubsubNodeJIDs (JIDs associated with nodes)</th>
</tr>
<tr>
<th>Column Name</th>
<th>Type</th>
<th>Length</th>
<th>Description</th>
</tr>
<tr class="primary-key">
<td>serviceID</td>
<td>VARCHAR</td>
<td>100</td>
<td>ID of service hosting the node (Primary Key)</td>
</tr>
<tr class="primary-key">
<td>nodeID</td>
<td>VARCHAR</td>
<td>100</td>
<td>ID of the node (Primary Key)</td>
</tr>
<tr class="primary-key">
<td>jid</td>
<td>VARCHAR</td> <td>VARCHAR</td>
<td>1024</td> <td>1024</td>
<td>List of JID(s) to specify for replyto</td> <td>JID of the entity (Primary Key)</td>
</tr> </tr>
<tr> <tr>
<td>associationPolicy</td> <td>associationType</td>
<td>VARCHAR</td> <td>VARCHAR</td>
<td>15</td> <td>20</td>
<td>Policy that defines who may associate leaf nodes with a collection</td> <td>Type of association with the node</td>
</tr> </tr>
</tbody>
</table>
&nbsp;<a href="#top" class="top">top of page</a>
<br>
<br>
<br>
<a name="pubsubNodeGroups"></a>
<table class="dbtable">
<tbody>
<tr> <tr>
<td>associationTrusted</td> <th colspan="4">pubsubNodeGroups (Roster groups associated with nodes)</th>
<td>TEXT</td>
<td>n/a</td>
<td>Users are allowed to associate leaf nodes with this collection node</td>
</tr> </tr>
<tr> <tr>
<td>maxLeafNodes</td> <th>Column Name</th>
<td>NUMBER</td> <th>Type</th>
<td>n/a</td> <th>Length</th>
<td>Max number of leaf nodes that a collection node might have</td> <th>Description</th>
</tr>
<tr>
<td>serviceID</td>
<td>VARCHAR</td>
<td>100</td>
<td>ID of service hosting the node</td>
</tr>
<tr>
<td>nodeID</td>
<td>VARCHAR</td>
<td>100</td>
<td>ID of the node</td>
</tr>
<tr>
<td>rosterGroup</td>
<td>VARCHAR</td>
<td>100</td>
<td>Roster group of the node owner allowed to subscribe and retrieve items</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
......
...@@ -77,8 +77,8 @@ Choose your database from the list below for setup details: ...@@ -77,8 +77,8 @@ Choose your database from the list below for setup details:
<p><a name="note1">&sup1;</a> Character fields larger than 255 are not supported by versions prior <p><a name="note1">&sup1;</a> Character fields larger than 255 are not supported by versions prior
to MySQL 4.1.18. If you cannot upgrade MySQL to the latest version, you will then need to change the to MySQL 4.1.18. If you cannot upgrade MySQL to the latest version, you will then need to change the
database scripts. In particular, replace VARCHAR(1024) with VARCHAR(255) and VARCHAR(4000) with TEXT database scripts. In particular, replace VARCHAR(1024) with VARCHAR(255) in the
in the resources/database/wildfire_mysql.sql script.</p> resources/database/wildfire_mysql.sql script.</p>
<p><b>Character Encoding Issues</b><p> <p><b>Character Encoding Issues</b><p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment