   idHash char(32) NOT NULL,
   lastActivity int(10) unsigned NOT NULL,
   location varchar(255) DEFAULT NULL,
-  ip varchar(20) NOT NULL DEFAULT '127.0.0.1',
+  ip varchar(45) NOT NULL DEFAULT '127.0.0.1',
   userAgent varchar(100) NOT NULL,
   guest smallint(4) unsigned NOT NULL DEFAULT 1,
   dateTime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,



CREATE TABLE IF NOT EXISTS pH7_BlockIp (
  ip int(10) unsigned NOT NULL DEFAULT '0',
  expires int(10) unsigned NOT NULL,
  PRIMARY KEY (ip)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;



  keyId varchar(255) NOT NULL,
  votes int(10) unsigned NOT NULL,
  lastVote datetime NOT NULL,
  lastIp varchar(45) NOT NULL,
  UNIQUE KEY keyId (keyId)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

