Merge pull request #22582 from civicrm/5.46
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_5_beta2.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 *
17 * Generated from schema_structure.tpl
18 * DO NOT EDIT. Generated by CRM_Core_CodeGen
19 */
20 class CRM_Core_I18n_SchemaStructure_4_5_beta2 {
21
22 /**
23 * Get column definition.
24 */
25 public static function &columns() {
26 static $result = NULL;
27 if (!$result) {
28 $result = [
29 'civicrm_location_type' => [
30 'display_name' => "varchar(64)",
31 ],
32 'civicrm_option_group' => [
33 'title' => "varchar(255)",
34 'description' => "varchar(255)",
35 ],
36 'civicrm_contact_type' => [
37 'label' => "varchar(64)",
38 'description' => "text",
39 ],
40 'civicrm_batch' => [
41 'title' => "varchar(64)",
42 'description' => "text",
43 ],
44 'civicrm_premiums' => [
45 'premiums_intro_title' => "varchar(255)",
46 'premiums_intro_text' => "text",
47 'premiums_nothankyou_label' => "varchar(255)",
48 ],
49 'civicrm_membership_status' => [
50 'label' => "varchar(128)",
51 ],
52 'civicrm_survey' => [
53 'title' => "varchar(255)",
54 'instructions' => "text",
55 'thankyou_title' => "varchar(255)",
56 'thankyou_text' => "text",
57 ],
58 'civicrm_participant_status_type' => [
59 'label' => "varchar(255)",
60 ],
61 'civicrm_case_type' => [
62 'title' => "varchar(64)",
63 'description' => "varchar(255)",
64 ],
65 'civicrm_tell_friend' => [
66 'title' => "varchar(255)",
67 'intro' => "text",
68 'suggested_message' => "text",
69 'thankyou_title' => "varchar(255)",
70 'thankyou_text' => "text",
71 ],
72 'civicrm_custom_group' => [
73 'title' => "varchar(64)",
74 'help_pre' => "text",
75 'help_post' => "text",
76 ],
77 'civicrm_custom_field' => [
78 'label' => "varchar(255)",
79 'help_pre' => "text",
80 'help_post' => "text",
81 ],
82 'civicrm_option_value' => [
83 'label' => "varchar(255)",
84 'description' => "text",
85 ],
86 'civicrm_group' => [
87 'title' => "varchar(64)",
88 ],
89 'civicrm_contribution_page' => [
90 'title' => "varchar(255)",
91 'intro_text' => "text",
92 'pay_later_text' => "text",
93 'pay_later_receipt' => "text",
94 'initial_amount_label' => "varchar(255)",
95 'initial_amount_help_text' => "text",
96 'thankyou_title' => "varchar(255)",
97 'thankyou_text' => "text",
98 'thankyou_footer' => "text",
99 'for_organization' => "text",
100 'receipt_from_name' => "varchar(255)",
101 'receipt_text' => "text",
102 'footer_text' => "text",
103 ],
104 'civicrm_product' => [
105 'name' => "varchar(255)",
106 'description' => "text",
107 'options' => "text",
108 ],
109 'civicrm_membership_type' => [
110 'name' => "varchar(128)",
111 'description' => "varchar(255)",
112 ],
113 'civicrm_membership_block' => [
114 'new_title' => "varchar(255)",
115 'new_text' => "text",
116 'renewal_title' => "varchar(255)",
117 'renewal_text' => "text",
118 ],
119 'civicrm_price_set' => [
120 'title' => "varchar(255)",
121 'help_pre' => "text",
122 'help_post' => "text",
123 ],
124 'civicrm_dashboard' => [
125 'label' => "varchar(255)",
126 ],
127 'civicrm_uf_group' => [
128 'title' => "varchar(64)",
129 'help_pre' => "text",
130 'help_post' => "text",
131 ],
132 'civicrm_uf_field' => [
133 'help_post' => "text",
134 'help_pre' => "text",
135 'label' => "varchar(255)",
136 ],
137 'civicrm_price_field' => [
138 'label' => "varchar(255)",
139 'help_pre' => "text",
140 'help_post' => "text",
141 ],
142 'civicrm_price_field_value' => [
143 'label' => "varchar(255)",
144 'description' => "text",
145 ],
146 'civicrm_pcp_block' => [
147 'link_text' => "varchar(255)",
148 ],
149 'civicrm_event' => [
150 'title' => "varchar(255)",
151 'summary' => "text",
152 'description' => "text",
153 'registration_link_text' => "varchar(255)",
154 'event_full_text' => "text",
155 'fee_label' => "varchar(255)",
156 'intro_text' => "text",
157 'footer_text' => "text",
158 'confirm_title' => "varchar(255)",
159 'confirm_text' => "text",
160 'confirm_footer_text' => "text",
161 'confirm_email_text' => "text",
162 'confirm_from_name' => "varchar(255)",
163 'thankyou_title' => "varchar(255)",
164 'thankyou_text' => "text",
165 'thankyou_footer_text' => "text",
166 'pay_later_text' => "text",
167 'pay_later_receipt' => "text",
168 'initial_amount_label' => "varchar(255)",
169 'initial_amount_help_text' => "text",
170 'waitlist_text' => "text",
171 'approval_req_text' => "text",
172 'template_title' => "varchar(255)",
173 ],
174 ];
175 }
176 return $result;
177 }
178
179 /**
180 * Get indices.
181 *
182 * @return array
183 */
184 public static function &indices() {
185 static $result = NULL;
186 if (!$result) {
187 $result = [
188 'civicrm_custom_group' => [
189 'UI_title_extends' => [
190 'name' => 'UI_title_extends',
191 'field' => [
192 'title',
193 'extends',
194 ],
195 'unique' => 1,
196 ],
197 ],
198 'civicrm_custom_field' => [
199 'UI_label_custom_group_id' => [
200 'name' => 'UI_label_custom_group_id',
201 'field' => [
202 'label',
203 'custom_group_id',
204 ],
205 'unique' => 1,
206 ],
207 ],
208 'civicrm_group' => [
209 'UI_title' => [
210 'name' => 'UI_title',
211 'field' => [
212 'title',
213 ],
214 'unique' => 1,
215 ],
216 ],
217 ];
218 }
219 return $result;
220 }
221
222 /**
223 * Get tables.
224 *
225 * @return array
226 */
227 public static function &tables() {
228 static $result = NULL;
229 if (!$result) {
230 $result = array_keys(self::columns());
231 }
232 return $result;
233 }
234
235 }