DROP TABLE itemHistory;# MySQL returned an empty result set (i.e. zero rows). CREATE TABLE `itemHistory` ( `uniqueKey` int( 11 ) NOT NULL AUTO_INCREMENT , `UserKey` int( 11 ) default NULL , `itemNumber` text NOT NULL , `qty` int( 11 ) NOT NULL , `recordKey` int( 11 ) default NULL , `parentLineNum` int( 11 ) NOT NULL , `size` text, `subitems` tinyint( 1 ) NOT NULL default '0', `halfA` tinyint( 1 ) NOT NULL default '0', `halfB` tinyint( 1 ) NOT NULL default '0', `crust` tinyint( 1 ) NOT NULL default '0', `categoryKey` int( 11 ) default NULL , `couponCode` text, `orderNumber` text, `freeTopping` text, PRIMARY KEY ( `uniqueKey` ) ) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =577; drop table orderHistory; CREATE TABLE `orderHistory` ( `recordKey` int(11) NOT NULL auto_increment, `orderNumber` text NOT NULL, `approved` tinyint(1) NOT NULL, `delivery` tinyint(1) NOT NULL, `cardNumber` text NOT NULL, `cardholder` text NOT NULL, `cardExpMonth` text NOT NULL, `cardExpYear` text NOT NULL, `outForDel` tinyint(1) NOT NULL, `payMethod` text, `comments` text, `orderTotal` decimal(10,2) default NULL, `UserKey` int(11) default NULL, `note` text, `orderTime` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`recordKey`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=135 ;