Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Price</base> | |
9da8dc8c | 5 | <class>PriceSet</class> |
6a488035 TO |
6 | <name>civicrm_price_set</name> |
7 | <add>1.8</add> | |
8 | <log>true</log> | |
9 | <field> | |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | <comment>Price Set</comment> | |
14 | <add>1.8</add> | |
15 | </field> | |
16 | <primaryKey> | |
17 | <name>id</name> | |
18 | <autoincrement>true</autoincrement> | |
19 | </primaryKey> | |
20 | <field> | |
21 | <name>domain_id</name> | |
22 | <type>int unsigned</type> | |
23 | <comment>Which Domain is this price-set for</comment> | |
24 | <add>3.1</add> | |
25 | </field> | |
26 | <foreignKey> | |
27 | <name>domain_id</name> | |
28 | <table>civicrm_domain</table> | |
29 | <key>id</key> | |
30 | <add>3.1</add> | |
31 | </foreignKey> | |
32 | <field> | |
33 | <name>name</name> | |
34 | <type>varchar</type> | |
35 | <length>255</length> | |
36 | <required>true</required> | |
37 | <comment>Variable name/programmatic handle for this set of price fields.</comment> | |
38 | <add>1.8</add> | |
39 | </field> | |
40 | <index> | |
41 | <name>UI_name</name> | |
42 | <fieldName>name</fieldName> | |
43 | <unique>true</unique> | |
44 | <add>1.8</add> | |
45 | </index> | |
46 | <field> | |
47 | <name>title</name> | |
48 | <type>varchar</type> | |
49 | <length>255</length> | |
50 | <required>true</required> | |
51 | <localizable>true</localizable> | |
52 | <comment>Displayed title for the Price Set.</comment> | |
53 | <add>1.8</add> | |
54 | </field> | |
55 | <field> | |
56 | <name>is_active</name> | |
57 | <type>boolean</type> | |
58 | <default>1</default> | |
59 | <comment>Is this price set active</comment> | |
60 | <add>1.8</add> | |
61 | </field> | |
62 | <field> | |
63 | <name>help_pre</name> | |
64 | <type>text</type> | |
65 | <localizable>true</localizable> | |
66 | <comment>Description and/or help text to display before fields in form.</comment> | |
67 | <htmlType>textarea</htmlType> | |
68 | <rows>4</rows> | |
69 | <cols>80</cols> | |
70 | <add>1.8</add> | |
71 | </field> | |
72 | <field> | |
73 | <name>help_post</name> | |
74 | <type>text</type> | |
75 | <localizable>true</localizable> | |
76 | <comment>Description and/or help text to display after fields in form.</comment> | |
77 | <htmlType>textarea</htmlType> | |
78 | <rows>4</rows> | |
79 | <cols>80</cols> | |
80 | <add>1.8</add> | |
81 | </field> | |
82 | <field> | |
83 | <name>javascript</name> | |
84 | <type>varchar</type> | |
85 | <length>64</length> | |
86 | <comment>Optional Javascript script function(s) included on the form with this price_set. Can be used for conditional</comment> | |
87 | <add>1.8</add> | |
88 | </field> | |
89 | <field> | |
90 | <name>extends</name> | |
91 | <type>varchar</type> | |
92 | <length>255</length> | |
93 | <required>true</required> | |
94 | <comment>What components are using this price set?</comment> | |
95 | <add>3.1</add> | |
96 | </field> | |
6f3f0f22 | 97 | <field> |
98 | <name>contribution_type_id</name> | |
99 | <type>int unsigned</type> | |
6a488035 TO |
100 | <default>NULL</default> |
101 | <comment>FK to Contribution Type(for membership price sets only).</comment> | |
6f3f0f22 | 102 | <add>3.4</add> |
103 | <drop>4.3</drop> | |
104 | </field> | |
105 | <foreignKey> | |
106 | <name>contribution_type_id</name> | |
107 | <table>civicrm_contribution_type</table> | |
108 | <key>id</key> | |
109 | <add>3.4</add> | |
110 | <drop>4.3</drop> | |
6a488035 TO |
111 | <onDelete>SET NULL</onDelete> |
112 | </foreignKey> | |
6f3f0f22 | 113 | <field> |
114 | <name>financial_type_id</name> | |
6a488035 | 115 | <title>Financial Type</title> |
6f3f0f22 | 116 | <type>int unsigned</type> |
6a488035 TO |
117 | <default>NULL</default> |
118 | <comment>FK to Financial Type(for membership price sets only).</comment> | |
6f3f0f22 | 119 | <add>4.3</add> |
120 | </field> | |
121 | <foreignKey> | |
122 | <name>financial_type_id</name> | |
123 | <table>civicrm_financial_type</table> | |
124 | <key>id</key> | |
125 | <add>4.3</add> | |
6a488035 | 126 | <onDelete>SET NULL</onDelete> |
6f3f0f22 | 127 | </foreignKey> |
6a488035 TO |
128 | <field> |
129 | <name>is_quick_config</name> | |
6f3f0f22 | 130 | <type>boolean</type> |
6a488035 TO |
131 | <default>0</default> |
132 | <comment>Is set if edited on Contribution or Event Page rather than through Manage Price Sets</comment> | |
133 | <add>4.1</add> | |
134 | </field> | |
135 | <field> | |
136 | <name>is_reserved</name> | |
137 | <type>boolean</type> | |
138 | <default>0</default> | |
139 | <comment>Is this a predefined system price set (i.e. it can not be deleted, edited)?</comment> | |
140 | <add>4.2</add> | |
141 | </field> | |
142 | </table> |