   username varchar(64) NOT NULL DEFAULT '',
   password varchar(40) DEFAULT NULL,
   status varchar(60) NOT NULL DEFAULT '',
-  ip varchar(20) NOT NULL DEFAULT '',
+  ip varchar(45) NOT NULL DEFAULT '',
   dateTime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   PRIMARY KEY (logId)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;



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;

