forked from learntube/lms3h5p
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.sql
198 lines (163 loc) · 5.16 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
#
# Table structure for table 'tx_lms3h5p_domain_model_setting'
#
CREATE TABLE tx_lms3h5p_domain_model_setting (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
config_key VARCHAR(255) NOT NULL,
config_value LONGTEXT NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_library'
#
CREATE TABLE tx_lms3h5p_domain_model_library (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
name VARCHAR(255) NOT NULL,
title VARCHAR(255) NOT NULL,
major_version INT NOT NULL,
minor_version INT NOT NULL,
patch_version INT NOT NULL,
runnable TINYINT(1) NOT NULL,
restricted TINYINT(1) NOT NULL,
fullscreen TINYINT(1) NOT NULL,
embed_types VARCHAR(255) NOT NULL,
preloaded_js LONGTEXT NOT NULL,
preloaded_css LONGTEXT NOT NULL,
drop_library_css LONGTEXT NOT NULL,
semantics LONGTEXT NOT NULL,
tutorial_url LONGTEXT NOT NULL,
has_icon TINYINT(1) NOT NULL,
meta_data_settings LONGTEXT DEFAULT NULL,
add_to LONGTEXT DEFAULT NULL,
created_at int(11) DEFAULT '0' NOT NULL,
updated_at int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_librarydependency'
#
CREATE TABLE tx_lms3h5p_domain_model_librarydependency (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
library int(11) NOT NULL,
required_library int(11) NOT NULL,
dependency_type VARCHAR(255) NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_librarytranslation'
#
CREATE TABLE tx_lms3h5p_domain_model_librarytranslation (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
library int(11) NOT NULL,
language_code varchar(255) NOT NULL,
translation longtext NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_contenttypecacheentry'
#
CREATE TABLE tx_lms3h5p_domain_model_contenttypecacheentry (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
machine_name VARCHAR(255) NOT NULL,
major_version INT NOT NULL,
minor_version INT NOT NULL,
patch_version INT NOT NULL,
h5p_major_version INT NOT NULL,
h5p_minor_version INT NOT NULL,
title VARCHAR(255) NOT NULL,
summary LONGTEXT NOT NULL,
description LONGTEXT NOT NULL,
icon LONGTEXT NOT NULL,
created_at int(11) DEFAULT '0' NOT NULL,
updated_at int(11) DEFAULT '0' NOT NULL,
is_recommended TINYINT(1) NOT NULL,
popularity INT NOT NULL,
screenshots LONGTEXT DEFAULT NULL,
license LONGTEXT DEFAULT NULL,
example LONGTEXT NOT NULL,
tutorial LONGTEXT DEFAULT NULL,
keywords LONGTEXT DEFAULT NULL,
categories LONGTEXT DEFAULT NULL,
owner LONGTEXT DEFAULT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_cachedasset'
#
CREATE TABLE tx_lms3h5p_domain_model_cachedasset (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
library int(11) DEFAULT NULL,
hash_key VARCHAR(255) NOT NULL,
type VARCHAR(255) NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_content'
#
CREATE TABLE tx_lms3h5p_domain_model_content (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
library int(11) DEFAULT NULL,
account int(11) DEFAULT NULL,
zipped_content_file VARCHAR(40) DEFAULT NULL,
export_file VARCHAR(40) DEFAULT NULL,
created_at int(11) DEFAULT '0' NOT NULL,
updated_at int(11) DEFAULT '0' NOT NULL,
title VARCHAR(255) NOT NULL,
parameters LONGTEXT NOT NULL,
filtered LONGTEXT NOT NULL,
slug VARCHAR(255) NOT NULL,
embed_type VARCHAR(255) NOT NULL,
disable INT NOT NULL,
content_type VARCHAR(255) DEFAULT NULL,
author VARCHAR(255) DEFAULT NULL,
keywords LONGTEXT DEFAULT NULL,
description LONGTEXT DEFAULT NULL,
source VARCHAR(2083) DEFAULT NULL,
year_from int(10) DEFAULT NULL,
year_to int(10) DEFAULT NULL,
license VARCHAR(255) DEFAULT NULL,
license_version VARCHAR(10) DEFAULT NULL,
license_extras LONGTEXT DEFAULT NULL,
author_comments LONGTEXT DEFAULT NULL,
changes LONGTEXT DEFAULT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_contentdependency'
#
CREATE TABLE tx_lms3h5p_domain_model_contentdependency (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
content int(11) NOT NULL,
library int(11) NOT NULL,
dependency_type VARCHAR(255) NOT NULL,
weight INT NOT NULL,
drop_css TINYINT(1) NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_lms3h5p_domain_model_editortempfile'
#
CREATE TABLE tx_lms3h5p_domain_model_editortempfile (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
path VARCHAR(255) NOT NULL,
created_at int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);