Merge pull request #15358 from colemanw/relDesc
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_5_alpha1.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 5 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2019 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 */
27
28 /**
29 *
30 * @package CRM
31 * @copyright CiviCRM LLC (c) 2004-2019
32 *
33 * Generated from schema_structure.tpl
34 * DO NOT EDIT. Generated by CRM_Core_CodeGen
35 */
36 class CRM_Core_I18n_SchemaStructure_4_5_alpha1 {
37
38 /**
39 * @return array
40 */
41 public static function &columns() {
42 static $result = NULL;
43 if (!$result) {
44 $result = [
45 'civicrm_location_type' => [
46 'display_name' => "varchar(64)",
47 ],
48 'civicrm_option_group' => [
49 'title' => "varchar(255)",
50 'description' => "varchar(255)",
51 ],
52 'civicrm_contact_type' => [
53 'label' => "varchar(64)",
54 'description' => "text",
55 ],
56 'civicrm_batch' => [
57 'title' => "varchar(64)",
58 'description' => "text",
59 ],
60 'civicrm_premiums' => [
61 'premiums_intro_title' => "varchar(255)",
62 'premiums_intro_text' => "text",
63 'premiums_nothankyou_label' => "varchar(255)",
64 ],
65 'civicrm_membership_status' => [
66 'label' => "varchar(128)",
67 ],
68 'civicrm_survey' => [
69 'title' => "varchar(255)",
70 'instructions' => "text",
71 'thankyou_title' => "varchar(255)",
72 'thankyou_text' => "text",
73 ],
74 'civicrm_participant_status_type' => [
75 'label' => "varchar(255)",
76 ],
77 'civicrm_tell_friend' => [
78 'title' => "varchar(255)",
79 'intro' => "text",
80 'suggested_message' => "text",
81 'thankyou_title' => "varchar(255)",
82 'thankyou_text' => "text",
83 ],
84 'civicrm_custom_group' => [
85 'title' => "varchar(64)",
86 'help_pre' => "text",
87 'help_post' => "text",
88 ],
89 'civicrm_custom_field' => [
90 'label' => "varchar(255)",
91 'help_pre' => "text",
92 'help_post' => "text",
93 ],
94 'civicrm_option_value' => [
95 'label' => "varchar(255)",
96 'description' => "text",
97 ],
98 'civicrm_group' => [
99 'title' => "varchar(64)",
100 ],
101 'civicrm_contribution_page' => [
102 'title' => "varchar(255)",
103 'intro_text' => "text",
104 'pay_later_text' => "text",
105 'pay_later_receipt' => "text",
106 'initial_amount_label' => "varchar(255)",
107 'initial_amount_help_text' => "text",
108 'thankyou_title' => "varchar(255)",
109 'thankyou_text' => "text",
110 'thankyou_footer' => "text",
111 'for_organization' => "text",
112 'receipt_from_name' => "varchar(255)",
113 'receipt_text' => "text",
114 'footer_text' => "text",
115 ],
116 'civicrm_product' => [
117 'name' => "varchar(255)",
118 'description' => "text",
119 'options' => "text",
120 ],
121 'civicrm_membership_type' => [
122 'name' => "varchar(128)",
123 'description' => "varchar(255)",
124 ],
125 'civicrm_membership_block' => [
126 'new_title' => "varchar(255)",
127 'new_text' => "text",
128 'renewal_title' => "varchar(255)",
129 'renewal_text' => "text",
130 ],
131 'civicrm_price_set' => [
132 'title' => "varchar(255)",
133 'help_pre' => "text",
134 'help_post' => "text",
135 ],
136 'civicrm_dashboard' => [
137 'label' => "varchar(255)",
138 ],
139 'civicrm_uf_group' => [
140 'title' => "varchar(64)",
141 'help_pre' => "text",
142 'help_post' => "text",
143 ],
144 'civicrm_uf_field' => [
145 'help_post' => "text",
146 'help_pre' => "text",
147 'label' => "varchar(255)",
148 ],
149 'civicrm_price_field' => [
150 'label' => "varchar(255)",
151 'help_pre' => "text",
152 'help_post' => "text",
153 ],
154 'civicrm_price_field_value' => [
155 'label' => "varchar(255)",
156 'description' => "text",
157 ],
158 'civicrm_pcp_block' => [
159 'link_text' => "varchar(255)",
160 ],
161 'civicrm_event' => [
162 'title' => "varchar(255)",
163 'summary' => "text",
164 'description' => "text",
165 'registration_link_text' => "varchar(255)",
166 'event_full_text' => "text",
167 'fee_label' => "varchar(255)",
168 'intro_text' => "text",
169 'footer_text' => "text",
170 'confirm_title' => "varchar(255)",
171 'confirm_text' => "text",
172 'confirm_footer_text' => "text",
173 'confirm_email_text' => "text",
174 'confirm_from_name' => "varchar(255)",
175 'thankyou_title' => "varchar(255)",
176 'thankyou_text' => "text",
177 'thankyou_footer_text' => "text",
178 'pay_later_text' => "text",
179 'pay_later_receipt' => "text",
180 'initial_amount_label' => "varchar(255)",
181 'initial_amount_help_text' => "text",
182 'waitlist_text' => "text",
183 'approval_req_text' => "text",
184 'template_title' => "varchar(255)",
185 ],
186 ];
187 }
188 return $result;
189 }
190
191 /**
192 * @return array
193 */
194 public static function &indices() {
195 static $result = NULL;
196 if (!$result) {
197 $result = [
198 'civicrm_custom_group' => [
199 'UI_title_extends' => [
200 'name' => 'UI_title_extends',
201 'field' => [
202 'title',
203 'extends',
204 ],
205 'unique' => 1,
206 ],
207 ],
208 'civicrm_custom_field' => [
209 'UI_label_custom_group_id' => [
210 'name' => 'UI_label_custom_group_id',
211 'field' => [
212 'label',
213 'custom_group_id',
214 ],
215 'unique' => 1,
216 ],
217 ],
218 'civicrm_group' => [
219 'UI_title' => [
220 'name' => 'UI_title',
221 'field' => [
222 'title',
223 ],
224 'unique' => 1,
225 ],
226 ],
227 ];
228 }
229 return $result;
230 }
231
232 /**
233 * @return array
234 */
235 public static function &tables() {
236 static $result = NULL;
237 if (!$result) {
238 $result = array_keys(self::columns());
239 }
240 return $result;
241 }
242
243 }