commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / xml / schema / Contribute / Premium.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Contribute</base>
5 <class>Premium</class>
6 <comment>table - settings for the Premiums features for a given contribution page </comment>
7 <name>civicrm_premiums</name>
8 <add>1.4</add>
9 <log>true</log>
10 <field>
11 <name>id</name>
12 <title>Premium ID</title>
13 <type>int unsigned</type>
14 <required>true</required>
15 <add>1.4</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>entity_table</name>
23 <title>Premium Entity</title>
24 <type>varchar</type>
25 <length>64</length>
26 <required>true</required>
27 <comment>Joins these premium settings to another object. Always civicrm_contribution_page for now.</comment>
28 <add>1.4</add>
29 </field>
30 <field>
31 <name>entity_id</name>
32 <title>Premium entity ID</title>
33 <type>int unsigned</type>
34 <required>true</required>
35 <add>1.4</add>
36 </field>
37 <dynamicForeignKey>
38 <idColumn>entity_id</idColumn>
39 <typeColumn>entity_table</typeColumn>
40 <add>1.4</add>
41 </dynamicForeignKey>
42 <field>
43 <name>premiums_active </name>
44 <title>Is Premium Active?</title>
45 <type>boolean</type>
46 <default>0</default>
47 <required>true</required>
48 <comment>Is the Premiums feature enabled for this page?</comment>
49 <add>1.4</add>
50 </field>
51 <field>
52 <name>premiums_intro_title</name>
53 <type>varchar</type>
54 <title>Title for Premiums section</title>
55 <length>255</length>
56 <localizable>true</localizable>
57 <comment>Title for Premiums section.</comment>
58 <add>1.4</add>
59 </field>
60 <field>
61 <name>premiums_intro_text</name>
62 <title>Premium Introductory Text</title>
63 <type>text</type>
64 <localizable>true</localizable>
65 <comment>Displayed in &lt;div&gt; at top of Premiums section of page. Text and HTML allowed.</comment>
66 <add>1.4</add>
67 </field>
68 <field>
69 <name>premiums_contact_email</name>
70 <title>Premium Contact Email</title>
71 <type>varchar</type>
72 <length>100</length>
73 <comment>This email address is included in receipts if it is populated and a premium has been selected.</comment>
74 <add>1.4</add>
75 </field>
76 <field>
77 <name>premiums_contact_phone</name>
78 <title>Premiums Contact Phone</title>
79 <type>varchar</type>
80 <length>50</length>
81 <comment>This phone number is included in receipts if it is populated and a premium has been selected.</comment>
82 <add>1.4</add>
83 </field>
84 <field>
85 <name>premiums_display_min_contribution</name>
86 <title>Display Minimum Contribution?</title>
87 <type>boolean</type>
88 <required>true</required>
89 <comment>Boolean. Should we automatically display minimum contribution amount text after the premium descriptions.</comment>
90 <add>1.4</add>
91 </field>
92 <field>
93 <name>premiums_nothankyou_label</name>
94 <title>No Thank-you Text</title>
95 <type>varchar</type>
96 <length>255</length>
97 <localizable>true</localizable>
98 <comment>Label displayed for No Thank-you option in premiums block (e.g. No thank you)</comment>
99 <add>4.3</add>
100 </field>
101 <field>
102 <name>premiums_nothankyou_position</name>
103 <title>No Thank-you Position</title>
104 <type>int unsigned</type>
105 <default>1</default>
106 <add>4.3</add>
107 </field>
108 </table>