forked from dmitryd/typo3-realurl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.sql
82 lines (73 loc) · 2.28 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
#
# Table structure for table 'tx_realurl_uniqalias'
#
CREATE TABLE tx_realurl_uniqalias (
uid int(11) NOT NULL auto_increment,
tstamp int(11) DEFAULT '0' NOT NULL,
tablename varchar(255) DEFAULT '' NOT NULL,
field_alias varchar(255) DEFAULT '' NOT NULL,
field_id varchar(60) DEFAULT '' NOT NULL,
value_alias varchar(255) DEFAULT '' NOT NULL,
value_id int(11) DEFAULT '0' NOT NULL,
lang int(11) DEFAULT '0' NOT NULL,
expire int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY tablename (tablename),
KEY bk_realurl01 (field_alias(20),field_id,value_id,lang,expire),
KEY bk_realurl02 (tablename(32),field_alias(20),field_id,value_alias(20),expire)
) ENGINE=InnoDB;
#
# Table structure for table 'tx_realurl_uniqalias_cache_map'
#
CREATE TABLE tx_realurl_uniqalias_cache_map (
alias_uid int(11) DEFAULT '0' NOT NULL,
url_cache_id varchar(255) DEFAULT '' NOT NULL,
KEY check_existence (alias_uid,url_cache_id(6))
) ENGINE=InnoDB;
#
# Table structure for table 'tx_realurl_urlcache'
#
CREATE TABLE tx_realurl_urlcache (
cache_id int(11) NOT NULL auto_increment,
crdate int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
page_id int(11) DEFAULT '0' NOT NULL,
rootpage_id int(11) DEFAULT '0' NOT NULL,
original_url text,
speaking_url text,
request_variables text,
PRIMARY KEY (cache_id),
KEY pathq1 (rootpage_id,original_url(32)),
KEY pathq2 (rootpage_id,speaking_url(32))
) ENGINE=InnoDB;
#
# Table structure for table 'tx_realurl_pathcache'
#
CREATE TABLE tx_realurl_pathcache (
cache_id int(11) NOT NULL auto_increment,
page_id int(11) DEFAULT '0' NOT NULL,
language_id int(11) DEFAULT '0' NOT NULL,
rootpage_id int(11) DEFAULT '0' NOT NULL,
mpvar tinytext,
pagepath text,
expire int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (cache_id),
KEY pathq1 (rootpage_id,pagepath(32),expire),
KEY pathq2 (page_id,language_id,rootpage_id,expire),
KEY expire (expire)
) ENGINE=InnoDB;
#
# Modifying pages table
#
CREATE TABLE pages (
tx_realurl_pathsegment varchar(255) DEFAULT '' NOT NULL,
tx_realurl_pathoverride int(1) DEFAULT '0' NOT NULL,
tx_realurl_exclude int(1) DEFAULT '0' NOT NULL,
tx_realurl_nocache int(1) DEFAULT '0' NOT NULL
);
#
# Modifying pages_language_overlay table
#
CREATE TABLE pages_language_overlay (
tx_realurl_pathsegment varchar(255) DEFAULT '' NOT NULL
);