--
-- Host: localhost    Database: cphulkd
-- ------------------------------------------------------


--
-- Current Database: `cphulkd`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `cphulkd` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `cphulkd`;

--
-- Table structure for table `ip_lists`
--

CREATE TABLE `ip_lists` (
  `STARTADDRESS` varbinary(16) NOT NULL DEFAULT '',
  `ENDADDRESS` varbinary(16) NOT NULL DEFAULT '',
  `TYPE` int(1) NOT NULL DEFAULT '0',
  `COMMENT` char(255) DEFAULT NULL,
  PRIMARY KEY (`STARTADDRESS`,`ENDADDRESS`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ip_lists`
--


--
-- Table structure for table `known_netblocks`
--

CREATE TABLE `known_netblocks` (
  `USER` char(128) NOT NULL,
  `STARTADDRESS` varbinary(16) NOT NULL DEFAULT '',
  `ENDADDRESS` varbinary(16) NOT NULL DEFAULT '',
  `LOGINTIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`USER`,`STARTADDRESS`,`ENDADDRESS`),
  KEY `LOGINTIME_index` (`LOGINTIME`),
  KEY `USER_index` (`USER`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `known_netblocks`
--



