-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathext_tables.sql
More file actions
643 lines (526 loc) · 21 KB
/
Copy pathext_tables.sql
File metadata and controls
643 lines (526 loc) · 21 KB
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
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
#
# Table structure for table 'tx_campuseventsconnector_domain_model_event'
#
CREATE TABLE tx_campuseventsconnector_domain_model_event (
status int(11) DEFAULT '0' NOT NULL,
canceled smallint(5) unsigned DEFAULT '0' NOT NULL,
published smallint(5) unsigned DEFAULT '0' NOT NULL,
completed smallint(5) unsigned DEFAULT '0' NOT NULL,
archived smallint(5) unsigned DEFAULT '0' NOT NULL,
url varchar(255) DEFAULT '' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
subtitle varchar(255) DEFAULT '' NOT NULL,
description text,
short_description text,
learning_objective text,
min_participants int(11) DEFAULT NULL,
max_participants int(11) DEFAULT NULL,
show_available_tickets smallint(5) unsigned DEFAULT '0' NOT NULL,
available_tickets int(11) DEFAULT '0' NOT NULL,
categories int(11) unsigned DEFAULT '0' NOT NULL,
organizer int(11) unsigned DEFAULT '0' NOT NULL,
target_groups int(11) unsigned DEFAULT '0' NOT NULL,
filter_categories int(11) unsigned DEFAULT '0' NOT NULL,
view_lists int(11) unsigned DEFAULT '0' NOT NULL,
alternative_events int(11) unsigned DEFAULT '0' NOT NULL,
contact_persons int(11) unsigned DEFAULT '0' NOT NULL,
disturber_message varchar(255) DEFAULT '' NOT NULL,
start_tstamp int(11) unsigned DEFAULT '0' NOT NULL,
end_tstamp int(11) unsigned DEFAULT '0' NOT NULL,
event_attachments int(11) unsigned DEFAULT '0' NOT NULL,
event_attendance_mode varchar(255) DEFAULT '' NOT NULL,
event_images int(11) unsigned DEFAULT '0' NOT NULL,
event_number varchar(255) DEFAULT '' NOT NULL,
event_sessions int(11) unsigned DEFAULT '0' NOT NULL,
event_ticket_price_variants int(11) unsigned DEFAULT '0' NOT NULL,
external_order_email_address varchar(255) DEFAULT '' NOT NULL,
external_order_email_subject varchar(255) DEFAULT '' NOT NULL,
external_order_email_body text,
external_order_url varchar(255) DEFAULT '' NOT NULL,
direct_registration_url varchar(255) DEFAULT '' NOT NULL,
locations int(11) unsigned DEFAULT '0' NOT NULL,
modified_at_recursive int(11) DEFAULT '0',
order_type int(11) unsigned DEFAULT '0' NOT NULL,
referents int(11) unsigned DEFAULT '0' NOT NULL,
referents_title varchar(255) DEFAULT '' NOT NULL,
not_orderable_message text,
seo_description text,
seo_title text,
seo_robots_index smallint(5) unsigned DEFAULT '0' NOT NULL,
seo_robots_follow smallint(5) unsigned DEFAULT '0' NOT NULL,
sponsors int(11) unsigned DEFAULT '0' NOT NULL,
sponsors_title varchar(255) DEFAULT '' NOT NULL,
ticket_cancellation_until bigint(20) unsigned DEFAULT '0' NOT NULL,
tickets_from bigint(20) unsigned DEFAULT '0' NOT NULL,
tickets_till bigint(20) unsigned DEFAULT '0' NOT NULL,
slug varchar(2048),
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY path_segment (slug(185), uid),
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_location'
#
CREATE TABLE tx_campuseventsconnector_domain_model_location (
name text,
street_name varchar(255) DEFAULT '' NOT NULL,
town varchar(255) DEFAULT '' NOT NULL,
zip_code varchar(255) DEFAULT '' NOT NULL,
list_view_display_name varchar(255) DEFAULT '' NOT NULL,
building varchar(255) DEFAULT '' NOT NULL,
room varchar(255) DEFAULT '' NOT NULL,
longitude varchar(255) DEFAULT '' NOT NULL,
latitude varchar(255) DEFAULT '' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_organizer'
#
CREATE TABLE tx_campuseventsconnector_domain_model_organizer (
name varchar(255) DEFAULT '' NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_timerange'
#
CREATE TABLE tx_campuseventsconnector_domain_model_timerange (
event int(11) unsigned DEFAULT '0' NOT NULL,
event_session int(11) unsigned DEFAULT '0' NOT NULL,
start_tstamp int(11) unsigned DEFAULT '0' NOT NULL,
end_tstamp int(11) unsigned DEFAULT '0' NOT NULL,
start_date_is_set smallint(5) unsigned DEFAULT '0' NOT NULL,
end_date_is_set smallint(5) unsigned DEFAULT '0' NOT NULL,
visible_until bigint(20) unsigned DEFAULT '0' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_category'
#
CREATE TABLE tx_campuseventsconnector_domain_model_category (
name varchar(255) DEFAULT '' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_targetgroup'
#
CREATE TABLE tx_campuseventsconnector_domain_model_targetgroup (
name varchar(255) DEFAULT '' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_viewlist'
#
CREATE TABLE tx_campuseventsconnector_domain_model_viewlist (
name varchar(255) DEFAULT '' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_filtercategory'
#
CREATE TABLE tx_campuseventsconnector_domain_model_filtercategory (
name varchar(255) DEFAULT '' NOT NULL,
parent int(11) unsigned DEFAULT '0',
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_contactperson'
#
CREATE TABLE tx_campuseventsconnector_domain_model_contactperson (
title varchar(255) DEFAULT '' NOT NULL,
first_name varchar(255) DEFAULT '' NOT NULL,
last_name varchar(255) DEFAULT '' NOT NULL,
position varchar(255) DEFAULT '' NOT NULL,
department varchar(255) DEFAULT '' NOT NULL,
institution varchar(255) DEFAULT '' NOT NULL,
phone varchar(255) DEFAULT '' NOT NULL,
mail_address varchar(255) DEFAULT '' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_event_attachment'
#
CREATE TABLE tx_campuseventsconnector_domain_model_eventattachment (
name varchar(255) DEFAULT '' NOT NULL,
file_hash varchar(255) DEFAULT '' NOT NULL,
attachment_file int(11) unsigned DEFAULT '0',
external_resource_url varchar(255) DEFAULT '' NOT NULL,
event int(11) unsigned DEFAULT '0' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_eventimage'
#
CREATE TABLE tx_campuseventsconnector_domain_model_eventimage (
name varchar(255) DEFAULT '' NOT NULL,
file_hash varchar(255) DEFAULT '' NOT NULL,
image_file int(11) unsigned DEFAULT '0',
external_resource_url varchar(255) DEFAULT '' NOT NULL,
event int(11) unsigned DEFAULT '0' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_eventsession'
#
CREATE TABLE tx_campuseventsconnector_domain_model_eventsession (
start_tstamp int(11) unsigned DEFAULT '0' NOT NULL,
end_tstamp int(11) unsigned DEFAULT '0' NOT NULL,
event int(11) unsigned DEFAULT '0' NOT NULL,
session_time_periods int(11) unsigned DEFAULT '0' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_eventticketpricevariant'
#
CREATE TABLE tx_campuseventsconnector_domain_model_eventticketpricevariant (
bookable_from datetime DEFAULT '1900-01-01 00:00:00',
bookable_till datetime DEFAULT '1900-01-01 00:00:00',
name varchar(255) DEFAULT '' NOT NULL,
pv_quota INT DEFAULT NULL,
pv_price NUMERIC(10, 2) DEFAULT NULL,
pv_tax_rate NUMERIC(10, 2) DEFAULT NULL,
pv_tax NUMERIC(10, 2) DEFAULT NULL,
direct_checkout_url varchar(255) DEFAULT '' NOT NULL,
price_category int(11) unsigned DEFAULT '0',
event int(11) unsigned DEFAULT '0',
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_pricecategory'
#
CREATE TABLE tx_campuseventsconnector_domain_model_pricecategory (
name varchar(255) DEFAULT '' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_referent'
#
CREATE TABLE tx_campuseventsconnector_domain_model_referent (
title varchar(255) DEFAULT '' NOT NULL,
first_name varchar(255) DEFAULT '' NOT NULL,
last_name varchar(255) DEFAULT '' NOT NULL,
external_url varchar(255) DEFAULT '' NOT NULL,
academic_degree varchar(255) DEFAULT '' NOT NULL,
institution varchar(255) DEFAULT '' NOT NULL,
phone varchar(255) DEFAULT '' NOT NULL,
email varchar(255) DEFAULT '' NOT NULL,
type smallint(5) unsigned DEFAULT '0' NOT NULL,
business_address text,
publications text,
focus_of_work text,
event_formats text,
references text,
description text,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_sponsor'
#
CREATE TABLE tx_campuseventsconnector_domain_model_sponsor (
name varchar(255) DEFAULT '' NOT NULL,
public_label varchar(255) DEFAULT '' NOT NULL,
url varchar(255) DEFAULT '' NOT NULL,
image_hash varchar(255) DEFAULT '' NOT NULL,
image_file int(11) unsigned DEFAULT '0',
external_resource_url varchar(255) DEFAULT '' NOT NULL,
ce_import_source varchar(255) DEFAULT NULL,
ce_import_id int(11) unsigned DEFAULT NULL ,
ce_imported_at int(11) unsigned DEFAULT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
KEY import (ce_import_id,ce_import_source)
);
#
# Table structure for table 'tx_campuseventsconnector_domain_model_convertconfiguration'
#
CREATE TABLE tx_campuseventsconnector_domain_model_convertconfiguration (
target_pid int(11) DEFAULT '0' NOT NULL,
template_path varchar(255) DEFAULT '' NOT NULL,
target_groups int(11) unsigned DEFAULT '0' NOT NULL,
filter_categories int(11) unsigned DEFAULT '0' NOT NULL,
view_lists int(11) unsigned DEFAULT '0' NOT NULL,
type varchar(100) NOT NULL DEFAULT '0'
);
#
# Table structure for table 'tx_campuseventsconnector_convertconf_filtercategory_mm'
#
CREATE TABLE tx_campuseventsconnector_convertconf_filtercategory_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_convertconf_targetgroup_mm'
#
CREATE TABLE tx_campuseventsconnector_convertconf_targetgroup_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_convertconf_viewlist_mm'
#
CREATE TABLE tx_campuseventsconnector_convertconf_viewlist_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_category_mm'
#
CREATE TABLE tx_campuseventsconnector_event_category_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_organizer_mm'
#
CREATE TABLE tx_campuseventsconnector_event_organizer_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_filtercategory_mm'
#
CREATE TABLE tx_campuseventsconnector_event_filtercategory_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_targetgroup_mm'
#
CREATE TABLE tx_campuseventsconnector_event_targetgroup_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_viewlist_mm'
#
CREATE TABLE tx_campuseventsconnector_event_viewlist_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_alternative_event_mm'
#
CREATE TABLE tx_campuseventsconnector_event_alternative_event_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_contactperson_mm'
#
CREATE TABLE tx_campuseventsconnector_event_contactperson_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_location_mm'
#
CREATE TABLE tx_campuseventsconnector_event_location_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_ordertype_mm'
#
CREATE TABLE tx_campuseventsconnector_event_ordertype_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_referent_mm'
#
CREATE TABLE tx_campuseventsconnector_event_referent_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_event_sponsor_mm'
#
CREATE TABLE tx_campuseventsconnector_event_sponsor_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,
PRIMARY KEY (uid_local,uid_foreign),
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
#
# Table structure for table 'tx_campuseventsconnector_import'
#
CREATE TABLE tx_campuseventsconnector_import (
uid int(11) NOT NULL auto_increment,
pid int(10) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted smallint(5) unsigned DEFAULT '0' NOT NULL,
hidden smallint(5) unsigned DEFAULT '0' NOT NULL,
running tinyint(4) DEFAULT '0' NOT NULL,
import_start int(11) DEFAULT '0' NOT NULL,
import_end int(11) DEFAULT '0' NOT NULL,
import_source varchar(64) NOT NULL DEFAULT '',
total_row_count int(10) unsigned DEFAULT '0' NOT NULL,
full_loaded_row_count int(10) unsigned DEFAULT '0' NOT NULL,
imported_row_count int(10) unsigned NOT NULL,
skipped_row_count int(10) unsigned DEFAULT '0' NOT NULL,
import_limit int(10) unsigned NOT NULL,
import_source_modified_at int(11) DEFAULT '0' NOT NULL,
first_import_done smallint(5) unsigned DEFAULT '0' NOT NULL,
KEY first_import_done (first_import_done),
PRIMARY KEY (uid)
);
#
# Table structure for table 'tx_campuseventsconnector_import_row'
#
CREATE TABLE tx_campuseventsconnector_import_row (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
deleted tinyint(4) DEFAULT '0' NOT NULL,
import_id int(11) DEFAULT '0' NOT NULL,
import_data mediumtext,
source_type varchar(128) DEFAULT '0' NOT NULL,
source_record_identifier varchar(64) DEFAULT '0' NOT NULL,
source_record_uid int(11) DEFAULT '0' NOT NULL,
target_record_uid int(11) DEFAULT '0' NOT NULL,
data_fully_loaded tinyint(4) DEFAULT '0' NOT NULL,
data_processed tinyint(4) DEFAULT '0' NOT NULL,
files_processed tinyint(4) DEFAULT '0' NOT NULL,
import_skipped tinyint(4) DEFAULT '0' NOT NULL,
data_hash varchar(128) NOT NULL DEFAULT '',
last_updated int(11) DEFAULT '0' NOT NULL,
priority smallint unsigned DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY idx_target_record (source_type, target_record_uid),
KEY idx_import_id (import_id),
KEY idx_data_hash (data_hash),
KEY idx_source_record (source_type, source_record_uid),
KEY idx_source_record_str (source_type, source_record_identifier),
KEY idx_import_source_type (import_id, source_type),
KEY idx_import_skipped_data_processed (import_id, import_skipped, data_processed),
KEY idx_import_skipped_files_processed (import_id, import_skipped, files_processed),
KEY idx_skip_by_hash_lookup (import_id, source_type, source_record_uid, data_hash)
);