-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathext_tables.sql
59 lines (53 loc) · 1.78 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
#
# Table structure for extending table 'pages'
#
CREATE TABLE pages (
autotranslate_exclude tinyint(4) DEFAULT '0' NOT NULL,
autotranslate_languages varchar(255) DEFAULT NULL,
autotranslate_last int(11) DEFAULT '0' NOT NULL,
);
#
# Table structure for extending table 'tt_content'
#
CREATE TABLE tt_content (
autotranslate_exclude tinyint(4) DEFAULT '0' NOT NULL,
autotranslate_languages varchar(255) DEFAULT NULL,
autotranslate_last int(11) DEFAULT '0' NOT NULL,
);
#
# Table structure for extending table 'tx_news_domain_model_news'
#
CREATE TABLE tx_news_domain_model_news (
-- Bugfix:
-- Sql statement includes uid to prevent db compare bug if news extension is installed after autotranslate.
uid int(11) NOT NULL auto_increment,
autotranslate_exclude tinyint(4) DEFAULT '0' NOT NULL,
autotranslate_languages varchar(255) DEFAULT NULL,
autotranslate_last int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
);
#
# Table structure for extending table 'sys_file_reference'
#
CREATE TABLE sys_file_reference (
autotranslate_exclude tinyint(4) DEFAULT '0' NOT NULL,
autotranslate_last int(11) DEFAULT '0' NOT NULL,
);
CREATE TABLE tx_autotranslate_batch_item (
sys_language_uid int(11) DEFAULT '0' NOT NULL,
priority varchar(255) DEFAULT '' NOT NULL,
translate int(11) unsigned DEFAULT '0' NOT NULL,
translated int(11) unsigned,
mode varchar(255) DEFAULT '' NOT NULL,
frequency varchar(255) DEFAULT '' NOT NULL,
error text,
);
CREATE TABLE tx_autotranslate_log (
request_id varchar(13) DEFAULT '' NOT NULL,
time_micro double(16, 4) NOT NULL default '0.0000',
component varchar(255) DEFAULT '' NOT NULL,
level tinyint(1) unsigned DEFAULT '0' NOT NULL,
message text,
data text,
KEY request (request_id)
);