CREATE TABLE Visits (VisitId int(11) NOT NULL auto_increment, VisitDate int(10) unsigned NOT NULL default '0', Referer varchar(255) NOT NULL default '', IPAddress varchar(15) NOT NULL default '', AffiliateId int(10) unsigned NOT NULL default '0', PortalUserId int(11) NOT NULL default '0', PRIMARY KEY  (VisitId) );

UPDATE Modules SET Version = '1.1.2' WHERE Name = 'In-Portal';