CRM-13497 - last one
[civicrm-core.git] / xml / schema / Event / ParticipantStatusType.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="utf-8" ?>
2<table>
3 <base>CRM/Event</base>
4 <class>ParticipantStatusType</class>
5 <name>civicrm_participant_status_type</name>
6 <comment>various types of CiviEvent participant statuses</comment>
7 <add>3.0</add>
8 <log>true</log>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>unique participant status type id</comment>
14 <add>3.0</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>name</name>
22 <uniqueName>participant_status</uniqueName>
23 <title>Participant Status</title>
24 <type>varchar</type>
25 <length>64</length>
26 <import>true</import>
27 <unique>true</unique>
28 <comment>non-localized name of the status type</comment>
29 <add>3.0</add>
30 </field>
31 <field>
32 <name>label</name>
33 <type>varchar</type>
34 <length>255</length>
35 <unique>true</unique>
36 <localizable>true</localizable>
37 <comment>localized label for display of this status type</comment>
38 <add>3.0</add>
39 </field>
40 <field>
41 <name>class</name>
42 <type>enum</type>
43 <values>Positive, Pending, Waiting, Negative</values>
44 <comment>the general group of status type this one belongs to</comment>
45 <add>3.0</add>
614d72ec 46 <html>
47 <type>Select</type>
48 </html>
6a488035
TO
49 </field>
50 <field>
51 <name>is_reserved</name>
52 <type>boolean</type>
53 <comment>whether this is a status type required by the system</comment>
54 <add>3.0</add>
55 </field>
56 <field>
57 <name>is_active</name>
58 <type>boolean</type>
59 <default>1</default>
60 <comment>whether this status type is active</comment>
61 <add>3.0</add>
62 </field>
63 <field>
64 <name>is_counted</name>
65 <type>boolean</type>
66 <comment>whether this status type is counted against event size limit</comment>
67 <add>3.0</add>
68 </field>
69 <field>
70 <name>weight</name>
71 <type>int unsigned</type>
72 <required>true</required>
73 <comment>controls sort order</comment>
74 <add>3.0</add>
75 </field>
76 <field>
77 <name>visibility_id</name>
78 <type>int unsigned</type>
79 <comment>whether the status type is visible to the public, an implicit foreign key to option_value.value related to the `visibility` option_group</comment>
80 <add>3.0</add>
4080e473
AS
81 <pseudoconstant>
82 <optionGroupName>visibility</optionGroupName>
83 </pseudoconstant>
614d72ec 84 <html>
85 <type>Select></type>
86 </html>
6a488035
TO
87 </field>
88</table>