 DROP TABLE IF EXISTS `janus__hasEntity`;
 CREATE TABLE `janus__hasEntity` (
   `uid` int(11) NOT NULL,
-  `entityid` text,
+  `eid` int(11) default NULL,
   `created` char(25) default NULL,
   `ip` char(15) default NULL
 ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

  `usedat` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `token` (`token`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `janus__user`

  `expiration` char(25) default NULL,
  `metadataurl` text,
  `allowedall` char(3) NOT NULL default 'yes',
  `created` char(25) default NULL,
  `ip` char(15) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
