-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.sql
194 lines (173 loc) · 7.05 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
CREATE TABLE pages
(
tx_twevents_layout_past varchar(255) DEFAULT '' NOT NULL,
tx_twevents_layout_running varchar(255) DEFAULT '' NOT NULL,
tx_twevents_layout_future varchar(255) DEFAULT '' NOT NULL,
);
CREATE TABLE tt_content
(
tx_twevents_slug varchar(255) DEFAULT '' NOT NULL,
tx_twevents_stages int(11) DEFAULT '7' NOT NULL,
);
#
# Table structure for table 'tx_twevents_domain_model_organization'
#
CREATE TABLE tx_twevents_domain_model_organization
(
name varchar(255) DEFAULT '' NOT NULL,
slug varchar(255) DEFAULT '' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
street_address text DEFAULT '' NOT NULL,
postal_code varchar(255) DEFAULT '' NOT NULL,
locality varchar(255) DEFAULT '' NOT NULL,
region varchar(255) DEFAULT '' NOT NULL,
country int(11) DEFAULT '0' NOT NULL,
longitude DECIMAL(19, 16) DEFAULT '0' NOT NULL,
latitude DECIMAL(19, 16) DEFAULT '0' NOT NULL,
map_url text DEFAULT '' NOT NULL,
website varchar(255) DEFAULT '' NOT NULL,
twitter varchar(255) DEFAULT '' NOT NULL,
facebook varchar(255) DEFAULT '' NOT NULL,
email varchar(255) DEFAULT '' NOT NULL,
phone varchar(255) DEFAULT '' NOT NULL,
logo int(11) unsigned NOT NULL default '0',
photos int(11) unsigned DEFAULT '0' NOT NULL,
description text,
categories int(11) unsigned DEFAULT '0' NOT NULL,
);
#
# Table structure for table 'tx_twevents_domain_model_event'
#
CREATE TABLE tx_twevents_domain_model_event
(
name varchar(255) DEFAULT '' NOT NULL,
slug varchar(255) DEFAULT '' NOT NULL,
event_start datetime DEFAULT NULL,
event_end datetime DEFAULT NULL,
attendance_mode tinyint(4) DEFAULT '0' NOT NULL,
status tinyint(4) DEFAULT '0' NOT NULL,
summary varchar(255) DEFAULT '' NOT NULL,
description text,
location_description text,
ticket_description text,
ticket_url varchar(255) DEFAULT '' NOT NULL,
facebook varchar(255) DEFAULT '' NOT NULL,
colloq varchar(255) DEFAULT '' NOT NULL,
website varchar(255) DEFAULT '' NOT NULL,
hashtag varchar(255) DEFAULT '' NOT NULL,
livestream_url varchar(255) DEFAULT '' NOT NULL,
livestream_embed varchar(255) DEFAULT '' NOT NULL,
livestream_start datetime DEFAULT NULL,
livestream_end datetime DEFAULT NULL,
downloads int(11) unsigned DEFAULT '0' NOT NULL,
location int(11) unsigned DEFAULT '0',
sponsors int(11) unsigned DEFAULT '0' NOT NULL,
organizers int(11) unsigned DEFAULT '0' NOT NULL,
presentations int(11) unsigned DEFAULT '0' NOT NULL,
coverage int(11) unsigned DEFAULT '0' NOT NULL,
categories int(11) unsigned DEFAULT '0' NOT NULL,
page int(11) unsigned
);
#
# Table structure for table 'tx_twevents_domain_model_person'
#
CREATE TABLE tx_twevents_domain_model_person
(
given_name varchar(255) DEFAULT '' NOT NULL,
family_name varchar(255) DEFAULT '' NOT NULL,
slug varchar(255) DEFAULT '' NOT NULL,
photo int(11) unsigned NOT NULL default '0',
summary text,
biography text,
teaser text,
website varchar(255) DEFAULT '' NOT NULL,
twitter varchar(255) DEFAULT '' NOT NULL,
github varchar(255) DEFAULT '' NOT NULL,
facebook varchar(255) DEFAULT '' NOT NULL,
email varchar(255) DEFAULT '' NOT NULL,
phone varchar(255) DEFAULT '' NOT NULL,
categories int(11) unsigned DEFAULT '0' NOT NULL,
);
#
# Table structure for table 'tx_twevents_domain_model_sponsor'
#
CREATE TABLE tx_twevents_domain_model_sponsor
(
label varchar(255) DEFAULT '' NOT NULL,
event int(11) unsigned DEFAULT '0' NOT NULL,
organization int(11) unsigned DEFAULT '0',
type int(11) unsigned DEFAULT '0' NOT NULL,
sorting int(11) unsigned DEFAULT '0' NOT NULL,
);
#
# Table structure for table 'tx_twevents_domain_model_coverage'
#
CREATE TABLE tx_twevents_domain_model_coverage
(
event int(11) unsigned DEFAULT '0' NOT NULL,
presentation int(11) unsigned DEFAULT '0' NOT NULL,
title varchar(255) DEFAULT '' NOT NULL,
type int(11) DEFAULT '0' NOT NULL,
url varchar(255) DEFAULT '' NOT NULL,
author int(11) DEFAULT '0' NOT NULL,
author_name varchar(255) DEFAULT '' NOT NULL,
sorting int(11) DEFAULT '0' NOT NULL,
);
#
# Table structure for table 'tx_twevents_domain_model_note'
#
CREATE TABLE tx_twevents_domain_model_note
(
presentation int(11) unsigned DEFAULT '0' NOT NULL,
author int(11) DEFAULT '0' NOT NULL,
author_name varchar(255) DEFAULT '' NOT NULL,
content text,
sorting int(11) DEFAULT '0' NOT NULL,
);
#
# Table structure for table 'tx_twevents_domain_model_presentation'
#
CREATE TABLE tx_twevents_domain_model_presentation
(
event int(11) unsigned DEFAULT '0' NOT NULL,
title varchar(255) DEFAULT '' NOT NULL,
slug varchar(255) DEFAULT '' NOT NULL,
type int(11) DEFAULT '0' NOT NULL,
summary text,
description text,
hashtag varchar(255) DEFAULT '' NOT NULL,
start datetime DEFAULT NULL,
duration int(11) DEFAULT '0' NOT NULL,
performers int(11) unsigned DEFAULT '0' NOT NULL,
coverage int(11) unsigned DEFAULT '0' NOT NULL,
note int(11) unsigned DEFAULT '0' NOT NULL,
categories int(11) unsigned DEFAULT '0' NOT NULL,
video int(11) unsigned DEFAULT '0' NOT NULL,
page int(11) unsigned,
);
#
# Table structure for table 'tx_twevents_event_person_mm'
#
CREATE TABLE tx_twevents_event_person_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_twevents_presentation_person_mm'
#
CREATE TABLE tx_twevents_presentation_person_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)
);