-
Notifications
You must be signed in to change notification settings - Fork 5
/
ext_tables.sql
921 lines (733 loc) · 27.9 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
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
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
CREATE TABLE tx_academy_domain_model_projects (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
identifier varchar(255) DEFAULT '' NOT NULL,
title varchar(255) DEFAULT '' NOT NULL,
acronym varchar(40) DEFAULT '' NOT NULL,
sorting varchar(255) DEFAULT '' NOT NULL,
description text NOT NULL,
# tt_content (1:n)
content_elements int(11) DEFAULT '0' NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# pages (1:n)
page int(11) DEFAULT '0' NOT NULL,
# sys_file (1:n)
image int(11) DEFAULT '0' NOT NULL,
# tx_academy_domain_model_relations (1:n)
relations int(11) unsigned DEFAULT '0' NOT NULL,
# tx_chftime_domain_model_dateranges (1:1)
date_range int(11) unsigned DEFAULT '0',
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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 mediumtext,
l10n_source int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY identifier (identifier),
KEY title (title),
KEY page (page),
KEY date_range (date_range),
KEY relations (relations)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_units (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
title varchar(255) DEFAULT '' NOT NULL,
acronym varchar(40) DEFAULT '' NOT NULL,
sorting varchar(255) DEFAULT '' NOT NULL,
description text NOT NULL,
# tt_content (1:n)
content_elements int(11) DEFAULT '0' NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# pages (1:n)
page int(11) DEFAULT '0' NOT NULL,
# sys_file (1:n)
image int(11) DEFAULT '0' NOT NULL,
# tx_academy_domain_model_relations (1:n)
relations int(11) unsigned DEFAULT '0' NOT NULL,
# tx_chftime_domain_model_dateranges (1:1)
date_range int(11) unsigned DEFAULT '0',
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY title (title),
KEY page (page),
KEY relations (relations)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_persons (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
given_name varchar(80) DEFAULT '' NOT NULL,
additional_name varchar(80) DEFAULT '' NOT NULL,
family_name varchar(80) DEFAULT '' NOT NULL,
honorific_prefix varchar(80) DEFAULT '' NOT NULL,
honorific_suffix varchar(80) DEFAULT '' NOT NULL,
sorting varchar(255) DEFAULT '' NOT NULL,
# tt_content (1:n)
content_elements int(11) DEFAULT '0' NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# sys_file (1:n)
image int(11) DEFAULT '0' NOT NULL,
# pages (1:n)
page int(11) DEFAULT '0' NOT NULL,
# tx_academy_domain_model_relations (1:n)
relations int(11) unsigned DEFAULT '0' NOT NULL,
# chf_time date range (1:1)
date_range int(11) unsigned DEFAULT '0',
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY given_name (given_name),
KEY family_name (family_name),
KEY page (page),
KEY date_range (date_range),
KEY relations (relations)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_media (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
type int(11) DEFAULT '0' NOT NULL,
title varchar(255) DEFAULT '' NOT NULL,
description text NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# sys_file (1:n)
image int(11) DEFAULT '0' NOT NULL,
# sys_file (1:n)
files int(11) DEFAULT '0' NOT NULL,
# sys_file_collections (1:n)
collections int(11) DEFAULT '0' NOT NULL,
# pages (1:n)
page int(11) DEFAULT '0' NOT NULL,
# tx_academy_domain_model_relations (1:n)
relations int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY title (title),
KEY type (type),
KEY files (files),
KEY page (page),
KEY relations (relations)
) ENGINE=InnoDB;
# https://www.eurocris.org/Uploads/Web%20pages/CERIF-1.5/cerif.html#cfResProd
# https://openaire-guidelines-for-cris-managers.readthedocs.io/en/v1.1.1/cerif_xml_product_entity.html
CREATE TABLE tx_academy_domain_model_products (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
# cfURI
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
# cfResProdId
identifier varchar(255) DEFAULT '' NOT NULL,
# cfName
title varchar(255) DEFAULT '' NOT NULL,
# cfAcro
acronym varchar(40) DEFAULT '' NOT NULL,
# cfDescr
description text NOT NULL,
# cfVersInfo
version varchar(40) DEFAULT '' NOT NULL,
# tt_content (1:n)
content_elements int(11) DEFAULT '0' NOT NULL,
# sys_file (1:n)
image int(11) DEFAULT '0' NOT NULL,
# pages (1:n)
page int(11) DEFAULT '0' NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# tx_academy_domain_model_relations (1:n)
relations int(11) unsigned DEFAULT '0' NOT NULL,
# chf_time date range (1:1)
date_range int(11) unsigned DEFAULT '0',
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting varchar(255) DEFAULT '' 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY identifier (identifier),
KEY page (page),
KEY title (title),
KEY date_range (date_range),
KEY relations (relations)
) ENGINE=InnoDB;
# https://www.eurocris.org/Uploads/Web%20pages/CERIF-1.5/cerif.html#cfResPubl
CREATE TABLE tx_academy_domain_model_publications (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
# cfURI
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
# cfResPublId
identifier varchar(128) DEFAULT '' NOT NULL,
# cfTitle
title varchar(255) DEFAULT '' NOT NULL,
# cfSubtitle
subtitle varchar(255) DEFAULT '' NOT NULL,
# cfNameAbbrev
abbreviation varchar(255) DEFAULT '' NOT NULL,
# cfVol
volume varchar(255) DEFAULT '' NOT NULL,
# cfNum
number varchar(255) DEFAULT '' NOT NULL,
# cfIssue
issue varchar(255) DEFAULT '' NOT NULL,
# cfEdition
edition varchar(255) DEFAULT '' NOT NULL,
# cfSeries
series varchar(255) DEFAULT '' NOT NULL,
# cfStartPage
start_page int(11) unsigned DEFAULT '0' NOT NULL,
# cfEndPage
end_page int(11) unsigned DEFAULT '0' NOT NULL,
# cfTotalPages
total_pages int(11) unsigned DEFAULT '0' NOT NULL,
# cfAbstr
description text NOT NULL,
# cfBiblNote
bibliographic_note varchar(255) DEFAULT '' NOT NULL,
# tt_content (1:n)
content_elements int(11) DEFAULT '0' NOT NULL,
# sys_file (1:n)
image int(11) DEFAULT '0' NOT NULL,
# pages (1:n)
page int(11) DEFAULT '0' NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# tx_academy_domain_model_relations (1:n)
relations int(11) unsigned DEFAULT '0' NOT NULL,
# chf_time date range (1:1)
# cfResPublDate
date_range int(11) unsigned DEFAULT '0',
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting varchar(255) DEFAULT '' 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY identifier (identifier),
KEY title (title),
KEY date_range (date_range),
KEY page (page),
KEY relations (relations)
) ENGINE=InnoDB;
# https://www.eurocris.org/Uploads/Web%20pages/CERIF-1.5/cerif.html#cfSrv
CREATE TABLE tx_academy_domain_model_services (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
# cfURI
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
# cfSrvId
identifier varchar(255) DEFAULT '' NOT NULL,
# cfName
title varchar(255) DEFAULT '' NOT NULL,
# cfAcro
acronym varchar(40) DEFAULT '' NOT NULL,
# cfDescr
description text NOT NULL,
# tt_content (1:n)
content_elements int(11) DEFAULT '0' NOT NULL,
# sys_file (1:n)
image int(11) DEFAULT '0' NOT NULL,
# pages (1:n)
page int(11) DEFAULT '0' NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# tx_academy_domain_model_relations (1:n)
relations int(11) unsigned DEFAULT '0' NOT NULL,
# chf_time date range (1:1)
date_range int(11) unsigned DEFAULT '0',
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting varchar(255) DEFAULT '' 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY identifier (identifier),
KEY title (title),
KEY date_range (date_range),
KEY page (page),
KEY relations (relations)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_relations (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
type int(11) DEFAULT '0' NOT NULL,
freetext text NOT NULL,
# tx_academy_domain_model_roles (1:1)
role int(11) unsigned DEFAULT '0',
role_freetext varchar(255) DEFAULT '' NOT NULL,
# tx_chftime_domain_model_dateranges (1:1)
date_range int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_projects (1:1)
project int(11) unsigned DEFAULT '0',
project_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_units (1:1)
unit int(11) unsigned DEFAULT '0',
unit_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_events (1:1)
event int(11) unsigned DEFAULT '0',
event_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_persons (1:1)
person int(11) unsigned DEFAULT '0',
person_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_media (1:1)
medium int(11) unsigned DEFAULT '0',
medium_symmetric int(11) unsigned DEFAULT '0',
# tx_news_domain_model_news (1:1)
news int(11) unsigned DEFAULT '0',
news_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_products (1:1)
product int(11) unsigned DEFAULT '0',
product_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_service (1:1)
service int(11) unsigned DEFAULT '0',
service_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_publications (1:1)
publication int(11) unsigned DEFAULT '0',
publication_symmetric int(11) unsigned DEFAULT '0',
# tx_academy_domain_model_hcards (1:1)
hcard int(11) unsigned DEFAULT '0',
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting int(11) unsigned DEFAULT '0' NOT NULL,
sorting_symmetric 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY type (type),
KEY role (role),
KEY project (project),
KEY project_symmetric (project_symmetric),
KEY unit (unit),
KEY unit_symmetric (unit_symmetric),
KEY event (event),
KEY event_symmetric (event_symmetric),
KEY person (person),
KEY person_symmetric (person_symmetric),
KEY news (news),
KEY news_symmetric (news_symmetric),
KEY medium (medium),
KEY medium_symmetric (medium_symmetric),
KEY service (service),
KEY service_symmetric (service_symmetric),
KEY product (product),
KEY product_symmetric (product_symmetric),
KEY publication (publication),
KEY publication_symmetric (publication_symmetric),
KEY hcard (hcard),
KEY date_range (date_range)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_roles (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
title varchar(255) DEFAULT '' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY title (title)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_hcards (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
type int(11) unsigned DEFAULT '0' NOT NULL,
geo varchar(255) DEFAULT '' NOT NULL,
# slug
slug varchar(2048) DEFAULT '' NOT NULL,
# tx_academy_domain_model_hcards_adr (1:n)
adr int(11) unsigned DEFAULT '0' NOT NULL,
# tx_academy_domain_model_hcards_tel (1:n)
tel int(11) unsigned DEFAULT '0' NOT NULL,
# tx_academy_domain_model_hcards_email (1:n)
email int(11) unsigned DEFAULT '0' NOT NULL,
# tx_academy_domain_model_hcards_url (1:n)
url int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY persistent_identifier (persistent_identifier),
KEY type (type),
KEY adr (adr),
KEY tel (tel),
KEY email (email),
KEY url (url)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_hcards_adr (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
org varchar(255) DEFAULT '' NOT NULL,
type int(11) unsigned DEFAULT '0' NOT NULL,
# tx_academy_domain_model_hcards_adrcomponents (1:n)
adrcomponents int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY type (type),
KEY adrcomponents (adrcomponents)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_hcards_adrcomponents (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
type int(11) unsigned DEFAULT '0' NOT NULL,
value varchar(255) DEFAULT '' NOT NULL,
# tx_academy_domain_model_hcards_adr (1:1)
parent int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY type (type),
KEY record_value (value),
KEY parent (parent)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_hcards_tel (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
type int(11) unsigned DEFAULT '0' NOT NULL,
value varchar(255) DEFAULT '' NOT NULL,
freetext varchar(255) DEFAULT '' NOT NULL,
# tx_academy_domain_model_hcards (1:1)
parent int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY type (type),
KEY record_value (value),
KEY parent (parent)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_hcards_email (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
type int(11) unsigned DEFAULT '0' NOT NULL,
value varchar(255) DEFAULT '' NOT NULL,
freetext varchar(255) DEFAULT '' NOT NULL,
# tx_academy_domain_model_hcards (1:1)
parent int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY type (type),
KEY record_value (value),
KEY parent (parent)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_domain_model_hcards_url (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
type int(11) unsigned DEFAULT '0' NOT NULL,
value varchar(255) DEFAULT '' NOT NULL,
freetext varchar(255) DEFAULT '' NOT NULL,
# tx_academy_domain_model_hcards (1:1)
parent int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate 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,
sorting 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(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp 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 NOT NULL,
PRIMARY KEY (uid),
KEY pid (pid),
KEY t3ver_oid (t3ver_oid,t3ver_wsid),
KEY type (type),
KEY record_value (value),
KEY parent (parent)
) ENGINE=InnoDB;
CREATE TABLE tx_academy_hcards_adr_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)
) ENGINE=InnoDB;
CREATE TABLE tx_news_domain_model_news (
news_relations int(11) unsigned DEFAULT '0' NOT NULL,
event_relations int(11) unsigned DEFAULT '0' NOT NULL
);
CREATE TABLE sys_category (
persistent_identifier varchar(255) DEFAULT '' NOT NULL,
KEY persistent_identifier (persistent_identifier)
);
CREATE TABLE tt_content (
tx_academy_parent int(11) DEFAULT '0' NOT NULL,
tx_academy_tablename varchar(255) DEFAULT '' NOT NULL,
KEY tx_academy_parent (tx_academy_parent)
);