2011-10-13 17:27:19 +02:00
|
|
|
|
--
|
|
|
|
|
-- Tabellenstruktur f<>r Tabelle `d3geoip`
|
2009-12-15 13:27:11 +01:00
|
|
|
|
--
|
2011-10-13 17:27:19 +02:00
|
|
|
|
|
2018-01-25 10:51:36 +01:00
|
|
|
|
CREATE TABLE `d3geoip` (
|
|
|
|
|
`D3IP` VARCHAR(45) NOT NULL,
|
|
|
|
|
`D3STARTIP` VARCHAR(39) NOT NULL,
|
|
|
|
|
`D3ENDIP` VARCHAR(39) NOT NULL,
|
|
|
|
|
`D3STARTIPBIN` VARBINARY(16) NOT NULL,
|
|
|
|
|
`D3ENDIPBIN` VARBINARY(16) NOT NULL,
|
|
|
|
|
`D3ISO` CHAR(2) NULL DEFAULT NULL,
|
|
|
|
|
`D3COUNTRYNAME` VARCHAR(50) NULL DEFAULT NULL,
|
|
|
|
|
`D3CONTINENTCODE` CHAR(2) NULL DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`D3IP`),
|
|
|
|
|
INDEX `D3ISO` (`D3ISO`),
|
|
|
|
|
INDEX `IPBIN` (`D3STARTIPBIN`, `D3ENDIPBIN`)
|
|
|
|
|
)
|
|
|
|
|
COMMENT='GeoIP'
|
|
|
|
|
COLLATE='utf8_general_ci'
|
|
|
|
|
ENGINE=InnoDB;
|