-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.sql
317 lines (273 loc) · 14.1 KB
/
ext_tables.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
/*
* @package vmfds_sermons
* @copyright Copyright (c) 2012-2016 Volksmission Freudenstadt
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License v3 or later
* @site http://open.vmfds.de
* @author Christoph Fischer <[email protected]>
* @date 2016-06-06
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#
# Table structure for table 'tx_vmfdssermons_domain_model_sermon'
#
CREATE TABLE tx_vmfdssermons_domain_model_sermon (
uid INT(11) NOT NULL AUTO_INCREMENT,
pid INT(11) DEFAULT '0' NOT NULL,
title VARCHAR(255) DEFAULT '' NOT NULL,
subtitle TEXT NOT NULL,
preached INT(11) DEFAULT '0' NOT NULL,
description TEXT NOT NULL,
notes_header VARCHAR(255) DEFAULT '' NOT NULL,
keypoints TEXT NOT NULL,
questions TEXT NOT NULL,
further_reading TEXT NOT NULL,
prep TEXT NOT NULL,
reference VARCHAR(255) DEFAULT '' NOT NULL,
bible_text TEXT NOT NULL,
keywords VARCHAR(255) DEFAULT '' NOT NULL,
image TEXT NOT NULL,
image_preview TEXT NOT NULL,
image_source VARCHAR(255) DEFAULT '' NOT NULL,
no_handout TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
handout TEXT NOT NULL,
audiorecording TEXT NOT NULL,
remote_audio VARCHAR(255) DEFAULT '' NOT NULL,
videorecording TEXT NOT NULL,
cclicense TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
hashtags VARCHAR(255) DEFAULT '' NOT NULL,
slides INT(11) UNSIGNED DEFAULT '0' NOT NULL,
preacher INT(11) UNSIGNED DEFAULT '0' NOT NULL,
series INT(11) UNSIGNED DEFAULT '0' NOT NULL,
syncuid VARCHAR(255) DEFAULT '' NOT NULL,
church VARCHAR(255) DEFAULT '' NOT NULL,
church_url VARCHAR(255) DEFAULT '' NOT NULL,
remote_url VARCHAR(255) DEFAULT '' NOT NULL,
transcription TEXT NOT NULL,
tstamp INT(11) UNSIGNED DEFAULT '0' NOT NULL,
crdate INT(11) UNSIGNED DEFAULT '0' NOT NULL,
cruser_id INT(11) UNSIGNED DEFAULT '0' NOT NULL,
deleted TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
hidden TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
starttime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
endtime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
t3ver_oid INT(11) DEFAULT '0' NOT NULL,
t3ver_id INT(11) DEFAULT '0' NOT NULL,
t3ver_wsid INT(11) DEFAULT '0' NOT NULL,
t3ver_label VARCHAR(255) DEFAULT '' NOT NULL,
t3ver_state TINYINT(4) DEFAULT '0' NOT NULL,
t3ver_stage INT(11) DEFAULT '0' NOT NULL,
t3ver_count INT(11) DEFAULT '0' NOT NULL,
t3ver_tstamp INT(11) DEFAULT '0' NOT NULL,
t3ver_move_id INT(11) DEFAULT '0' NOT NULL,
t3_origuid INT(11) DEFAULT '0' NOT NULL,
sys_language_uid INT(11) DEFAULT '0' NOT NULL,
l10n_parent INT(11) DEFAULT '0' NOT NULL,
l10n_diffsource MEDIUMBLOB,
PRIMARY KEY (uid),
KEY parent (pid),
KEY t3ver_oid (t3ver_oid, t3ver_wsid),
KEY language (l10n_parent, sys_language_uid)
);
#
# Table structure for table 'tx_vmfdssermons_domain_model_preacher'
#
CREATE TABLE tx_vmfdssermons_domain_model_preacher (
uid INT(11) NOT NULL AUTO_INCREMENT,
pid INT(11) DEFAULT '0' NOT NULL,
name VARCHAR(255) DEFAULT '' NOT NULL,
first_name VARCHAR(255) DEFAULT '' NOT NULL,
last_name VARCHAR(255) DEFAULT '' NOT NULL,
email VARCHAR(255) DEFAULT '' NOT NULL,
organization VARCHAR(255) DEFAULT '' NOT NULL,
url VARCHAR(255) DEFAULT '' NOT NULL,
blog VARCHAR(255) DEFAULT '' NOT NULL,
facebook_id VARCHAR(255) DEFAULT '' NOT NULL,
twitter VARCHAR(255) DEFAULT '' NOT NULL,
about TEXT NOT NULL,
image TEXT NOT NULL,
user_id INT(11) NULL DEFAULT NULL,
mic VARCHAR(255) DEFAULT '' NOT NULL,
pulpit TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
ppt TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
laptop TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
travel_cost VARCHAR(255) DEFAULT '' NOT NULL,
account_holder VARCHAR(255) DEFAULT '' NOT NULL,
iban VARCHAR(255) DEFAULT '' NOT NULL,
bic VARCHAR(255) DEFAULT '' NOT NULL,
tstamp INT(11) UNSIGNED DEFAULT '0' NOT NULL,
crdate INT(11) UNSIGNED DEFAULT '0' NOT NULL,
cruser_id INT(11) UNSIGNED DEFAULT '0' NOT NULL,
deleted TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
hidden TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
starttime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
endtime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
t3ver_oid INT(11) DEFAULT '0' NOT NULL,
t3ver_id INT(11) DEFAULT '0' NOT NULL,
t3ver_wsid INT(11) DEFAULT '0' NOT NULL,
t3ver_label VARCHAR(255) DEFAULT '' NOT NULL,
t3ver_state TINYINT(4) DEFAULT '0' NOT NULL,
t3ver_stage INT(11) DEFAULT '0' NOT NULL,
t3ver_count INT(11) DEFAULT '0' NOT NULL,
t3ver_tstamp INT(11) DEFAULT '0' NOT NULL,
t3ver_move_id INT(11) DEFAULT '0' NOT NULL,
t3_origuid INT(11) DEFAULT '0' NOT NULL,
sys_language_uid INT(11) DEFAULT '0' NOT NULL,
l10n_parent INT(11) DEFAULT '0' NOT NULL,
l10n_diffsource MEDIUMBLOB,
PRIMARY KEY (uid),
KEY parent (pid),
KEY t3ver_oid (t3ver_oid, t3ver_wsid),
KEY language (l10n_parent, sys_language_uid)
);
#
# Table structure for table 'tx_vmfdssermons_domain_model_series'
#
CREATE TABLE tx_vmfdssermons_domain_model_series (
uid INT(11) NOT NULL AUTO_INCREMENT,
pid INT(11) DEFAULT '0' NOT NULL,
title VARCHAR(255) DEFAULT '' NOT NULL,
subtitle TEXT NOT NULL,
startdate INT(11) DEFAULT '0' NOT NULL,
enddate INT(11) DEFAULT '0' NOT NULL,
description TEXT NOT NULL,
image TEXT NOT NULL,
image_preview TEXT NOT NULL,
image_source VARCHAR(255) DEFAULT '' NOT NULL,
hashtags VARCHAR(255) DEFAULT '' NOT NULL,
tstamp INT(11) UNSIGNED DEFAULT '0' NOT NULL,
crdate INT(11) UNSIGNED DEFAULT '0' NOT NULL,
cruser_id INT(11) UNSIGNED DEFAULT '0' NOT NULL,
deleted TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
hidden TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
starttime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
endtime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
t3ver_oid INT(11) DEFAULT '0' NOT NULL,
t3ver_id INT(11) DEFAULT '0' NOT NULL,
t3ver_wsid INT(11) DEFAULT '0' NOT NULL,
t3ver_label VARCHAR(255) DEFAULT '' NOT NULL,
t3ver_state TINYINT(4) DEFAULT '0' NOT NULL,
t3ver_stage INT(11) DEFAULT '0' NOT NULL,
t3ver_count INT(11) DEFAULT '0' NOT NULL,
t3ver_tstamp INT(11) DEFAULT '0' NOT NULL,
t3ver_move_id INT(11) DEFAULT '0' NOT NULL,
t3_origuid INT(11) DEFAULT '0' NOT NULL,
sys_language_uid INT(11) DEFAULT '0' NOT NULL,
l10n_parent INT(11) DEFAULT '0' NOT NULL,
l10n_diffsource MEDIUMBLOB,
PRIMARY KEY (uid),
KEY parent (pid),
KEY t3ver_oid (t3ver_oid, t3ver_wsid),
KEY language (l10n_parent, sys_language_uid)
);
#
# Table structure for table 'tx_vmfdssermons_sermon_preacher_mm'
#
CREATE TABLE tx_vmfdssermons_sermon_preacher_mm (
uid_local INT(11) UNSIGNED DEFAULT '0' NOT NULL,
uid_foreign INT(11) UNSIGNED DEFAULT '0' NOT NULL,
sorting INT(11) UNSIGNED DEFAULT '0' NOT NULL,
sorting_foreign INT(11) UNSIGNED DEFAULT '0' NOT NULL,
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_vmfdssermons_sermon_series_mm'
#
CREATE TABLE tx_vmfdssermons_sermon_series_mm (
uid_local INT(11) UNSIGNED DEFAULT '0' NOT NULL,
uid_foreign INT(11) UNSIGNED DEFAULT '0' NOT NULL,
sorting INT(11) UNSIGNED DEFAULT '0' NOT NULL,
sorting_foreign INT(11) UNSIGNED DEFAULT '0' NOT NULL,
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_vmfdssermons_domain_model_slide'
#
CREATE TABLE tx_vmfdssermons_domain_model_slide (
uid INT(11) NOT NULL AUTO_INCREMENT,
pid INT(11) DEFAULT '0' NOT NULL,
sermon_id INT(11) DEFAULT '0' NOT NULL,
sorting INT(11) DEFAULT '0' NOT NULL,
title VARCHAR(255) DEFAULT '' NOT NULL,
presentation_title VARCHAR(255) DEFAULT '' NOT NULL,
presentation_font_size INT(11) UNSIGNED DEFAULT '60' NOT NULL,
image TEXT NOT NULL,
image_source VARCHAR(255) DEFAULT '' NOT NULL,
bible_text TEXT NOT NULL,
story TEXT NOT NULL,
preacher_notes TEXT NOT NULL,
tech_notes TEXT NOT NULL,
tstamp INT(11) UNSIGNED DEFAULT '0' NOT NULL,
crdate INT(11) UNSIGNED DEFAULT '0' NOT NULL,
cruser_id INT(11) UNSIGNED DEFAULT '0' NOT NULL,
deleted TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
hidden TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
starttime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
endtime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
t3ver_oid INT(11) DEFAULT '0' NOT NULL,
t3ver_id INT(11) DEFAULT '0' NOT NULL,
t3ver_wsid INT(11) DEFAULT '0' NOT NULL,
t3ver_label VARCHAR(255) DEFAULT '' NOT NULL,
t3ver_state TINYINT(4) DEFAULT '0' NOT NULL,
t3ver_stage INT(11) DEFAULT '0' NOT NULL,
t3ver_count INT(11) DEFAULT '0' NOT NULL,
t3ver_tstamp INT(11) DEFAULT '0' NOT NULL,
t3ver_move_id INT(11) DEFAULT '0' NOT NULL,
t3_origuid INT(11) DEFAULT '0' NOT NULL,
sys_language_uid INT(11) DEFAULT '0' NOT NULL,
l10n_parent INT(11) DEFAULT '0' NOT NULL,
l10n_diffsource MEDIUMBLOB,
PRIMARY KEY (uid),
KEY parent (pid),
KEY t3ver_oid (t3ver_oid, t3ver_wsid),
KEY language (l10n_parent, sys_language_uid)
);
#
# Table structure for table 'tx_vmfdssermons_domain_model_feed'
#
CREATE TABLE tx_vmfdssermons_domain_model_feed (
uid INT(11) NOT NULL AUTO_INCREMENT,
pid INT(11) DEFAULT '0' NOT NULL,
title VARCHAR(255) DEFAULT '' NOT NULL,
url VARCHAR(255) DEFAULT '' NOT NULL,
church VARCHAR(255) DEFAULT '' NOT NULL,
church_url VARCHAR(255) DEFAULT '' NOT NULL,
tstamp INT(11) UNSIGNED DEFAULT '0' NOT NULL,
crdate INT(11) UNSIGNED DEFAULT '0' NOT NULL,
cruser_id INT(11) UNSIGNED DEFAULT '0' NOT NULL,
deleted TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
hidden TINYINT(4) UNSIGNED DEFAULT '0' NOT NULL,
starttime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
endtime INT(11) UNSIGNED DEFAULT '0' NOT NULL,
t3ver_oid INT(11) DEFAULT '0' NOT NULL,
t3ver_id INT(11) DEFAULT '0' NOT NULL,
t3ver_wsid INT(11) DEFAULT '0' NOT NULL,
t3ver_label VARCHAR(255) DEFAULT '' NOT NULL,
t3ver_state TINYINT(4) DEFAULT '0' NOT NULL,
t3ver_stage INT(11) DEFAULT '0' NOT NULL,
t3ver_count INT(11) DEFAULT '0' NOT NULL,
t3ver_tstamp INT(11) DEFAULT '0' NOT NULL,
t3ver_move_id INT(11) DEFAULT '0' NOT NULL,
t3_origuid INT(11) DEFAULT '0' NOT NULL,
sys_language_uid INT(11) DEFAULT '0' NOT NULL,
l10n_parent INT(11) DEFAULT '0' NOT NULL,
l10n_diffsource MEDIUMBLOB,
PRIMARY KEY (uid),
KEY parent (pid),
KEY t3ver_oid (t3ver_oid, t3ver_wsid),
KEY language (l10n_parent, sys_language_uid)
);