 CREATE TABLE IF NOT EXISTS `bw_reviews` (
   `id` int(9) NOT NULL AUTO_INCREMENT,
   `review_type` varchar(10) NOT NULL,
-  `subject_hash` varchar(20) NOT NULL,
+  `subject_hash` varchar(25) NOT NULL,
   `json` text NOT NULL,
   `average_rating` varchar(4) NOT NULL,
   `timestamp` varchar(20) NOT NULL,

CREATE TABLE IF NOT EXISTS `bw_review_auth_tokens` (
  `id` int(9) NOT NULL AUTO_INCREMENT,
  `auth_token` varchar(64) NOT NULL,
  `user_hash` varchar(20) NOT NULL,
  `review_type` varchar(20) NOT NULL,
  `order_id` int(9) NOT NULL,
  PRIMARY KEY (`id`),


CREATE TABLE IF NOT EXISTS `bw_item_images` (
  `id` int(9) NOT NULL AUTO_INCREMENT,
  `image_hash` varchar(25) NOT NULL,
  `item_hash` varchar(25) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `item_hash` (`item_hash`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
