 DROP TABLE IF EXISTS `currentPot`;
 CREATE TABLE IF NOT EXISTS `currentPot` (
   `id` int(11) NOT NULL AUTO_INCREMENT,
-  `contextId` int(11) NOT NULL,
-  `assetId` int(11) NOT NULL,
-  `ownerSteamId` text NOT NULL,
+  `classId` bigint(20) NOT NULL,
+  `instanceId` bigint(20) NOT NULL,
+  `ownerSteamId64` text NOT NULL,
   `ownerSteamId32` text NOT NULL,
   `itemName` text NOT NULL,
   `itemPrice` int(11) NOT NULL,

DROP TABLE IF EXISTS `history`;
CREATE TABLE IF NOT EXISTS `history` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `winnerSteamID` bigint(20) NOT NULL,
  `userPutInPrice` int(11) NOT NULL,
  `potPrice` int(11) NOT NULL,
  `allItemsJson` text NOT NULL,
  `paid` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;

  `date` text COLLATE latin1_general_ci NOT NULL,
  `time` text COLLATE latin1_general_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=139 ;

-- --------------------------------------------------------

