1<table xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:noNamespaceSchemaLocation="http://chart/schemas/table.xsd">
3 <description>Store details of which email updates each user has requested</description>
4 <index>
5 <name>SUBSCRIPTIONS_PK</name>
6 <type>primary-key</type>
7 <field>DJANGO_USER_ID</field>
8 <field>CATEGORY</field>
9 <field>NAME</field>
10 </index>
11 <field>
12 <name>DJANGO_USER_ID</name>
13 <length>32</length>
14 <datatype>uint</datatype>
15 </field>
16 <field>
17 <name>CATEGORY</name>
18 <datatype>string</datatype>
19 <length>20</length>
20 <choices>
21 <item>
22 <name>EVENT</name>
23 <description>Event raised</description>
24 </item>
25 <item>
26 <name>REPORT</name>
27 <description>Reports by email</description>
28 </item>
29 <item>
30 <name>NOTIFICATIONS</name>
31 <description>CHART system notifications</description>
32 </item>
33 <item>
34 <name>WEB</name>
35 <description>For future Django integration</description>
36 </item>
37 <item>
38 <name>DAEMON</name>
39 <description>For future supervisord integration</description>
40 </item>
41 </choices>
42 </field>
43 <field>
44 <name>NAME</name>
45 <datatype>string</datatype>
46 <length>500</length>
47 <allow-null>true</allow-null>
48 <description>Name of event class or report activity name</description>
49 </field>
50 <field>
51 <name>PROPERTIES</name>
52 <datatype>xml</datatype>
53 <allow-null>true</allow-null>
54 <description>Link characteristics such as a property specific test for an event subscription</description>
55 </field>
56</table>