-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathext_tables.sql
41 lines (36 loc) · 1.12 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
CREATE TABLE static_ip2country_v4
(
ip_from int(10) unsigned DEFAULT NULL,
ip_to int(10) unsigned DEFAULT NULL,
country_code char(2) NOT NULL DEFAULT '',
KEY idx_ip_from (ip_from),
KEY idx_ip_to (ip_to),
KEY idx_ip_from_to (ip_from,ip_to)
);
CREATE TABLE static_ip2country_v6
(
ip_from decimal(39, 0) unsigned DEFAULT NULL,
ip_to decimal(39, 0) unsigned NOT NULL,
country_code char(2) NOT NULL DEFAULT '',
KEY idx_ip_from (ip_from),
KEY idx_ip_to (ip_to),
KEY idx_ip_from_to (ip_from,ip_to)
);
CREATE TABLE tx_locate_page_region_mm
(
uid_local int(11) DEFAULT '0' NOT NULL,
uid_foreign int(11) DEFAULT '0' NOT NULL,
sorting int(11) DEFAULT '0' NOT NULL,
KEY uid_local (uid_local),
KEY uid_foreign (uid_foreign)
);
CREATE TABLE tx_locate_domain_model_region
(
title varchar(255) DEFAULT '' NOT NULL,
countries text DEFAULT '' NOT NULL,
);
CREATE TABLE pages
(
tx_locate_regions int DEFAULT 0 NOT NULL,
tx_locate_invert smallint(2) DEFAULT 0 NOT NULL
);