Commit | Line | Data |
---|---|---|
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> | |
46 | </field> | |
47 | <field> | |
48 | <name>is_reserved</name> | |
49 | <type>boolean</type> | |
50 | <comment>whether this is a status type required by the system</comment> | |
51 | <add>3.0</add> | |
52 | </field> | |
53 | <field> | |
54 | <name>is_active</name> | |
55 | <type>boolean</type> | |
56 | <default>1</default> | |
57 | <comment>whether this status type is active</comment> | |
58 | <add>3.0</add> | |
59 | </field> | |
60 | <field> | |
61 | <name>is_counted</name> | |
62 | <type>boolean</type> | |
63 | <comment>whether this status type is counted against event size limit</comment> | |
64 | <add>3.0</add> | |
65 | </field> | |
66 | <field> | |
67 | <name>weight</name> | |
68 | <type>int unsigned</type> | |
69 | <required>true</required> | |
70 | <comment>controls sort order</comment> | |
71 | <add>3.0</add> | |
72 | </field> | |
73 | <field> | |
74 | <name>visibility_id</name> | |
75 | <type>int unsigned</type> | |
76 | <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> | |
77 | <add>3.0</add> | |
4080e473 AS |
78 | <pseudoconstant> |
79 | <optionGroupName>visibility</optionGroupName> | |
80 | </pseudoconstant> | |
6a488035 TO |
81 | </field> |
82 | </table> |