-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.sql
55 lines (50 loc) · 1.57 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
#
# Table structure for table 'tx_kestats_statdata'
#
CREATE TABLE tx_kestats_statdata (
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,
cruser_id int(11) DEFAULT '0' NOT NULL,
type tinytext NOT NULL,
category tinytext NOT NULL,
element_uid int(11) DEFAULT '0' NOT NULL,
element_pid int(11) DEFAULT '0' NOT NULL,
element_title tinytext NOT NULL,
element_language int(11) DEFAULT '0' NOT NULL,
element_type int(11) DEFAULT '0' NOT NULL,
counter int(11) DEFAULT '0' NOT NULL,
year int(11) DEFAULT '0' NOT NULL,
month int(11) DEFAULT '0' NOT NULL,
parent_uid int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid),
KEY index1 (type(20),category(20),element_title(20),year,month),
KEY index2 (type(20),category(20),element_uid,element_language,element_type,year,month),
KEY index3 (element_title(20)),
KEY index4 (type(20),category(20),element_uid,element_pid,element_language,element_type,year,month),
KEY index5 (type(20),tstamp)
);
#
# Table structure for table 'tx_kestats_cache'
#
CREATE TABLE tx_kestats_cache (
uid int(11) NOT NULL auto_increment,
whereclause text NOT NULL,
orderby text NOT NULL,
groupby text NOT NULL,
result longtext NOT NULL,
PRIMARY KEY (uid),
KEY whereclause_index (whereclause(260),orderby(20),groupby(20))
);
#
# Table structure for table 'tx_kestats_queue'
#
CREATE TABLE tx_kestats_queue (
uid int(11) NOT NULL auto_increment,
tstamp int(11) DEFAULT '0' NOT NULL,
data text NOT NULL,
generaldata text NOT NULL,
PRIMARY KEY (uid)
);