CRM-13883 - permanently delete contact should not remove activities if connected...
[civicrm-core.git] / CRM / Core / I18n / SchemaStructure_4_1_alpha1.php
CommitLineData
6a488035
TO
1<?php
2/*
3+--------------------------------------------------------------------+
232624b1 4| CiviCRM version 4.4 |
6a488035
TO
5+--------------------------------------------------------------------+
6| Copyright CiviCRM LLC (c) 2004-2013 |
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-2013
32 * $Id$
33 *
34 */
35class CRM_Core_I18n_SchemaStructure_4_1_alpha1 {
36 static function &columns() {
37 static $result = NULL;
38 if (!$result) {
39 $result = array(
40 'civicrm_location_type' => array(
41 'display_name' => "varchar(64)",
42 ),
43 'civicrm_option_group' => array(
44 'title' => "varchar(255)",
45 'description' => "varchar(255)",
46 ),
47 'civicrm_contact_type' => array(
48 'label' => "varchar(64)",
49 'description' => "text",
50 ),
51 'civicrm_premiums' => array(
52 'premiums_intro_title' => "varchar(255)",
53 'premiums_intro_text' => "text",
54 ),
55 'civicrm_product' => array(
56 'name' => "varchar(255)",
57 'description' => "text",
58 'options' => "text",
59 ),
60 'civicrm_membership_status' => array(
61 'label' => "varchar(128)",
62 ),
63 'civicrm_participant_status_type' => array(
64 'label' => "varchar(255)",
65 ),
66 'civicrm_tell_friend' => array(
67 'title' => "varchar(255)",
68 'intro' => "text",
69 'suggested_message' => "text",
70 'thankyou_title' => "varchar(255)",
71 'thankyou_text' => "text",
72 ),
73 'civicrm_price_set' => array(
74 'title' => "varchar(255)",
75 'help_pre' => "text",
76 'help_post' => "text",
77 ),
78 'civicrm_batch' => array(
79 'label' => "varchar(64)",
80 'description' => "text",
81 ),
82 'civicrm_custom_group' => array(
83 'title' => "varchar(64)",
84 'help_pre' => "text",
85 'help_post' => "text",
86 ),
87 'civicrm_custom_field' => array(
88 'label' => "varchar(255)",
89 'help_pre' => "text",
90 'help_post' => "text",
91 ),
92 'civicrm_dashboard' => array(
93 'label' => "varchar(255)",
94 ),
95 'civicrm_option_value' => array(
96 'label' => "varchar(255)",
97 'description' => "text",
98 ),
99 'civicrm_contribution_page' => array(
100 'title' => "varchar(255)",
101 'intro_text' => "text",
102 'pay_later_text' => "text",
103 'pay_later_receipt' => "text",
104 'thankyou_title' => "varchar(255)",
105 'thankyou_text' => "text",
106 'thankyou_footer' => "text",
107 'for_organization' => "text",
108 'receipt_from_name' => "varchar(255)",
109 'receipt_text' => "text",
110 'footer_text' => "text",
111 'honor_block_title' => "varchar(255)",
112 'honor_block_text' => "text",
113 ),
114 'civicrm_price_field' => array(
115 'label' => "varchar(255)",
116 'help_pre' => "text",
117 'help_post' => "text",
118 ),
119 'civicrm_uf_group' => array(
120 'title' => "varchar(64)",
121 'help_pre' => "text",
122 'help_post' => "text",
123 ),
124 'civicrm_uf_field' => array(
125 'help_post' => "text",
126 'help_pre' => "text",
127 'label' => "varchar(255)",
128 ),
129 'civicrm_membership_type' => array(
130 'name' => "varchar(128)",
131 'description' => "varchar(255)",
132 ),
133 'civicrm_membership_block' => array(
134 'new_title' => "varchar(255)",
135 'new_text' => "text",
136 'renewal_title' => "varchar(255)",
137 'renewal_text' => "text",
138 ),
139 'civicrm_price_field_value' => array(
140 'label' => "varchar(255)",
141 'description' => "text",
142 ),
143 'civicrm_event' => array(
144 'title' => "varchar(255)",
145 'summary' => "text",
146 'description' => "text",
147 'registration_link_text' => "varchar(255)",
148 'event_full_text' => "text",
149 'fee_label' => "varchar(255)",
150 'intro_text' => "text",
151 'footer_text' => "text",
152 'confirm_title' => "varchar(255)",
153 'confirm_text' => "text",
154 'confirm_footer_text' => "text",
155 'confirm_email_text' => "text",
156 'confirm_from_name' => "varchar(255)",
157 'thankyou_title' => "varchar(255)",
158 'thankyou_text' => "text",
159 'thankyou_footer_text' => "text",
160 'pay_later_text' => "text",
161 'pay_later_receipt' => "text",
162 'waitlist_text' => "text",
163 'approval_req_text' => "text",
164 'template_title' => "varchar(255)",
165 ),
166 );
167 }
168 return $result;
169 }
170
171 static function &indices() {
172 static $result = NULL;
173 if (!$result) {
174 $result = array(
175 'civicrm_price_set' => array(
176 'UI_title' => array(
177 'name' => 'UI_title',
178 'field' => array(
179 'title',
180 ),
181 'unique' => 1,
182 ),
183 ),
184 'civicrm_custom_group' => array(
185 'UI_title_extends' => array(
186 'name' => 'UI_title_extends',
187 'field' => array(
188 'title',
189 'extends',
190 ),
191 'unique' => 1,
192 ),
193 ),
194 'civicrm_custom_field' => array(
195 'UI_label_custom_group_id' => array(
196 'name' => 'UI_label_custom_group_id',
197 'field' => array(
198 'label',
199 'custom_group_id',
200 ),
201 'unique' => 1,
202 ),
203 ),
204 );
205 }
206 return $result;
207 }
208
209 static function &tables() {
210 static $result = NULL;
211 if (!$result) {
212 $result = array_keys(self::columns());
213 }
214 return $result;
215 }
216}
217