-- Dumping data for table `reporting_module_status`
--


--
-- Table structure for table `reporting_orders`
--

CREATE TABLE `reporting_orders` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer ID',
  `total` decimal(20,4) unsigned DEFAULT NULL,
  `total_base` decimal(20,4) unsigned DEFAULT NULL,
  `item_count` int(10) unsigned NOT NULL COMMENT 'Line Item Count',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reporting for all orders';

--
-- Dumping data for table `reporting_orders`
--


--
-- Table structure for table `reporting_system_updates`
--

CREATE TABLE `reporting_system_updates` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `type` varchar(255) DEFAULT NULL COMMENT 'Update Type',
  `action` varchar(255) DEFAULT NULL COMMENT 'Action Performed',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reporting for system updates';

--
-- Dumping data for table `reporting_system_updates`
--


--
-- Table structure for table `reporting_users`
--

CREATE TABLE `reporting_users` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `type` varchar(255) DEFAULT NULL COMMENT 'User Type',
  `action` varchar(255) DEFAULT NULL COMMENT 'Action Performed',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reporting for user actions';

--
-- Dumping data for table `reporting_users`
--


--
-- Table structure for table `review`
--

CREATE TABLE `review` (
  `review_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Review ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Review create date',
  `entity_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  `entity_pk_value` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `status_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Status code',
  PRIMARY KEY (`review_id`),
  KEY `REVIEW_ENTITY_ID` (`entity_id`),
  KEY `REVIEW_STATUS_ID` (`status_id`),
  KEY `REVIEW_ENTITY_PK_VALUE` (`entity_pk_value`),
  CONSTRAINT `REVIEW_ENTITY_ID_REVIEW_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `review_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REVIEW_STATUS_ID_REVIEW_STATUS_STATUS_ID` FOREIGN KEY (`status_id`) REFERENCES `review_status` (`status_id`) ON DELETE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=347 DEFAULT CHARSET=utf8 COMMENT='Review base information';

--
-- Dumping data for table `review`
--

INSERT INTO `review` VALUES (1,'2022-08-10 15:31:21',1,1,1),(2,'2022-08-10 15:31:21',1,1,1),(3,'2022-08-10 15:31:21',1,6,1),(4,'2022-08-10 15:31:21',1,6,1),(5,'2022-08-10 15:31:21',1,6,1),(6,'2022-08-10 15:31:21',1,3,1),(7,'2022-08-10 15:31:21',1,3,1),(8,'2022-08-10 15:31:21',1,3,1),(9,'2022-08-10 15:31:21',1,2,1),(10,'2022-08-10 15:31:21',1,2,1),(11,'2022-08-10 15:31:21',1,4,1),(12,'2022-08-10 15:31:21',1,4,1),(13,'2022-08-10 15:31:21',1,4,1),(14,'2022-08-10 15:31:21',1,5,1),(15,'2022-08-10 15:31:21',1,5,1),(16,'2022-08-10 15:31:21',1,37,1),(17,'2022-08-10 15:31:21',1,37,1),(18,'2022-08-10 15:31:21',1,37,1),(19,'2022-08-10 15:31:21',1,40,1),(20,'2022-08-10 15:31:21',1,40,1),(21,'2022-08-10 15:31:21',1,40,1),(22,'2022-08-10 15:31:21',1,38,1),(23,'2022-08-10 15:31:21',1,38,1),(24,'2022-08-10 15:31:21',1,38,1),(25,'2022-08-10 15:31:21',1,36,1),(26,'2022-08-10 15:31:21',1,36,1),(27,'2022-08-10 15:31:21',1,39,1),(28,'2022-08-10 15:31:21',1,39,1),(29,'2022-08-10 15:31:22',1,39,1),(30,'2022-08-10 15:31:22',1,39,1),(31,'2022-08-10 15:31:22',1,276,1),(32,'2022-08-10 15:31:22',1,276,1),(33,'2022-08-10 15:31:22',1,292,1),(34,'2022-08-10 15:31:22',1,292,1),(35,'2022-08-10 15:31:22',1,420,1),(36,'2022-08-10 15:31:22',1,420,1),(37,'2022-08-10 15:31:22',1,420,1),(38,'2022-08-10 15:31:22',1,308,1),(39,'2022-08-10 15:31:22',1,308,1),(40,'2022-08-10 15:31:22',1,308,1),(41,'2022-08-10 15:31:22',1,404,1),(42,'2022-08-10 15:31:22',1,404,1),(43,'2022-08-10 15:31:22',1,404,1),(44,'2022-08-10 15:31:22',1,324,1),(45,'2022-08-10 15:31:22',1,324,1),(46,'2022-08-10 15:31:22',1,340,1),(47,'2022-08-10 15:31:22',1,340,1),(48,'2022-08-10 15:31:22',1,340,1),(49,'2022-08-10 15:31:22',1,356,1),(50,'2022-08-10 15:31:22',1,356,1),(51,'2022-08-10 15:31:22',1,372,1),(52,'2022-08-10 15:31:22',1,372,1),(53,'2022-08-10 15:31:22',1,743,1),(54,'2022-08-10 15:31:22',1,743,1),(55,'2022-08-10 15:31:22',1,743,1),(56,'2022-08-10 15:31:22',1,756,1),(57,'2022-08-10 15:31:22',1,756,1),(58,'2022-08-10 15:31:22',1,756,1),(59,'2022-08-10 15:31:22',1,769,1),(60,'2022-08-10 15:31:22',1,769,1),(61,'2022-08-10 15:31:22',1,782,1),(62,'2022-08-10 15:31:22',1,782,1),(63,'2022-08-10 15:31:22',1,782,1),(64,'2022-08-10 15:31:22',1,795,1),(65,'2022-08-10 15:31:22',1,795,1),(66,'2022-08-10 15:31:22',1,795,1),(67,'2022-08-10 15:31:22',1,564,1),(68,'2022-08-10 15:31:22',1,564,1),(69,'2022-08-10 15:31:22',1,564,1),(70,'2022-08-10 15:31:22',1,580,1),(71,'2022-08-10 15:31:22',1,580,1),(72,'2022-08-10 15:31:22',1,532,1),(73,'2022-08-10 15:31:22',1,532,1),(74,'2022-08-10 15:31:22',1,452,1),(75,'2022-08-10 15:31:22',1,452,1),(76,'2022-08-10 15:31:22',1,452,1),(77,'2022-08-10 15:31:22',1,468,1),(78,'2022-08-10 15:31:22',1,468,1),(79,'2022-08-10 15:31:22',1,468,1),(80,'2022-08-10 15:31:22',1,548,1),(81,'2022-08-10 15:31:22',1,548,1),(82,'2022-08-10 15:31:22',1,612,1),(83,'2022-08-10 15:31:22',1,612,1),(84,'2022-08-10 15:31:22',1,612,1),(85,'2022-08-10 15:31:22',1,628,1),(86,'2022-08-10 15:31:22',1,628,1),(87,'2022-08-10 15:31:22',1,628,1),(88,'2022-08-10 15:31:22',1,628,1),(89,'2022-08-10 15:31:22',1,484,1),(90,'2022-08-10 15:31:22',1,484,1),(91,'2022-08-10 15:31:22',1,484,1),(92,'2022-08-10 15:31:22',1,596,1),(93,'2022-08-10 15:31:22',1,596,1),(94,'2022-08-10 15:31:22',1,596,1),(95,'2022-08-10 15:31:22',1,500,1),(96,'2022-08-10 15:31:22',1,500,1),(97,'2022-08-10 15:31:22',1,500,1),(98,'2022-08-10 15:31:22',1,516,1),(99,'2022-08-10 15:31:22',1,516,1),(100,'2022-08-10 15:31:22',1,516,1),(101,'2022-08-10 15:31:22',1,899,1),(102,'2022-08-10 15:31:22',1,899,1),(103,'2022-08-10 15:31:22',1,899,1),(104,'2022-08-10 15:31:22',1,917,1),(105,'2022-08-10 15:31:22',1,917,1),(106,'2022-08-10 15:31:22',1,917,1),(107,'2022-08-10 15:31:22',1,930,1),(108,'2022-08-10 15:31:22',1,930,1),(109,'2022-08-10 15:31:22',1,930,1),(110,'2022-08-10 15:31:22',1,943,1),(111,'2022-08-10 15:31:22',1,943,1),(112,'2022-08-10 15:31:22',1,943,1),(113,'2022-08-10 15:31:22',1,956,1),(114,'2022-08-10 15:31:22',1,956,1),(115,'2022-08-10 15:31:22',1,969,1),(116,'2022-08-10 15:31:22',1,969,1),(117,'2022-08-10 15:31:22',1,969,1),(118,'2022-08-10 15:31:22',1,982,1),(119,'2022-08-10 15:31:22',1,982,1),(120,'2022-08-10 15:31:22',1,995,1),(121,'2022-08-10 15:31:22',1,995,1),(122,'2022-08-10 15:31:22',1,995,1),(123,'2022-08-10 15:31:22',1,644,1),(124,'2022-08-10 15:31:22',1,644,1),(125,'2022-08-10 15:31:22',1,644,1),(126,'2022-08-10 15:31:22',1,644,1),(127,'2022-08-10 15:31:22',1,660,1),(128,'2022-08-10 15:31:22',1,660,1),(129,'2022-08-10 15:31:23',1,660,1),(130,'2022-08-10 15:31:23',1,676,1),(131,'2022-08-10 15:31:23',1,676,1),(132,'2022-08-10 15:31:23',1,676,1),(133,'2022-08-10 15:31:23',1,682,1),(134,'2022-08-10 15:31:23',1,682,1),(135,'2022-08-10 15:31:23',1,682,1),(136,'2022-08-10 15:31:23',1,682,1),(137,'2022-08-10 15:31:23',1,7,1),(138,'2022-08-10 15:31:23',1,7,1),(139,'2022-08-10 15:31:23',1,7,1),(140,'2022-08-10 15:31:23',1,20,1),(141,'2022-08-10 15:31:23',1,20,1),(142,'2022-08-10 15:31:23',1,20,1),(143,'2022-08-10 15:31:23',1,18,1),(144,'2022-08-10 15:31:23',1,18,1),(145,'2022-08-10 15:31:23',1,23,1),(146,'2022-08-10 15:31:23',1,23,1),(147,'2022-08-10 15:31:23',1,23,1),(148,'2022-08-10 15:31:23',1,17,1),(149,'2022-08-10 15:31:23',1,17,1),(150,'2022-08-10 15:31:23',1,17,1),(151,'2022-08-10 15:31:23',1,19,1),(152,'2022-08-10 15:31:23',1,19,1),(153,'2022-08-10 15:31:23',1,19,1),(154,'2022-08-10 15:31:23',1,15,1),(155,'2022-08-10 15:31:23',1,16,1),(156,'2022-08-10 15:31:23',1,16,1),(157,'2022-08-10 15:31:23',1,8,1),(158,'2022-08-10 15:31:23',1,8,1),(159,'2022-08-10 15:31:23',1,8,1),(160,'2022-08-10 15:31:23',1,9,1),(161,'2022-08-10 15:31:23',1,9,1),(162,'2022-08-10 15:31:23',1,12,1),(163,'2022-08-10 15:31:23',1,12,1),(164,'2022-08-10 15:31:23',1,14,1),(165,'2022-08-10 15:31:23',1,14,1),(166,'2022-08-10 15:31:23',1,14,1),(167,'2022-08-10 15:31:23',1,10,1),(168,'2022-08-10 15:31:23',1,10,1),(169,'2022-08-10 15:31:23',1,11,1),(170,'2022-08-10 15:31:23',1,11,1),(171,'2022-08-10 15:31:23',1,11,1),(172,'2022-08-10 15:31:23',1,13,1),(173,'2022-08-10 15:31:23',1,13,1),(174,'2022-08-10 15:31:23',1,13,1),(175,'2022-08-10 15:31:23',1,42,1),(176,'2022-08-10 15:31:23',1,42,1),(177,'2022-08-10 15:31:23',1,42,1),(178,'2022-08-10 15:31:23',1,44,1),(179,'2022-08-10 15:31:23',1,44,1),(180,'2022-08-10 15:31:23',1,43,1),(181,'2022-08-10 15:31:23',1,43,1),(182,'2022-08-10 15:31:23',1,43,1),(183,'2022-08-10 15:31:23',1,41,1),(184,'2022-08-10 15:31:23',1,41,1),(185,'2022-08-10 15:31:23',1,1050,1),(186,'2022-08-10 15:31:23',1,1050,1),(187,'2022-08-10 15:31:23',1,1050,1),(188,'2022-08-10 15:31:23',1,1066,1),(189,'2022-08-10 15:31:23',1,1066,1),(190,'2022-08-10 15:31:23',1,1066,1),(191,'2022-08-10 15:31:23',1,1082,1),(192,'2022-08-10 15:31:23',1,1082,1),(193,'2022-08-10 15:31:23',1,1082,1),(194,'2022-08-10 15:31:23',1,1098,1),(195,'2022-08-10 15:31:23',1,1098,1),(196,'2022-08-10 15:31:23',1,1098,1),(197,'2022-08-10 15:31:23',1,1114,1),(198,'2022-08-10 15:31:23',1,1114,1),(199,'2022-08-10 15:31:23',1,1114,1),(200,'2022-08-10 15:31:23',1,1120,1),(201,'2022-08-10 15:31:23',1,1120,1),(202,'2022-08-10 15:31:23',1,1226,1),(203,'2022-08-10 15:31:23',1,1226,1),(204,'2022-08-10 15:31:23',1,1226,1),(205,'2022-08-10 15:31:23',1,1242,1),(206,'2022-08-10 15:31:23',1,1242,1),(207,'2022-08-10 15:31:23',1,1242,1),(208,'2022-08-10 15:31:23',1,1242,1),(209,'2022-08-10 15:31:23',1,1258,1),(210,'2022-08-10 15:31:23',1,1258,1),(211,'2022-08-10 15:31:23',1,1258,1),(212,'2022-08-10 15:31:23',1,1274,1),(213,'2022-08-10 15:31:23',1,1274,1),(214,'2022-08-10 15:31:23',1,1290,1),(215,'2022-08-10 15:31:23',1,1290,1),(216,'2022-08-10 15:31:23',1,1290,1),(217,'2022-08-10 15:31:23',1,1386,1),(218,'2022-08-10 15:31:23',1,1386,1),(219,'2022-08-10 15:31:23',1,1386,1),(220,'2022-08-10 15:31:23',1,1306,1),(221,'2022-08-10 15:31:23',1,1306,1),(222,'2022-08-10 15:31:24',1,1306,1),(223,'2022-08-10 15:31:24',1,1322,1),(224,'2022-08-10 15:31:24',1,1322,1),(225,'2022-08-10 15:31:24',1,1338,1),(226,'2022-08-10 15:31:24',1,1338,1),(227,'2022-08-10 15:31:24',1,1338,1),(228,'2022-08-10 15:31:24',1,1354,1),(229,'2022-08-10 15:31:24',1,1354,1),(230,'2022-08-10 15:31:24',1,1354,1),(231,'2022-08-10 15:31:24',1,1370,1),(232,'2022-08-10 15:31:24',1,1370,1),(233,'2022-08-10 15:31:24',1,1370,1),(234,'2022-08-10 15:31:24',1,1825,1),(235,'2022-08-10 15:31:24',1,1825,1),(236,'2022-08-10 15:31:24',1,1832,1),(237,'2022-08-10 15:31:24',1,1832,1),(238,'2022-08-10 15:31:24',1,1832,1),(239,'2022-08-10 15:31:24',1,1839,1),(240,'2022-08-10 15:31:24',1,1839,1),(241,'2022-08-10 15:31:24',1,1839,1),(242,'2022-08-10 15:31:24',1,1846,1),(243,'2022-08-10 15:31:24',1,1846,1),(244,'2022-08-10 15:31:24',1,1846,1),(245,'2022-08-10 15:31:24',1,1846,1),(246,'2022-08-10 15:31:24',1,1853,1),(247,'2022-08-10 15:31:24',1,1853,1),(248,'2022-08-10 15:31:24',1,1860,1),(249,'2022-08-10 15:31:24',1,1860,1),(250,'2022-08-10 15:31:24',1,1860,1),(251,'2022-08-10 15:31:24',1,1578,1),(252,'2022-08-10 15:31:24',1,1578,1),(253,'2022-08-10 15:31:24',1,1578,1),(254,'2022-08-10 15:31:24',1,1418,1),(255,'2022-08-10 15:31:24',1,1418,1),(256,'2022-08-10 15:31:24',1,1418,1),(257,'2022-08-10 15:31:24',1,1434,1),(258,'2022-08-10 15:31:24',1,1434,1),(259,'2022-08-10 15:31:24',1,1434,1),(260,'2022-08-10 15:31:24',1,1434,1),(261,'2022-08-10 15:31:24',1,1450,1),(262,'2022-08-10 15:31:24',1,1450,1),(263,'2022-08-10 15:31:24',1,1594,1),(264,'2022-08-10 15:31:24',1,1594,1),(265,'2022-08-10 15:31:24',1,1594,1),(266,'2022-08-10 15:31:24',1,1482,1),(267,'2022-08-10 15:31:24',1,1482,1),(268,'2022-08-10 15:31:24',1,1498,1),(269,'2022-08-10 15:31:24',1,1498,1),(270,'2022-08-10 15:31:24',1,1498,1),(271,'2022-08-10 15:31:24',1,1514,1),(272,'2022-08-10 15:31:24',1,1514,1),(273,'2022-08-10 15:31:24',1,1514,1),(274,'2022-08-10 15:31:24',1,1530,1),(275,'2022-08-10 15:31:24',1,1530,1),(276,'2022-08-10 15:31:24',1,1530,1),(277,'2022-08-10 15:31:24',1,1546,1),(278,'2022-08-10 15:31:24',1,1546,1),(279,'2022-08-10 15:31:24',1,1546,1),(280,'2022-08-10 15:31:24',1,1562,1),(281,'2022-08-10 15:31:24',1,1562,1),(282,'2022-08-10 15:31:24',1,1562,1),(283,'2022-08-10 15:31:24',1,1925,1),(284,'2022-08-10 15:31:24',1,1925,1),(285,'2022-08-10 15:31:24',1,1925,1),(286,'2022-08-10 15:31:24',1,1941,1),(287,'2022-08-10 15:31:24',1,1941,1),(288,'2022-08-10 15:31:24',1,1941,1),(289,'2022-08-10 15:31:24',1,1957,1),(290,'2022-08-10 15:31:24',1,1957,1),(291,'2022-08-10 15:31:24',1,1973,1),(292,'2022-08-10 15:31:24',1,1973,1),(293,'2022-08-10 15:31:24',1,1989,1),(294,'2022-08-10 15:31:24',1,1989,1),(295,'2022-08-10 15:31:24',1,1989,1),(296,'2022-08-10 15:31:24',1,1996,1),(297,'2022-08-10 15:31:24',1,1996,1),(298,'2022-08-10 15:31:24',1,2003,1),(299,'2022-08-10 15:31:24',1,2003,1),(300,'2022-08-10 15:31:24',1,2003,1),(301,'2022-08-10 15:31:24',1,2009,1),(302,'2022-08-10 15:31:25',1,2009,1),(303,'2022-08-10 15:31:25',1,2009,1),(304,'2022-08-10 15:31:25',1,2016,1),(305,'2022-08-10 15:31:25',1,2016,1),(306,'2022-08-10 15:31:25',1,2016,1),(307,'2022-08-10 15:31:25',1,2023,1),(308,'2022-08-10 15:31:25',1,2023,1),(309,'2022-08-10 15:31:25',1,2023,1),(310,'2022-08-10 15:31:25',1,2030,1),(311,'2022-08-10 15:31:25',1,2030,1),(312,'2022-08-10 15:31:25',1,2030,1),(313,'2022-08-10 15:31:25',1,2046,1),(314,'2022-08-10 15:31:25',1,2046,1),(315,'2022-08-10 15:31:25',1,2046,1),(316,'2022-08-10 15:31:25',1,1610,1),(317,'2022-08-10 15:31:25',1,1610,1),(318,'2022-08-10 15:31:25',1,1610,1),(319,'2022-08-10 15:31:25',1,1610,1),(320,'2022-08-10 15:31:25',1,1626,1),(321,'2022-08-10 15:31:25',1,1626,1),(322,'2022-08-10 15:31:25',1,1626,1),(323,'2022-08-10 15:31:25',1,1626,1),(324,'2022-08-10 15:31:25',1,1642,1),(325,'2022-08-10 15:31:25',1,1642,1),(326,'2022-08-10 15:31:25',1,1642,1),(327,'2022-08-10 15:31:25',1,1658,1),(328,'2022-08-10 15:31:25',1,1658,1),(329,'2022-08-10 15:31:25',1,1658,1),(330,'2022-08-10 15:31:25',1,1674,1),(331,'2022-08-10 15:31:25',1,1674,1),(332,'2022-08-10 15:31:25',1,1674,1),(333,'2022-08-10 15:31:25',1,1770,1),(334,'2022-08-10 15:31:25',1,1770,1),(335,'2022-08-10 15:31:25',1,1770,1),(336,'2022-08-10 15:31:25',1,1786,1),(337,'2022-08-10 15:31:25',1,1802,1),(338,'2022-08-10 15:31:25',1,1802,1),(339,'2022-08-10 15:31:25',1,1802,1),(340,'2022-08-10 15:31:25',1,1818,1),(341,'2022-08-10 15:31:25',1,1818,1),(342,'2022-08-10 15:31:25',1,1690,1),(343,'2022-08-10 15:31:25',1,1690,1),(344,'2022-08-10 15:31:25',1,1706,1),(345,'2022-08-10 15:31:25',1,1706,1),(346,'2022-08-10 15:31:25',1,1706,1);

--
-- Table structure for table `review_detail`
--

CREATE TABLE `review_detail` (
  `detail_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Review detail ID',
  `review_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Review ID',
  `store_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Store ID',
  `title` varchar(255) NOT NULL COMMENT 'Title',
  `detail` text NOT NULL COMMENT 'Detail description',
  `nickname` varchar(128) NOT NULL COMMENT 'User nickname',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer ID',
  PRIMARY KEY (`detail_id`),
  KEY `REVIEW_DETAIL_REVIEW_ID` (`review_id`),
  KEY `REVIEW_DETAIL_STORE_ID` (`store_id`),
  KEY `REVIEW_DETAIL_CUSTOMER_ID` (`customer_id`),
  CONSTRAINT `REVIEW_DETAIL_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE SET NULL,
  CONSTRAINT `REVIEW_DETAIL_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `review` (`review_id`) ON DELETE CASCADE,
  CONSTRAINT `REVIEW_DETAIL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=347 DEFAULT CHARSET=utf8 COMMENT='Review detail information';

--
-- Dumping data for table `review_detail`
--

INSERT INTO `review_detail` VALUES (1,1,1,'I prefer more compartments','I prefer more compartments. If you don\'t mind putting everything in one space, it\'s fine. Good for the gym.','Chi',NULL),(2,2,1,'I use it a lot ','It\'s a good size and I use it a lot. My only issue with it was I wanted the handles to be longer so I can wear it on my back.','Filiberto',NULL),(3,3,1,'I\'ve had this thing for really long','I\'ve had this thing for a really long time and it barely shows any signs of wear and tear. It\'s really big, too! I\'ve taken it on day trips as well as short vacations and usually have no trouble finding room for my stuff.','Herb',NULL),(4,4,1,'Decent bag','Decent bag. I keep my stuff in it for work and the gym. It\'s nice and roomy. I wish it had a more sophisticated design, though. Kinda looks like it\'s for kids.','Craig',NULL),(5,5,1,'Screwed up my back','I can\'t believe they\'re claiming these straps are \"padded.\" Wearing this thing to class for a semester totally screwed up my back, and my shoulders would start to ache after a few minutes where the straps dug in.','Orville',NULL),(6,6,1,'Awesome bag','Awesome bag but I found it to be smaller than I thought. I haven\'t felt any additional strain on my back and I use it all day long for my job.','Marty',NULL),(7,7,1,'The back needs more padding','If the back had more padding I would recommend it for everyone. You can tell the material is strong and not cheap so it\'s definitely worth it.','Chase',NULL),(8,8,1,'I bought this backpack for my son','I bought this backpack for my son to take to school, but he carries it like a suitcase now! It\'s also really good for airplane travel.','Kennith',NULL),(9,9,1,'awesome for going back and forth','This is awesome for going back and forth to class. I live off campus and it\'s a longer walk, but this pack fits comfortably and I can even store my laptop in the main compartment.','Gaston',NULL),(10,10,1,'comfy and i don\'t feel like a loser','comfy and i don\'t feel like a loser carrying it.','Issac',NULL),(11,11,1,'The shoulder strap broke ','The shoulder strap broke the first time I used it. Awesome.','Daren',NULL),(12,12,1,'Good for work. Holds everything ','This is good for work. Holds everything I need. The fabric doesn\'t seem that strong, but so far so good.','Garry',NULL),(13,13,1,'Great bag! I use it for everything! ','Great bag! I use it for everything! Not sure what happened with the person who said the strap broke because mine is perfect. Maybe it was fluke? I\'d return it and try another. It\'s been awesome for me!','Quinn',NULL),(14,14,1,'This bag is really cool','This bag is really cool. I\'m an art major, so I have tons of supplies that I have to lug back and forth every day for class. I didn\'t think this would be big enough, but surprisingly it can hold just about all my stuff. I really like the way it looks too.','Jame',NULL),(15,15,1,'Color is weird','I wanted to like this bag, and it is definitely good quality, but the color is so weird in real life. From a distance it kind of looks like I just found it in a dumpster. Shame because that is the only drawback.','Adalberto',NULL),(16,16,1,'I am OBSESSED with these','I run 5 times a day and am OBSESSED with this watch! It tracks and calculates all the things my brain can\'t because I hate maths. PS I know this is a men\'s watch and I am not a man, but I have large wrists!','Refugio',NULL),(17,17,1,'This thing is awesome ','This thing is awesome and remembers all the stuff I\'ve stored. ','Jewel',NULL),(18,18,1,'It slides around on my wrist','It slides around on my wrist when I sweat. I\'ve tried making it smaller but that doesn\'t seem to help.','Brice',NULL),(19,19,1,'Working flawlessly','I recently replace my 25 year old watch with this one, so it had high expectations to live up to. So far all the features are working flawlessly, I only hope it lasts as long as my old one.','Billy',NULL),(20,20,1,'offers a lot of technology','can\'t say this is the coolest looking watch I\'ve ever owned (it\'s no FAMOUS DESIGNER or anything) but it has a lot to offer technology-wise','Marc',NULL),(21,21,1,'Hydration alarm','This was given as a gift to me and it wasn\'t the one I asked for, but I\'m starting to like the different perks like the hydration alarm','Luther',NULL),(22,22,1,'It works ok but the ugliness is blinding','It works ok but the ugliness is blinding I am literally blinded','Leon',NULL),(23,23,1,'Watch too tight','Watch too tight please email how to loosen it or I\'ll leave bad review','Max',NULL),(24,24,1,'No ticktock','I got it because I thought it would still make a ticktick noise even though it\'s digital, but it doesn\'t!','Chuck',NULL),(25,25,1,'Not a bad watch for the price','Not a bad watch for the price. Wish it had actual numbers instead of marks, though.','Robert',NULL),(26,26,1,'the only watch I wear','Hands down, it\'s the only watch I wear when I\'m out on a run. The strap is soft and smooth, and the face even glows in the dark.','Noe',NULL),(27,27,1,'Dual time zone settings','When I\'m in another country, I hate not knowing what time it really is back home so the dual time zone settings are awesome!','Frank',NULL),(28,28,1,'Really perfect for travel ','Really perfect for my needs. I travel a ton, so I\'ll always know what time to give my wife a call back home.','Jamie',NULL),(29,29,1,'I really like the modern look','I really like the modern look of this watch, but I could only get one time zone to work. I hope it has a warranty because I\'m sending it back!','Bobby',NULL),(30,30,1,'This watch is so tight','This watch is so tight around my wrist! I don\'t care if it\'s adjustable, it cuts off my circulation.','Tommie',NULL),(31,31,1,'My favorite layers','This is one of my favorite layers for running in the winter, it keeps me warm but it\'s not super bulky.','Markus',NULL),(32,32,1,'Weird looking pocket','I where it when I\'m coaching football so I can run up and down the sidelines and yell without getting to hot. The pocket on the chest is weird looking tho.','Xavier',NULL),(33,33,1,'Perfect layer for the game','Perfect layer for wearing to the game, it doesn\'t shed all over your clothes like a regular hoodie.','Mike',NULL),(34,34,1,'The fabric is great','the fabric is great, it keeps me warm but it\'s not bulky like my other hoodies. Runs large, though.','Emory',NULL),(35,35,1,'This jacket isn\'t keeping me warm','This jacket isn\'t keeping me warm','Jon',NULL),(36,36,1,'I don\'t feel protected','Not sure exactly what \"elements\" they\'re talking about here. I don\'t feel protected from any \"elements\" in this throw-away.','Homer',NULL),(37,37,1,'avid hiker/snowboarder','I\'m an avid hiker/snowboarder and know quality when I see it. Please don\'t be fooled by the thin feel of this jacket - I always feel very comfortable and only rarely feel too warm, and then it\'s only because I wear insulating base layers. You will not be disappointed, especially if you\'re into winter sports or outdoor activities at higher elevations. My only issue with it is the zipper, which broke and had to be replaced.','Wilbur',NULL),(38,38,1,'Has never let me down','This jacket is going to be by my side for the rest of my life. It\'s never let me down once in a rainstorm, always keeping me dry as I bike back and forth to work. ','Long',NULL),(39,39,1,'Practically perferct','I have to say this is a practically perfect rain jacket. I do wish it was heavier though since it only works for me in spring and summer rainstorms. ','Lindsay',NULL),(40,40,1,'Excellent quality. I actually love','Excellent quality. I actually love when it rains because I get a lot of compliments whenever I wear this jacket. ','Randell',NULL),(41,41,1,'I just live for this track jacket','I just live for this track jacket. Because it\'s solid, I can put it on over any t-shirt and look really athletic. I may not exercise all the time, but wearing this jacket makes other people think I do!','Wyatt',NULL),(42,42,1,'Not 100% sure how I feel','Not 100% sure how I feel about this yet so I\'m going to number it right in the middle. It keeps me warm but the fleece is kind of itchy. It definitely has to go on top of another layer or you\'ll spend all day itching!','Glen',NULL),(43,43,1,'fleece lining','The fleece lining is what sold me! I hate being cold and this jacket really helps me not to be. Almost perfect-the hem slightly unraveled which is preventing me from giving it a 5.','Shon',NULL),(44,44,1,'I didn\'t think it was that warm','I didn\'t think it was that warm at all and it needs a hood. I wouldn\'t wear it in the winter that\'s for sure. ','Neal',NULL),(45,45,1,'for my son to wear to school ','I got this for my son to wear to school and it\'s treated him very well. Not too bulky and the reversible design is a very nice touch!','Herschel',NULL),(46,46,1,'Kinda bulky','Kinda bulky when you wear both, but they still let me move ok. Great for football games.','Rudolf',NULL),(47,47,1,'easy to take apart','I like this one. It\'s easy to take apart when you want to wear the quilted part and zips back in no problem. If you\'re a big guy its fits a little tight under the arms though.','Emmett',NULL),(48,48,1,'does everything it\'s suppose','This jacket does everything it\'s supposed to do. Keeps me warm and has lots of room for my stuff. Good buy!','Burl',NULL),(49,49,1,'Love it; don\'t have to take off gloves','Love it; don\'t have to take my gloves off and dig around in my pocket for my ipod','Carol',NULL),(50,50,1,'Wish buttons were on sleeve','Wish the buttons were on the sleeve but still very cool. Jacket is way warm too','Ronald',NULL),(51,51,1,'Great on my evening ride','I went back to the site and snagged another in a different color - they\'re great on my evening rides. I usually prefer raglan sleeves but I am always comfortable in this design, and the mesh works wonders for keeping my temperature down. ','Arden',NULL),(52,52,1,'Loop thing broke','I\'d give it 4 or 5 stars if it wasn\'t for the fact that the effing  loop thing broke. It wasn\'t stretchy enough and now im back to carrying my fone and sweating on it ughghg! ','Jessie',NULL),(53,53,1,'They chafed me!','They chafed me!','Rashad',NULL),(54,54,1,'They are comfy','Don\'t know why people on here are so negative about these pants. They are comfy and feel very lightweight and soft. The internal pocket is great for cash when I need to refeul during runs! ','Barrett',NULL),(55,55,1,'Saggy pants','After running in these saggy pants I just wanted to crawl into a hole a die. ','Davis',NULL),(56,56,1,'These are really bulky','These are really bulky and not very flattering at all. It looks like I have a big bulge at my stomach. I wear them around the house but I wouldn\'t go out in public with them on.','Donte',NULL),(57,57,1,'Inseam is WAY too long','Either I\'m too short or this inseam is way off. WAY too long! I trip constantly in these.','Reyes',NULL),(58,58,1,'Keeping me warm before games','They do the job of keeping me warm before a game. I wear them then and only then-wouldn\'t wear them anywhere else.','Harold',NULL),(59,59,1,'There\'s nothing to dislike','There\'s nothing to dislike about these track pants bc they do everything you want??blocks the wind and keeps you warm. Very happy I got them!','Darius',NULL),(60,60,1,'The mesh lining sometimes snags','The mesh lining sometimes snags when your taking them off but that\'s pretty common I think. Like them and would recommend.','Armando',NULL),(61,61,1,'These are great!','These are great! Major major points for the two-tone design plus all those technologies - I never feel gross after my runs. A must have for anyone serious about their body! ','Hershel',NULL),(62,62,1,'I bought these for my man.','I bought these for my man. What can I say, these pants keep him comfortable and dry. Never heard any complaints except that he wishes they stretched more. Good buy! ','Hans',NULL),(63,63,1,'I like them','I like them, they keep my sweat on the down low. They are stretchy. And I like the pockets. They look cool, too. So yeah. Go buy them.','Kenny',NULL),(64,64,1,'THESE PANTS KEEP ME WARM','THESE PANTS KEEP ME WARM WHEN IM BENCHED AT MY GAME! I DON\'T GET TO PLAY A LOT. LOL','Nicky',NULL),(65,65,1,'Good dog walking pants','Good dog walking pants','Mark',NULL),(66,66,1,'The draw string is more like half a draw','The draw string is more like half a draw string. Dosent stay so pants fall of my butt. I think they run too big.','Margarito',NULL),(67,67,1,'I got this for running','I got this for running, but the fit is kind of funny so I just end up wearing it for yard work. It\'s light enough, just nothing special.','Tyree',NULL),(68,68,1,'Nice and light. ','Nice and light. I like that there\'s no obnoxious design.','Weston',NULL),(69,69,1,'I bought 5 of the same color!','People at the gym probably think I don\'t wwas my cloths because I wear this evryday but I just bought 5 of the same color because it\'s awesome!','Jude',NULL),(70,70,1,'my new favorite CrossFit shirt','Fits great. It\'s my new favorite CrossFit shirt.','Leigh',NULL),(71,71,1,'Works for the gym','Works for the gym and even as an undershirt.','Roland',NULL),(72,72,1,'I like the crew neck','I got this shirt in the v-neck version too and I like the crew a lot better. It seems to fit better and I think the fabric is lighter. This one doesn\'t have the mesh inserts but allover the fabric feels better.','Edison',NULL),(73,73,1,'Hate the fabric','Why is this kind of fabric all the rage? I know it\'s supposed to be the best thing since sliced bread with the moisture wicking crap but I feel like I sweat MORE than with just regular cotton. I\'m over paying an arm and a leg for the \"technology.\" give me a 5 dollar tshirt from the dollar store!','Hai',NULL),(74,74,1,'Ready to hit the gym','As soon as I put this shirt on I feel ready to hit the gym, even on my laziest days. Something about the way it feels just gets me psyched up!','Cletus',NULL),(75,75,1,'Too small ','I\'m a bodybuilder with extremely large, buff muscles and this shirt simply does not accommodate my bulk. Even with the V neck it\'s too tight around my neck, and the sleeve openings were practically cutting off circulation to my biceps and triceps! I had to send it back but I have to admit that felt good ;)','Gustavo',NULL),(76,76,1,'it says moisturewicking?','it says moisturewicking but i still sweat when i wear this shirt, don\'t trust what you read on the internet','Filiberto',NULL),(77,77,1,'This shirt is a dream come true','This shirt is a dream come true for a sweat bucket like me. Love the material and I don\'t look like I got stuck in the rain when I\'m done working out.','Nathan',NULL),(78,78,1,'Awesome tee! Not cheap.','Awesome tee! Not the cheapest though.','Darwin',NULL),(79,79,1,'Liked the way it fit mostly','Liked the way it fit mostly. But the collar was weird. I guess it kept me dry?','Jonas',NULL),(80,80,1,'Keeps me cool','I like this shirt, it keeps me cool when I\'m lifting. Would like a tighter fit though.','Warren',NULL),(81,81,1,'Gets the job done. Even when I\'m pouring','Gets the job done. Even when I\'m pouring sweat, this shirt maintains a nice dry feel. I think the sizing runs a little large, so order accordingly.','Jerome',NULL),(82,82,1,'I sweat SO much.','I sweat SO much. This top is fine when I don\'t intend to exert myself, but BOY does it NOT work for people with hyperhydrosis!','Alfonzo',NULL),(83,83,1,'This shirt is too tight and too thin.','This shirt is too tight and too thin. REALLY emphasizes the fact that I do not have clearly defined pectorals.','Sergio',NULL),(84,84,1,'Great training top. ','Great training top. I like that it also has UV protection because I\'m outdoors all the time. Seems are a little weird tho.','Donnell',NULL),(85,85,1,'I love this shirt. Perfect fit','I love this shirt. Perfect fit, perfect price. My dad plays on a softball team and I got one for him and he is very happy too. has my vote! ','Erwin',NULL),(86,86,1,'Comfortable and soft','On the plus side, it\'s definitely comfortble and soft,  and yes it does keep you dry  no matter how much you sweat. However, I found the cuffs to be too tight and the material is a little too sheer for my tastes. But it\'s not the most expensive on the shelf, so whatever.','Don',NULL),(87,87,1,'It\'s okay, a little boring. ','It\'s okay, a little boring. ','Maynard',NULL),(88,88,1,'Very comfy but wears thin','It is very comfy but wears thin - I won\'t be able to get much more use out it as it now is revealing my bra I think. I have the white one so I will switch to a darker color if I decide to by another 1. Very embarrassing when your at the gym. ','Hiram',NULL),(89,89,1,'I\'ve lost 50 pounds in 5 months','I\'ve lost 50 pounds in 5 months and this shirt kept me comfortable since day one. I would recommend it to anyone serious about workout. Sizes run small tho so order a size up. ','Darwin',NULL),(90,90,1,'Fell apart in wash','I don\'t even know where to begin. It fell apart during the third wash. Whoever says this is a good-quality piece of gear is lying through their teeth! ','Chung',NULL),(91,91,1,'Fantastic shirt for the price!','This is a fantastic shirt for the price!','Jae',NULL),(92,92,1,'Luma got it right with this one.','Luma got it right with this one. I don\'t care about looking stylish, I just want a shirt that will still feel good after an hour at the gym, and that\'s what I got.','Alfred',NULL),(93,93,1,'Ripped the FIRST TIME I wore ','This shirt ripped the FIRST TIME I wore it.','Carlo',NULL),(94,94,1,'Really comfy shirt','Really comfy shirt, sometimes clings a bit but at least it dries fast.','Gus',NULL),(95,95,1,'I work out a lot','I work out a lot and my shoulders are really big, most tank tops are too tight in the armholes but this one is great.','Harry',NULL),(96,96,1,'Nice fit and fabric','Nice fit and fabric, but the inserts are in weird places.','Damon',NULL),(97,97,1,'I purchased this tank top for my son','I purchased this tank top for my son when he\'s working out in the gym after school. It fits great and he loves it!','Duncan',NULL),(98,98,1,'Yea. This pilled imeddiately','Yea. This pilled imeddiately after I washed it. Definatly returning.','Wendell',NULL),(99,99,1,'Why can\'t you make this in my size?','Why can\'t you make this in my size? Thank you for the color at least. ','Harold',NULL),(100,100,1,'Wear this on evening runs','Wear this on evening runs. I absolutely adore it and will probably buy more.','Kasey',NULL),(101,101,1,'Great for baoting ','We go boating a lot and these are great for when I\'m putting our boat in the water. Those tiny rocks and pebbles can be super sharp but I never feel a single one of them. ','Manual',NULL),(102,102,1,'These do drain well','These do drain well and are really comfortable but the bottoms can still be slippery if you\'re walking on wet rocks. Just be careful!','Milton',NULL),(103,103,1,'They work great in water','They work great in water but I also like to wear em on hotter days if we\'re walking around and regular sandals will let too much debris get in.','Antwan',NULL),(104,104,1,'The only things I care about when I\'m ru','The only things I care about when I\'m running are comfort and speed. These are definitely comfortable but I don\'t think their lightweight enough to give me great speed. And the search continues.','Lamont',NULL),(105,105,1,'Great! I wear these almost every day-esp','Great! I wear these almost every day-especially love that I don\'t have to worry about the laces.','Gerald',NULL),(106,106,1,'These sit in my foyer waiting for my eve','These sit in my foyer waiting for my everyday run. Sometimes I run 5 miles in them, sometimes 10. They never let me down.','Ike',NULL),(107,107,1,'Running in these are imPOSSible!! I only','Running in these are imPOSSible!! I only can run 23 minutes at a time, but these hurt when I even do that. They look pretty snazzy though, lots of compliments from the ladies on my route.','Hugh',NULL),(108,108,1,'Pretty average cts. Their comfrtable whe','Pretty average cts. Their comfrtable when I first start but don\'t try working out too hard in them. You\'re feet will definitely start to hurt!','Judson',NULL),(109,109,1,'I wear these to my gym daily. I go hard ','I wear these to my gym daily. I go hard on the treadmill and these don\'t let me down.','Carlo',NULL),(110,110,1,'Love, love, love - did I say love? It wa','Love, love, love - did I say love? It was totally worth it to wait for Luma to come out with a trail running shoe. Very comfortable.','Jerold',NULL),(111,111,1,'I slipped on a rock on these shoes and I','I slipped on a rock on these shoes and I could feel all the pain. I would go out running on a regular day in these but not if it\'s been previously raining.','Ezra',NULL),(112,112,1,'The only thing I don\'t like about these ','The only thing I don\'t like about these shoes are the weird toes. They point upward making it look really strange on a guy. Otherwise very good.','Simon',NULL),(113,113,1,'These are really good to play tennis in ','These are really good to play tennis in too. They fit a little narrow in the heel which was fine for me but might be a problem for others.','Noah',NULL),(114,114,1,'I wore these until they finally gave out','I wore these until they finally gave out! Great running shoes..very comfortable and light and I could feel the difference the Torsion system makes. Highly recommended for anyone going out 4 to 5 times a week.','Joey',NULL),(115,115,1,'How awesome is it to find a product that','How awesome is it to find a product that works exactly as advertised! These seriously felt like I\'d been wearing them forever, the first time I put them on. The way it molds to your foot is amazing. I have run two full marathons in these with barely a blister. GO LUMA!','King',NULL),(116,116,1,'I wouldn\'t be a runner if it wasn\'t for ','I wouldn\'t be a runner if it wasn\'t for these shoes. I used to get really bad shin splints, blisters and pulled muscles no matter how much I stretched. Once I bought these it got so much eaiser. It is true that they are not that stylish but if you are serious about running, who cares?','Irwin',NULL),(117,117,1,'I wear these for a variety of sports and','I wear these for a variety of sports and they are very comfortable, no complaints there. I\'m not crazy about the design though. In person they look kind of feminine. Plus the color is no bueno. They somehow looked dirty and old even fresh out of the box.','Monroe',NULL),(118,118,1,'Awesome shoes!! I didn\'t realize how muc','Awesome shoes!! I didn\'t realize how much I\'d been missing by wearing other shoes without a lot of heel cushioning. I\'m sticking with these from now on.','Josh',NULL),(119,119,1,'They ran too narrow for me and the mater','They ran too narrow for me and the material was almost too light - seemed pretty flimsy and I don\'t think they would last very long.','Leslie',NULL),(120,120,1,'These are really REALLY LIGHT! Not much ','These are really REALLY LIGHT! Not much shoe or cushioning. My calves were sore after running in them 5 miles the first time.','Jody',NULL),(121,121,1,'Not great on slippery grass. I wear them','Not great on slippery grass. I wear them mostly for walking around.','Chad',NULL),(122,122,1,'I used these as racing flats and they we','I used these as racing flats and they were awesome. ','Anibal',NULL),(123,123,1,'Unflattering','Honestly, could this be any more unflattering? The cut is really bad and I can\'t see anyone looking good in this unless they\'re really muscular.','Dominic',NULL),(124,124,1,'Keeps me comfortable','I\'ve only worn it a few times so far, but it really keeps me comfortable at the gym. I throw on a pair of athletic shorts and call it a day.','Mervin',NULL),(125,125,1,'Nothing to write home about','I agree with the reviewer above. You can get this same tank in a million other stores, nothing to write home about. Do like the top stitching though-really adds some athleticsm.','Trey',NULL),(126,126,1,'Average tank','It\'s just an average tank. Nothing really to say about it. I rarely work out so I can\'t speak to the moisture-wicking part.','Edmund',NULL),(127,127,1,'NOT for skinny dudes ','Unless ur really muscular this won\'t look good. I\'m keeping it cuz it\'s motivation to keep working out. But skinny dudes be warned.','Tracey',NULL),(128,128,1,'Keeps me feeling dry','The fabric is great when I\'m sweating hard. It keeps me feeling dry. Wish there was more ventilation.','Archie',NULL),(129,129,1,'I feel awesome when I wear this','I feel awesome when I wear this to hit the gym!!!  The cut makes my triceps look huge. It\'s so rewarding to look in the mirror after a really tough workout. My girlfriend says I look like a lunkhead but I know she loves it!!','Eldon',NULL),(130,130,1,'Comfortable','Not as lightweight as it seems but it was ok. Comfortable.','Joey',NULL),(131,131,1,'I bought a few of these for my husband. ','I bought a few of these for my husband. He likes them but they did shrink when washed. I just don\'t put them in the dryer anymore and it\'s fine!','Matthew',NULL),(132,132,1,'TINY neck hole??','Why is the neck opening so small??? Didn\'t fit right.','Monroe',NULL),(133,133,1,'Shirt can stink after','Ok, MAYBE this is just me but I sweat a LOT when I run, and I\'ve noticed that this shirt really retains odor.  I washed it three times and it still stank so I had to just throw it away. Which sucks because I really liked it, but come on!','Scotty',NULL),(134,134,1,'Wish it was longer','wish it was longer. i\'m 5\'11 with a long torso and it\'s too short.','Alexander',NULL),(135,135,1,'Razorback version?','I\'d prefer if it was Racerback, but otherwise it\'s a great shirt. The Mesh zones are where you need them when you really get Sweaty.','Graham',NULL),(136,136,1,'Fits true to size, feels great.','Fits true to size, feels great. I bought three and I won\'t wear anything else when I\'m training.','Patrick',NULL),(137,137,1,'I bought this bag for my daughter','I bought this bag for my daughter because she travels all the time and she loves it! It\'s easy for her to roll and carry by herself even when full. ','Shella',NULL),(138,138,1,'Goes everywhere with me','I\'ve taken this bag to so many places and everything still works. I hate when the threads start to come apart and the zipper gets caught after like 2 uses. So far so good!','Crissy',NULL),(139,139,1,'The material is a little thin','The material is a little thin so I\'m afraid it won\'t last long. The zippers slide really nice and the wheels are good on the pavement. Overall a good purchase.','Alene',NULL),(140,140,1,'OBSESSED with this!','OBSESSED with this! I love that it\'s adjustable! A bit more expensive than I wanted, but TOTALLY worth it.','Cliff',NULL),(141,141,1,'Great but pricey','This totally makes me feel like I\'m actually working my muscles. The adjustable thing is awesome. A bit pricey though.','Fiona',NULL),(142,142,1,'I hate working out...This does not help.','I hate working out...This does not help.it gets tangled really easily.can\'t even get threw 1 work out with it. Returning.','Ardith',NULL),(143,143,1,'Want more resistance','Its great to be able to work out at home and sometimes on my lunch break at work - I wish this provided more resistance, though.','Randy',NULL),(144,144,1,'Agreed. More resistance','Agreed. I can do plenty of exercises with it and its awesome for when I can\'t make it to the gym, but I\'d like more resistance, too.','Keren',NULL),(145,145,1,'Too lazy to go to gym','I use these when I\'m too lazy to go to the gym. Really helps me stay in shape. I have already adjusted several times to increase the tension because I\'m getting stronger!','Madeleine',NULL),(146,146,1,'Do not buy!','Tried to adjust one and the plastic part just snapped in half. Very Disappointed. Do not buy!','Ricky',NULL),(147,147,1,'They work, nothing special. ','They work, nothing special. I had a set that I liked better but my ex stole it.   ','Krystle',NULL),(148,148,1,'Good value for the price','pretty satisfied with this jump rope. good value for the price','Lavonia',NULL),(149,149,1,'I BRING THIS TO ALL MY MEETS!','I BRING THIS TO ALL MY MEETS FOR WARMUP!!! BARELY TAKES UP ANY SPACE IN MY BAG','Andy',NULL),(150,150,1,'perfect for when I\'m too lazy','this is so perfect for when I\'m too lazy to go to the gym. I do a few pushups and then whip out the jump rope and work on my cardio. It\'s a quick workout that makes me feel greaat and I don\'t even have to leave the house','Orville',NULL),(151,151,1,'PURPLES','I bought these pushup grips because they came in purple!! my boyfriend has his own and I love using them but the purple was so perfect for me because I\'m a girly girl at heart','Toya',NULL),(152,152,1,'these are ok','these are ok, but my brother has the military ones and I like them loads better','Johanne',NULL),(153,153,1,'Will whip you into shape!','these things whip you into shape! a month after I got them and used them several times aeach week I could see a huge difference in my muscle tone. very happy with the results!!!  :)','Ashlea',NULL),(154,154,1,'Easy to clean','Wide mouth opening makes it easy to clean! ','Olimpia',NULL),(155,155,1,'Perfect weight','I always found 10 lb weights too light and 20 lb too heavy. This is just right!','Danielle',NULL),(156,156,1,'should\'ve got a while ago','I don\'t know why I didn\'t get this years ago. I\'ve been diligently doing ab workouts every day with little effect. Incorporated this into my routine and BAM! I can see my love handles melting away!','Keith',NULL),(157,157,1,'I love this bag! It\'s cute','I love this bag! It\'s cute and doesn\'t advertise that I\'m going to the gym like a duffel bag.','Dodie',NULL),(158,158,1,'I pack a TON of stuff','I take a TON of stuff to the gym and yoga studio. Way more than I should but this bag still allows me to carry a bunch of it. I like taking it better than any other bag.','Tara',NULL),(159,159,1,'Wish there were pockets ','I like it but I wish there were pockets on the inside instead of just one big space. I didn\'t think it would fit inside my locker but it did.','Chasidy',NULL),(160,160,1,'Motivated by this Bag!','I purchased this bag hoping it would give me more motivation to go to the gym and it has! Not too big, sized just right for me and all my friends love it :)','Tamisha',NULL),(161,161,1,'Wish it had more pocket','Wish it had more pockets, but it\'s still good. A shoulder strap would also have been nice.','Lidia',NULL),(162,162,1,'Fits tons of gear','I take this along whenever I head up to my cabin. Fits tons of gear plus a few of my favorite electronics. And duct tape.','Elizabeth',NULL),(163,163,1,'ok bag for a day\'s hike','ok bag for a day\'s hike around Hawk Mountain. Needs a sturdier top handle tho, things ripped','Sueann',NULL),(164,164,1,'I bike four miles a day to work and back','I bike four miles a day to work and back and I love this thing. It\'s a good size and it\'s pretty comfortable to wear across my back while I ride. So far I have not noticed much wear and tear on the fabric and I\'ve had it for 6 months.','Sadye',NULL),(165,165,1,'I would love this bag EXCEPT . . .','I would love this bag EXCEPT with the case on my Iphone won\'t fit in the cell phone pocket! Why make a pocket for cell phones if it\'s not going to fit an Iphone.','Adena',NULL),(166,166,1,'it\'s really ugly,','Its fine I guess but it\'s really ugly, I picked out a really cute bag for college but my mom got me this one instead.','Tracee',NULL),(167,167,1,'What\'s not to like about this bag?!!','What\'s not to like about this bag?!! It\'s simple, clean and modern, and it fits me perfeclty. The roominess is a big plus when I make multiple trips to the gym then the grocery store then wherever else. LOVE IT! ','Anglea',NULL),(168,168,1,'Did I get floor model?','I must have a floor model or soemthin cuz when I ordered it it came all stained up, some brown crust or somethin. Gross. I requested a refund so we\'ll see. Other than that I think it\'s a quality bag, just disappointed with mine. ','Lasandra',NULL),(169,169,1,'I bought this backpack for my daughter','I bought this backpack for my daughter who\'s going to college this year. Her campus is huge and I was concerned that she would hurt her back lugging all those books around. It seems like there\'s enough padding!','Francesca',NULL),(170,170,1,'I heart this backpack so hard. ','I heart this backpack so hard. The colors are soooo cute and there\'s enough room for all my stuff xoxo ','Susy',NULL),(171,171,1,'Can I give zero stars?','I would give this bag zero stars if I could!!!  All of the zippers fell off the first tim I used it!!!  DON\'T BUY THIS ','Ingeborg',NULL),(172,172,1,'Um, not actually waterproof','This bag is definitely not waterproof. I accidentally left it outside in a downpour, and my clothes got soaked. I\'m disappointed!','Aiko',NULL),(173,173,1,'A roomy duffle','I really love how roomy the duffle is. I\'m a clotheshorse, so I like to take a lot of outfits with me when I go away. I have no problem stuffing it all in. It\'s not a very stylish bag, but it serves its purpose.','Dollie',NULL),(174,174,1,'doesn\'t hold that much','It doesn\'t hold that much, so it\'s really just good for a night or two away. It\'s also pretty plain looking, so for those who like bells and whistles, look elsewhere.','Caroyln',NULL),(175,175,1,'Good bank for small hand','I bought this watch specifically for its band because I have really small wrists and have a hard time finding watches that fit, even ones that say women\'s. This one fit wonderfully and I could even make it smaller!','Desiree',NULL),(176,176,1,'Super sleek, love it. ','Super sleek, love it. I\'m buying another as a gift!','Cecelia',NULL),(177,177,1,'My mom loves it','I bought this watch for my mom to workout with and she loves it. It\'s not too difficult for her to set and she uses it all the time now.','Natosha',NULL),(178,178,1,'Not classical but cool','Even though I\'m a fan of classic/traditional styles, I bought this watch for something different since it\'s fun and I could really use for tracking my sprints. I have no complaints!','Pok',NULL),(179,179,1,'Buckle BROKE','my buckle BROKE off the 2nd time I wore it. And then I had issues getting a replacement even with the warranty. Luma needs to stick to clothing basics because they clearly are out of their league with the more technical stuff. UGH','Grace',NULL),(180,180,1,'It died after  a week','It died after  a week of infuriating malfunctionality! First that little plastic screen that houses the numbers - yeah. it popped off in 24 hours. Okay, no problem i thought, i\'ll just not touch any thing vital. Then the metal back popped off and landed in the toilet so there was just no recovering that. THEN  the buckle broke! In the trash it went!','Nadia',NULL),(181,181,1,'The strap broke','The strap broke, which made me think I have fat wrists but I don\'t.','Laronda',NULL),(182,182,1,'Pieces kept coming off','Pieces kept coming off.','Colleen',NULL),(183,183,1,'Keeps excellent time and is pretty tough','Keeps excellent time and is pretty tough! Still no scratches or scuffs after a year of wearing it.','Denese',NULL),(184,184,1,'Has been through quite a few adventures ','Has been through quite a few adventures and vacations with me and still looks and runs great. That includes plenty of trips to water parks with the kids! ','Joette',NULL),(185,185,1,'Rides up during workouts','Rides up a bit during workouts but otherwise it\'s pretty comfy! I like the hood.','Gala',NULL),(186,186,1,'Great for cooler runs. ','Great for cooler runs. ','Shonta',NULL),(187,187,1,'I literally wear this everywhere','I literally wear this everywhere even out to dinner!','Kathrine',NULL),(188,188,1,'I can\'t get enough of this hoodie','I can\'t get enough of this hoodie. It\'s so comfortable, I hate taking it off! I\'m buying it in more colors now so that I can wear it more without people realizing that I wear the same thing every day ;)','Olene',NULL),(189,189,1,'Not really flattering','Not really flattering for my body type','Scarlet',NULL),(190,190,1,'Softest hoodie ever','This hoodie may be the softest thing I\'ve ever touched! It\'s so perfect for curling up on a chilly day. I wore it hiking on a really cold day last November and it kept me really warm. My only issue is that it\'s kind of plain and unflattering. I would love to wear it all the time but it makes me look a little frumpy. Luma, I need this fabric with a more stylish design!','Martina',NULL),(191,191,1,'The fabric stains easily','The fabric stains easily but otherwise I\'m a big fan. I don\'t usually like to wear pullovers but the zipper makes it easy to get on and off.','Elly',NULL),(192,192,1,'I wear it to class','I usually just wear it to class but it\'s definitely comfortable and light enough that you could work out in it.','Temeka',NULL),(193,193,1,'Zipper is goofy','Honestly this hoodie is okay but I do not get thezipper. Why not just make a full length zipper? I would rather have no zipper.','Julieann',NULL),(194,194,1,'Needs long sleeves please','The fleece fabric is really nice, but I hate the short-sleeve design. Can you please make this with long sleeves? It\'ll keep me warmer!','Louisa',NULL),(195,195,1,'My favorite hoodie','This is definitely my favorite hoodie in my closet. I wouldn\'t wear it if it was freezing out, but it\'s a great extra layer on normal mornings.','Joelle',NULL),(196,196,1,'Not very stylish','It\'s kinda average and I don\'t know if I would get it again. With the right color combination, it might look ok, but the combo I have and the short sleeve style doesn\'t make it very stylish.','Jonna',NULL),(197,197,1,'Kept me warm','So I borrowed this from my mom and I have to say It\'s not my style but I was super cold and it did the job. ','Jeanelle',NULL),(198,198,1,'Great value','The sleeves are definitely thicker than you realize, which is a good thing! The photo is a little misleading because it makes the hoodie look thin but it\'s really quite substantial! Great value. ','Oma',NULL),(199,199,1,'Best hoodies I\'ve owned.','im planning on buying another one of these in another color. the best hoodie ive ever owned.','Beatris',NULL),(200,200,1,'Love it!','Walking our St. Benard is pretty serious exercise - you WILL sweat trying to keep up with him. This hoodie keeps me just warm enough and doesn\'t get bogged down with sweat. Love it! ','Georgeann',NULL),(201,201,1,'Fall weather jogs or walks','Perfect for fall weather jogs or walks on cool evenings. The sweat-wicking fabric works wonders, keeps the hoodie dry after you\'ve cooled down so you\'re not cold and wet (which I can\'t stand).','Stefany',NULL),(202,202,1,'Soft but not wrm','Definitely not as warm as I hoped, but its super soft. I\'ll wear it when I need another layer.','Lilliam',NULL),(203,203,1,'Ultra comfy','This is my go-to jacket when I\'m running in the morning. It keeps me warm and is ultra comfy.','Sadye',NULL),(204,204,1,'Pocket too small for mp3','The mp3 pocket barely fits my device. I was hoping for a slightly larger pocket.','Rolande',NULL),(205,205,1,'Fitted, awesome','Can I please wear this every day?! Would that be weird? It\'s fitted, which is awesome because I hate frumpy sweatshirts. And the fleece is a dream!','Elvina',NULL),(206,206,1,'Shrinks a lot','Mine shrunk to! :( I gave it to my little sister.','Alesha',NULL),(207,207,1,'Shrunk right away!','So annoyed! I loved this, but then it shrunk after I washed it once! It\'s adorable but now the sleeves are too short. Returning. :(','Tennille',NULL),(208,208,1,'my new fave zip up','OMG, I\'ve found my new fave zip up!! I live in this thing! I\'m just mad their arent more colors.','Lakeesha',NULL),(209,209,1,'Only shirt I wear anywmore','I wear this to class so often, my friend asked me if I actually own any other shirts!','Charlyn',NULL),(210,210,1,'it\'s so light and really long!','it\'s so light and really long! I wear it with jeans, yoga pants, whatever!','Regenia',NULL),(211,211,1,'Wish I\'d bought the tshirt','Love the material, but the hood kind of flops around. I should have bought the t-shirt instead of the hoodie.','Juliette',NULL),(212,212,1,'Fleece inside, sweater outside','I love wearing fleece, but I hate how it pills and picks up fluff and cat hair. This hoodie is perfect, because it\'s a fleece on the inside and a sweater on the outside. I wear it around the house all the time in the winter.','Anamaria',NULL),(213,213,1,'Great for hiking and camping','Great hoodie for hiking and camping in the fall. I really wish the pockets were bigger, though, I can\'t get my hands in them when I\'m wearing gloves.','Tiffiny',NULL),(214,214,1,'Super warm.','Super warm. My mom bought this for me for when I have to go watch my stupid brother play middle school football in 30 degree weather.','Cara',NULL),(215,215,1,'This is REALLY comfortable!','This is REALLY comfortable! It\'s a little too bulky to run or bike in, but for cold-weather hikes it\'s awesome.','Nadene',NULL),(216,216,1,'Thumb holes rock!','Thumb holes rock!','Tawny',NULL),(217,217,1,'REALLY lightweight.','OK this jacket is REALLY lightweight. But if it\'s really cold, you have to wear it with baselayers or you\'ll freeze. It\'s a good buy, but be prepared!','Illa',NULL),(218,218,1,'Nice for skiing','Looks good and feels good. It\'s nice for skiing because it blocks the wind and keeps you warm, but doesn\'t get too hot after you start sweating.','Ela',NULL),(219,219,1,'Most comfortable jacket','I have never worn such a comfortable jacket!!!  It\'s really thin and moves well with your body, I have no idea how it manages to keep you so warm. And if you\'ll be in really cold weather, you can easily add some extra layers underneath and still be comfortable.','Kecia',NULL),(220,220,1,'a little short for me','It\'s a little short for my loooooooooooooong torso, but it\'s still comfy and cute. Good for short runs.','Johna',NULL),(221,221,1,'Square shape','Makes me look like a square. Literally, like a square shape.','Jessi',NULL),(222,222,1,'This is my go-to jacket','This is my go-to jacket when I\'m running in the rain or cold! It\'s warm but lightweight, totally waterproof, and I love the colors!','Kellye',NULL),(223,223,1,'I wear this pretty much every day!','I wear this pretty much every day! The material is really soft and it goes with everything!','Marvella',NULL),(224,224,1,'Horrible unflatterung design','It\'s called not making clothes that are boxy and unflattering. Heard of it?','May',NULL),(225,225,1,'The actual color is brighter','The actual color is brighter than it looks in the photo, but thats why I like it for jogging in the neighborhood at night ','Chasidy',NULL),(226,226,1,'Big back pocket','my fave part is the back pocket. I needed a place to keep my cell phone safe when I run','Wava',NULL),(227,227,1,'Everyone loves this jacket on me','I got this jacket for tennis practice since its in my schools color and everyone on the team loves it!!','Kristyn',NULL),(228,228,1,'Rain proof?','I don\'t know if this jacket would be good for a whole day outside in the snow. It says waterproof but mine got pretty soaked one day when it was raining. ','Janna',NULL),(229,229,1,'Overheated','I agree with that other reviewer. I get very overheated while wearing this jacket while shoveling snow. ','Venetta',NULL),(230,230,1,'Great colors!','I\'m into the colors cause they\'re great for night skiing-but I overheated really fast in this jacket','Demetrice',NULL),(231,231,1,'This is the most dependable piece I own.','This is the most dependable piece I own. You\'ll rarely me without this on. (except in the summer)','Mathilde',NULL),(232,232,1,'Not for cold weather','This really doesn\'t deliver on the insulating part. I can\'t say I would throw this on in really chilly temperatures-need a coat.','Eda',NULL),(233,233,1,'Perfect, perfect, perfect in every way. ','Perfect, perfect, perfect in every way. I love the quilting and it keeps me toasty warm.','Denyse',NULL),(234,234,1,'Awesome bottoms ','Awesome bottoms for working out or just relaxing at the house.','Ashlee',NULL),(235,235,1,'Great for yoga','I\'m not a fan of really tight or compressed pants so I love these for my yoga classes (not so much for hot yoga, though). ','Nyla',NULL),(236,236,1,'Yoga is for hippees','I bought these to hang out in not for yoga. yoga is for hippees!','Judith',NULL),(237,237,1,'I can\'t stop lookin in the mirror! ','I can\'t stop lookin in the mirror! ','Isadora',NULL),(238,238,1,'Want more colors','Guys. I have like 10 pairs of these cause they\'re so comfy, natch! Please make more colors!','Isela',NULL),(239,239,1,'I have 5 pairs','I literally have about 5 pairs of these in my drawer. I don\'t just wear them to yoga though. Oh no! I wear them on a normal Saturday around town. Love them!','Dannielle',NULL),(240,240,1,'These pants move so well!','These pants move so well! They provide nice coverage so when I\'m in Downward Dog, I don\'t have to worry. I don\'t know about this Cooltech technology though. I sweat in them, so they definitely don\'t keep me dry. They\'re pretty warm!','Deloise',NULL),(241,241,1,'Seams separated righth away','I wear them once and the seams started to separate! Not constructed well at all. With the kazillion other yoga pants out there, there\'s no excuse for this!','Rosann',NULL),(242,242,1,'high waistband, no muffin top!','Love the cut and the high waistband. Bye bye, muffin top!','Lily',NULL),(243,243,1,'Relaxing','My favorite part of the day is when I get to come home, take my work pants off and slip these on. Sooo soft and perfect for relaxing.','Brittany',NULL),(244,244,1,'LOVE, LOVE, LOVE.  ','LOVE, LOVE, LOVE. They are so comfy and good for anything. I have two toddlers, so I rarely get a chance to finish my morning stretches and yoga, let alone get changed afterward before I get interrupted by my kids. Sometimes I will be making lunch and realize that I\'m still wearing these! They\'re so comfy and good for anything. It\'s nice to know that if I need to run out on a quick errand, I won\'t look like a total bum even if I forgot to change.','Brittni',NULL),(245,245,1,'NOT flattering.','NOT flattering. My boyfriend bought me these cuz he loves the way yoga pants look. I wore them once and he said I should return them then we broke up :(','Pamela',NULL),(246,246,1,'These are soft and stretchy','These are soft and stretchy enough but don\'t draw sweat away. ','Tarra',NULL),(247,247,1,'I bought these for yoga','I bought these for yoga but they make better pajama bottoms. I like a tighter fit for yoga.','Lue',NULL),(248,248,1,'These pants are so cute!','These pants are so cute! I like them better for lounging than exercising, though. The material gets a little too hot when I\'m working out.','Mavis',NULL),(249,249,1,'good for PJs but that\'s about it','good for PJs but that\'s about it','Kemberly',NULL),(250,250,1,'These are my favorite pants. ','These are my favorite pants. Super cute and soooo comfy.','Tashina',NULL),(251,251,1,'Soooooooooooooo light!','Soooooooooooooo light!','Beverlee',NULL),(252,252,1,'Cute.','Cute.','Latarsha',NULL),(253,253,1,'I really dig this shirt for races','I really dig this shirt for races, it makes me feel like I\'m flying.','Lorena',NULL),(254,254,1,'This shirt is decent for running','This shirt is pretty good! I\'m a long distance runner and it keeps me pretty comfortable, although these companies always act like their shirts are magical and really it\'s just pretty basic stuff. Still it\'s a decent shirt and I would recommend it. Just don\'t expect it to change your life.','Allyson',NULL),(255,255,1,'Wish it was longer','fits kind of awkward wish it was longer','Chloe',NULL),(256,256,1,'Fits my large head TG','So I have a really large head and I love this shirt bc the neckline is so stretchy! Honestly I have gotten stuck in other running shirts with the really small collar hahahahaha so embarrassing!!! !!','Hsiu',NULL),(257,257,1,'Flatters my big build','I have broad, strong shoulders and this top is one of the very few that flatters my build. 5 stars for sure!','Annamaria',NULL),(258,258,1,'Fits my fiancee better','My fiance accidentally put this on when he was getting dressed and it fit him better than it fits me?? ','Lang',NULL),(259,259,1,'Fabric is great for sport','I do think the fabric is great for sports but the cut and style are weeeird.','Becki',NULL),(260,260,1,'Doesn\'t help my figure one bit','The contored design is NOT really contored. I rarely wear this top out because it doesn\'t do anything for my figure.','Hellen',NULL),(261,261,1,'What\'s with the sleeve cut?','What\'s with the sleeve cut? I don\'t even have linebacker shoulders but I feel like the sleeves are cutting off circulation to my arms!','Pearle',NULL),(262,262,1,'Light, comfy','Light, comfy, does a good job shedding sweat.','Slyvia',NULL),(263,263,1,'Light but tight','This shirt is very light but a TIGHT fit! Almost compression-tight.','Nell',NULL),(264,264,1,'Looks and feels aweseom ','Really like the seams. Looks and feels awesome!','Skye',NULL),(265,265,1,'Really close-fitting. Do not love.','Really close-fitting. Do not love.','Amberly',NULL),(266,266,1,'Not at all soft','There\'s a ton of other t-shirts I\'d choose over this one. It\'s not soft at all and the fabric feels like sandpaper next to my skin-was really hoping for better.','Ashli',NULL),(267,267,1,'This T is a no brainer-solid color','This T is a no brainer-solid color, pairs with everything, and keeps me cool. What more could I want during my run?','Ruth',NULL),(268,268,1,'Thank you! ','Thank you! I\'m so sick of inappropriate workout clothes. This is exactly what I was looking for. Cover yourselves up, ladies!','Sonja',NULL),(269,269,1,'Um, NOT flattering at ALL.','Um, NOT flattering at ALL. Too tight and short.','Candie',NULL),(270,270,1,'Like the color .sleeves were too tight. ','Like the color .sleeves were too tight. felt constricted.','Elmira',NULL),(271,271,1,'Sooooooooooo soft! ','Sooooooooooo soft! Nice and long too.','Nyla',NULL),(272,272,1,'Cute, comfy. ','Cute, comfy. A little overpriced though.','Hollie',NULL),(273,273,1,'I love that it\'s so lightweight. ','I love that it\'s so lightweight. I can wear it under jackets and vests without feeling like a stuffed sausage.','Celestine',NULL),(274,274,1,'who doesn\'t love a racerback, amiright?!','who doesn\'t love a racerback, amiright?!','Irma',NULL),(275,275,1,'I where this AAALLLLL the time','I where this AAALLLLL the time to workout! Its so comfy and cute! I just wish it was a little longer.','Gidget',NULL),(276,276,1,'soft but a little tight','soft but a little tight for my liking.','Tatiana',NULL),(277,277,1,'Love the fabric, but it\'s huge!','Love the fabric, but it\'s huge! I look like a homeless person in it.','Maisie',NULL),(278,278,1,'Soft','seriously, I can\'t get over how soft this tank top is. Do you have anything else made with it?','Karine',NULL),(279,279,1,'omg I love this tank top, it\'s perfect','omg I love this tank top, it\'s perfect for running and yoga. The fabric is so soft and stretchy!','Bree',NULL),(280,280,1,'cool and dry','What I rally love here is that it does the job of keeping me cool and dry.  I\'m a big guy and sweat A LOT! Even after a day of gulf, I\'m still dry and comfortable. The problem is that the sleeves are very tight - actually bought a second shirt because i split the armpit/sleeve area of the first. Do yourself a favor and order a size bigger.  ','Lakeisha',NULL),(281,281,1,'Not great','Not great - buttons are too small and hurt my fingers trying to button it. I\'ve seen better designs...','Collette',NULL),(282,282,1,'What a versatile shirt!','What a versatile shirt! Not only does it feel very soft compared to my old worn out polos, but it also does the job promised. I like going out after my gamefor drinks so I look good then too and don\'t need to change into something fresh. ','Adaline',NULL),(283,283,1,'So comfortable I almost feel barefoot. T','So comfortable I almost feel barefoot. The treads on these is so intricate and deep, so they can be hard to clean. ','Karisa',NULL),(284,284,1,'On the plus side, the perforated cushion','On the plus side, the perforated cushioning  is really soft and reduces friction. However, they seem to absorb sweat and don\'t dry very quickly, which causes a lot of odor. ','Evelyn',NULL),(285,285,1,'I threw them out when the mushy lining s','I threw them out when the mushy lining started to ooze. ','Markita',NULL),(286,286,1,'Beyond perfection! I always get tons of ','Beyond perfection! I always get tons of compliments when I wear these out.','Manuela',NULL),(287,287,1,'These look awesome with EVERYTHING! Hone','These look awesome with EVERYTHING! Honestly, there\'s nothing you can wear that won\'t look perfect with these. Preppy and retro! Love them!','Gwen',NULL),(288,288,1,'The suede upper makes these pretty hard ','The suede upper makes these pretty hard to wear if its raining outside! The sneaker designers really weren\'t thinking on this one. Cute design though!','Jovan',NULL),(289,289,1,'Love a preppy sneaker! These are still a','Love a preppy sneaker! These are still adorable but not as casual as running shoes! Love them!','Shellie',NULL),(290,290,1,'These are my favorite new pair of sneake','These are my favorite new pair of sneakers! I just hate that they get dirty really fast.','Dena',NULL),(291,291,1,'Have had these for quite a while and the','Have had these for quite a while and they\'re still my go-to pair for every morning jog. Really hold up well and still feel good.','Evalyn',NULL),(292,292,1,'Really comfy and awesome for running or ','Really comfy and awesome for running or checking out trails at the park. ','Adele',NULL),(293,293,1,'Velcro straps?? Are you kidding me? Am I','Velcro straps?? Are you kidding me? Am I two years old? The bottom is cool though!','Star',NULL),(294,294,1,'Cool-looking kicks! I\'d wear them anywhe','Cool-looking kicks! I\'d wear them anywhere not just the gym or running. They\'ll look great with everything!','Nikki',NULL),(295,295,1,'I absolutely love these trainers. I can ','I absolutely love these trainers. I can get on the gym floor so quick becuz i don\'t have to tie any annoying ties.','Rosy',NULL),(296,296,1,'Don\'t like the strap on top; gets too lo','Don\'t like the strap on top; gets too loose sometimes','Aleen',NULL),(297,297,1,'Love the no laces and they feel really g','Love the no laces and they feel really good- wear em all the time!','Dannette',NULL),(298,298,1,'I love these for when I walk the boardwa','I love these for when I walk the boardwalk with my grandaughter. They seem pretty hip and I got lots of compliments on them from the ladies at the bingo night','Lita',NULL),(299,299,1,'These looked really ugly on my feet when','These looked really ugly on my feet when I got them. The picture online is much more flattering than the reality. I\'m bummed. ','Joyce',NULL),(300,300,1,'I can appreciate the concept, but I thin','I can appreciate the concept, but I think I\'ll be going back to regular laced sneakers from now on, they just didn\'t seem to fit my feet as well I guess because my feet are so narrow. People with narrow feet shouldn\'t buy these!','Gertrud',NULL),(301,301,1,'I couldn\'t live without these. I wear th','I couldn\'t live without these. I wear them everywhere, not just running. They feel like I don\'t have anything on my feet, and their so, so comfortble.','Leonia',NULL),(302,302,1,'These are really well made and so lightw','These are really well made and so lightweight. I\'ll definitely be buying more of these.','Nadene',NULL),(303,303,1,'Want these in every single color Luma ma','Want these in every single color Luma makes! I am the first to say that I\'m a couch potatoe, I don\'t run at all. I wear these to the mall for shopping instead. :)','Min',NULL),(304,304,1,'Ummm, fashion? If you say so. They\'re co','Ummm, fashion? If you say so. They\'re comfy and all, but these shoes are hideous.','Katy',NULL),(305,305,1,'Cute and comfortable definitely. The ela','Cute and comfortable definitely. The elastic streteched out a bit too much but I still wear them.','Laurice',NULL),(306,306,1,'Love love LOVE!!!  I can\'t get enough of ','Love love LOVE!!!  I can\'t get enough of these shoes. They are SUPER comfy and go with everything!','Kara',NULL),(307,307,1,'It was really hard to find the right siz','It was really hard to find the right size for these. I had to send them back 3 times before I got a pair that fit. Really aggravating!!!  I ended up having to get two sizes larger than I usually wear and a wide, which I\'ve never worn before in my life. Sizing is messed up do yourself a favor, go to the store and try them on.','Angeline',NULL),(308,308,1,'VERY LIGHTWEIGHT COMFY-GOOD SHOES','VERY LIGHTWEIGHT COMFY-GOOD SHOES','Marita',NULL),(309,309,1,'Wore these for a year and they started f','Wore these for a year and they started falling apart. For the price I guess I\'ll just get another pair cuz I do like them. But I think a shoe should last longer. It\'s not like I can take my sneakers to a cobbler haha','Pura',NULL),(310,310,1,'I am in love with these shoes and will b','I am in love with these shoes and will buy them until they don\'t make them anymore. I run every day in them and I\'m still on my first pair after a whole year. They\'re SO comfy.','Natashia',NULL),(311,311,1,'Design is adorable-when you have cute wo','Design is adorable-when you have cute workout gear, exercising is fun. I\'d buy these again.','Brigitte',NULL),(312,312,1,'Have no idea what all the fuss is about ','Have no idea what all the fuss is about with these. I don\'t know, maybe I just bought the wrong size, but these are so uncomfortable. They dig into my toes and I always end up with blisters. Their cute but will look elsewhere.','Roseline',NULL),(313,313,1,'Pic is WAY different then the real thing','Pic is WAY different then the real thing! My mom wouldn\'t even wear these there so ugly! Can I give a 0 rating?','Garnett',NULL),(314,314,1,'Meh, I\'m not hating them, but I\'m not in','Meh, I\'m not hating them, but I\'m not in love. The eyelet part looks way different online and the elastic band felt really tight. They are pretty comfy other than that.','Eugena',NULL),(315,315,1,'I\'m a mom on the go and I love these sho','I\'m a mom on the go and I love these shoes! They\'re comfy, cute and easy to slip on. What more could you ask for?','Elina',NULL),(316,316,1,'Not exactly true to size','Not exactly true to size but still very comfortable. ','Mistie',NULL),(317,317,1,'Snug fit without being too tight','Snug fit without being too tight and no irritation or chafing. ','Ming',NULL),(318,318,1,'bra stays comfy and dry','I play field hockey and it gets crazy hot outside - bra stays comfy and pretty dry. Recommended!','Mei',NULL),(319,319,1,'One of my favorites b/c no chafing!','One of my favorites b/c no chafing!','Bernetta',NULL),(320,320,1,'Doesn\'t fit me. Luma fail.','Doesn\'t fit me. Luma fail.','Roxie',NULL),(321,321,1,'does not fit. worthless.','does not fit. worthless.','Ardelia',NULL),(322,322,1,'So, so awesome. Great Support!','So, so awesome. Great Support! I just can\'t wait for the day that I\'m comfortable enough with my midriff to wear this sans shirt, because the pattern is really cute!!','Dorcas',NULL),(323,323,1,'I love this bra','I have a B cup and I love how this bra feels! It has a really firm fit but it doesn\'t feel too tight. I wish every bra felt like this!','Cayla',NULL),(324,324,1,'So comfortable','If I could wear this sports bra every day, I definitely would. It\'s so so comfortable and washes well.','Tonya',NULL),(325,325,1,'It\'s an average bra','It\'s an average bra-nothing to write home about. I don\'t like how the straps dig into my shoulders, and it really doesn\'t provide that much support.','Eartha',NULL),(326,326,1,'Make this with patterns','I wish they made this bra with patterns because I like to look good at the gym. This is a little blah, but still cute. I would never wear it by itself.','Jammie',NULL),(327,327,1,'Cute gym top','So, it doesn\'t say that theres no shelf bra. BEWARE! Other than that, cute gym top.','Lorena',NULL),(328,328,1,'Cute, stretchy top!','Cute, stretchy top! Perfect for people with zero body fat.','Modesta',NULL),(329,329,1,'I got every color','I am a compulsive hoarder of workout gear so of course I had to have this in every color. I feel better after I buy them all because it\'s a good price!','Ayanna',NULL),(330,330,1,'unflattering. Ugh.','unflattering. Ugh. The elastic was literaly digging into my skin. I got my exact size so I thought I\'d be good. All set.','Avelina',NULL),(331,331,1,'Training bra?','Makes me feel like I\'m wearing a training bra. Comfy though.','Maribel',NULL),(332,332,1,'Sizes are off','I had to order 3 sizes before I found my fit. The sizes do NOT line up. I did like it in the end. Just took too long to get there.','Krystina',NULL),(333,333,1,'Makes me feel so snug! WHOO! ','Makes me feel so snug! WHOO! ','Concepcion',NULL),(334,334,1,'Could be flirtier.','Could be flirtier.','Emerald',NULL),(335,335,1,'Not for non-petite','Watch out if you\'re shapely like me - this tiny thing makes it hard to breath! ','Teofila',NULL),(336,336,1,'one of my favorites','I do a lot of different exercises and this tank - I have 2 of them - is one of my favorites. It\'s really soft and stays drier than other tops I\'ve had.','Elza',NULL),(337,337,1,'Zero support/modesty','I would never wear this bra to anything but a low impact class like yoga. There\'s zero support and absolutely no modesty. Was hoping for better!','Shaunte',NULL),(338,338,1,'Not for high impact','Definitely not good for anything high-impact, but it\'s very stylish for yoga or something else low impact.','Merrie',NULL),(339,339,1,'A regular or me','This is in regular rotation at the gym. Its colorful and looks kinda cute under my exercise tanks.','Pearl',NULL),(340,340,1,'Great fit - love the v-neck design! ','Great fit - love the v-neck design! ','Thalia',NULL),(341,341,1,'The seams bother me','Some of the seams bother me during certain workouts but otherwise very comfortable','Carma',NULL),(342,342,1,'A sweet n sporty look for the gym','Always a sweet n sporty look for the gym! Keeps me cool and the seams don\'t rub up against me like some of my other tanks.','Maryanna',NULL),(343,343,1,'Good choice for working out','Good choice for working out and stylin\' enough to wear when I\'m hanging with friends on hot days. Also washes really well! ','Elfriede',NULL),(344,344,1,'I love the look','I love the look of this top, but I wasn\'t too crazy about the fit. The medium was too big in my opinion.','Yan',NULL),(345,345,1,'Huge arm holes??','I don\'t know why the arm holes are so big. It looked ok in the photo but in person they\'re really wide. It\'s really comfortable but that bugs me.','Valorie',NULL),(346,346,1,'Super cute!!!  I love it','Super cute!!!  I love it and want more colors. I really like running in this tank because it\'s not too tight.','Mikkel',NULL);

--
-- Table structure for table `review_entity`
--

CREATE TABLE `review_entity` (
  `entity_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Review entity ID',
  `entity_code` varchar(32) NOT NULL COMMENT 'Review entity code',
  PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Review entities';

--
-- Dumping data for table `review_entity`
--

INSERT INTO `review_entity` VALUES (1,'product'),(2,'customer'),(3,'category');

--
-- Table structure for table `review_entity_summary`
--

CREATE TABLE `review_entity_summary` (
  `primary_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Summary review entity ID',
  `entity_pk_value` bigint(20) NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `entity_type` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Entity type ID',
  `reviews_count` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Qty of reviews',
  `rating_summary` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Summarized rating',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  PRIMARY KEY (`primary_id`),
  UNIQUE KEY `REVIEW_ENTITY_SUMMARY_ENTITY_PK_VALUE_STORE_ID_ENTITY_TYPE` (`entity_pk_value`,`store_id`,`entity_type`),
  KEY `REVIEW_ENTITY_SUMMARY_STORE_ID` (`store_id`),
  CONSTRAINT `REVIEW_ENTITY_SUMMARY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=251 DEFAULT CHARSET=utf8 COMMENT='Review aggregates';

--
-- Dumping data for table `review_entity_summary`
--

INSERT INTO `review_entity_summary` VALUES (1,1,1,2,50,0),(2,1,1,2,50,1),(3,6,1,3,67,0),(4,6,1,3,67,1),(5,3,1,3,67,0),(6,3,1,3,67,1),(7,2,1,2,90,0),(8,2,1,2,90,1),(9,4,1,3,67,0),(10,4,1,3,67,1),(11,5,1,2,70,0),(12,5,1,2,70,1),(13,37,1,3,87,0),(14,37,1,3,87,1),(15,40,1,3,73,0),(16,40,1,3,73,1),(17,38,1,3,47,0),(18,38,1,3,47,1),(19,36,1,2,80,0),(20,36,1,2,80,1),(21,39,1,4,65,0),(22,39,1,4,65,1),(23,276,1,2,90,0),(24,276,1,2,90,1),(25,292,1,2,90,0),(26,292,1,2,90,1),(27,420,1,3,53,0),(28,420,1,3,53,1),(29,308,1,3,93,0),(30,308,1,3,93,1),(31,404,1,3,80,0),(32,404,1,3,80,1),(33,324,1,2,50,0),(34,324,1,2,50,1),(35,340,1,3,67,0),(36,340,1,3,67,1),(37,356,1,2,70,0),(38,356,1,2,70,1),(39,372,1,2,70,0),(40,372,1,2,70,1),(41,743,1,3,47,0),(42,743,1,3,47,1),(43,756,1,3,47,0),(44,756,1,3,47,1),(45,769,1,2,70,0),(46,769,1,2,70,1),(47,782,1,3,87,0),(48,782,1,3,87,1),(49,795,1,3,73,0),(50,795,1,3,73,1),(51,564,1,3,80,0),(52,564,1,3,80,1),(53,580,1,2,90,0),(54,580,1,2,90,1),(55,532,1,2,60,0),(56,532,1,2,60,1),(57,452,1,3,67,0),(58,452,1,3,67,1),(59,468,1,3,80,0),(60,468,1,3,80,1),(61,548,1,2,70,0),(62,548,1,2,70,1),(63,612,1,3,67,0),(64,612,1,3,67,1),(65,628,1,4,65,0),(66,628,1,4,65,1),(67,484,1,3,73,0),(68,484,1,3,73,1),(69,596,1,3,60,0),(70,596,1,3,60,1),(71,500,1,3,80,0),(72,500,1,3,80,1),(73,516,1,3,53,0),(74,516,1,3,53,1),(75,899,1,3,80,0),(76,899,1,3,80,1),(77,917,1,3,73,0),(78,917,1,3,73,1),(79,930,1,3,60,0),(80,930,1,3,60,1),(81,943,1,3,73,0),(82,943,1,3,73,1),(83,956,1,2,70,0),(84,956,1,2,70,1),(85,969,1,3,87,0),(86,969,1,3,87,1),(87,982,1,2,60,0),(88,982,1,2,60,1),(89,995,1,3,67,0),(90,995,1,3,67,1),(91,644,1,4,55,0),(92,644,1,4,55,1),(93,660,1,3,80,0),(94,660,1,3,80,1),(95,676,1,3,53,0),(96,676,1,3,53,1),(97,682,1,4,70,0),(98,682,1,4,70,1),(99,7,1,3,80,0),(100,7,1,3,80,1),(101,20,1,3,67,0),(102,20,1,3,67,1),(103,18,1,2,60,0),(104,18,1,2,60,1),(105,23,1,3,60,0),(106,23,1,3,60,1),(107,17,1,3,93,0),(108,17,1,3,93,1),(109,19,1,3,87,0),(110,19,1,3,87,1),(111,15,1,1,60,0),(112,15,1,1,60,1),(113,16,1,2,100,0),(114,16,1,2,100,1),(115,8,1,3,67,0),(116,8,1,3,67,1),(117,9,1,2,70,0),(118,9,1,2,70,1),(119,12,1,2,90,0),(120,12,1,2,90,1),(121,14,1,3,67,0),(122,14,1,3,67,1),(123,10,1,2,80,0),(124,10,1,2,80,1),(125,11,1,3,73,0),(126,11,1,3,73,1),(127,13,1,3,60,0),(128,13,1,3,60,1),(129,42,1,3,67,0),(130,42,1,3,67,1),(131,44,1,2,70,0),(132,44,1,2,70,1),(133,43,1,3,53,0),(134,43,1,3,53,1),(135,41,1,2,80,0),(136,41,1,2,80,1),(137,1050,1,3,87,0),(138,1050,1,3,87,1),(139,1066,1,3,67,0),(140,1066,1,3,67,1),(141,1082,1,3,60,0),(142,1082,1,3,60,1),(143,1098,1,3,60,0),(144,1098,1,3,60,1),(145,1114,1,3,80,0),(146,1114,1,3,80,1),(147,1120,1,2,80,0),(148,1120,1,2,80,1),(149,1226,1,3,67,0),(150,1226,1,3,67,1),(151,1242,1,4,70,0),(152,1242,1,4,70,1),(153,1258,1,3,87,0),(154,1258,1,3,87,1),(155,1274,1,2,90,0),(156,1274,1,2,90,1),(157,1290,1,3,87,0),(158,1290,1,3,87,1),(159,1386,1,3,87,0),(160,1386,1,3,87,1),(161,1306,1,3,67,0),(162,1306,1,3,67,1),(163,1322,1,2,60,0),(164,1322,1,2,60,1),(165,1338,1,3,87,0),(166,1338,1,3,87,1),(167,1354,1,3,60,0),(168,1354,1,3,60,1),(169,1370,1,3,87,0),(170,1370,1,3,87,1),(171,1825,1,2,80,0),(172,1825,1,2,80,1),(173,1832,1,3,93,0),(174,1832,1,3,93,1),(175,1839,1,3,67,0),(176,1839,1,3,67,1),(177,1846,1,4,80,0),(178,1846,1,4,80,1),(179,1853,1,2,60,0),(180,1853,1,2,60,1),(181,1860,1,3,67,0),(182,1860,1,3,67,1),(183,1578,1,3,87,0),(184,1578,1,3,87,1),(185,1418,1,3,73,0),(186,1418,1,3,73,1),(187,1434,1,4,60,0),(188,1434,1,4,60,1),(189,1450,1,2,60,0),(190,1450,1,2,60,1),(191,1594,1,3,73,0),(192,1594,1,3,73,1),(193,1482,1,2,60,0),(194,1482,1,2,60,1),(195,1498,1,3,47,0),(196,1498,1,3,47,1),(197,1514,1,3,73,0),(198,1514,1,3,73,1),(199,1530,1,3,80,0),(200,1530,1,3,80,1),(201,1546,1,3,87,0),(202,1546,1,3,87,1),(203,1562,1,3,60,0),(204,1562,1,3,60,1),(205,1925,1,3,60,0),(206,1925,1,3,60,1),(207,1941,1,3,80,0),(208,1941,1,3,80,1),(209,1957,1,2,90,0),(210,1957,1,2,90,1),(211,1973,1,2,80,0),(212,1973,1,2,80,1),(213,1989,1,3,73,0),(214,1989,1,3,73,1),(215,1996,1,2,70,0),(216,1996,1,2,70,1),(217,2003,1,3,67,0),(218,2003,1,3,67,1),(219,2009,1,3,93,0),(220,2009,1,3,93,1),(221,2016,1,3,67,0),(222,2016,1,3,67,1),(223,2023,1,3,80,0),(224,2023,1,3,80,1),(225,2030,1,3,73,0),(226,2030,1,3,73,1),(227,2046,1,3,60,0),(228,2046,1,3,60,1),(229,1610,1,4,75,0),(230,1610,1,4,75,1),(231,1626,1,4,60,0),(232,1626,1,4,60,1),(233,1642,1,3,67,0),(234,1642,1,3,67,1),(235,1658,1,3,60,0),(236,1658,1,3,60,1),(237,1674,1,3,40,0),(238,1674,1,3,40,1),(239,1770,1,3,73,0),(240,1770,1,3,73,1),(241,1786,1,1,80,0),(242,1786,1,1,80,1),(243,1802,1,3,60,0),(244,1802,1,3,60,1),(245,1818,1,2,70,0),(246,1818,1,2,70,1),(247,1690,1,2,80,0),(248,1690,1,2,80,1),(249,1706,1,3,53,0),(250,1706,1,3,53,1);

--
-- Table structure for table `review_status`
--

CREATE TABLE `review_status` (
  `status_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Status ID',
  `status_code` varchar(32) NOT NULL COMMENT 'Status code',
  PRIMARY KEY (`status_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Review statuses';

--
-- Dumping data for table `review_status`
--

INSERT INTO `review_status` VALUES (1,'Approved'),(2,'Pending'),(3,'Not Approved');

--
-- Table structure for table `review_store`
--

CREATE TABLE `review_store` (
  `review_id` bigint(20) unsigned NOT NULL COMMENT 'Review ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  PRIMARY KEY (`review_id`,`store_id`),
  KEY `REVIEW_STORE_STORE_ID` (`store_id`),
  CONSTRAINT `REVIEW_STORE_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `review` (`review_id`) ON DELETE CASCADE,
  CONSTRAINT `REVIEW_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Review Store';

--
-- Dumping data for table `review_store`
--

INSERT INTO `review_store` VALUES (1,0),(2,0),(3,0),(4,0),(5,0),(6,0),(7,0),(8,0),(9,0),(10,0),(11,0),(12,0),(13,0),(14,0),(15,0),(16,0),(17,0),(18,0),(19,0),(20,0),(21,0),(22,0),(23,0),(24,0),(25,0),(26,0),(27,0),(28,0),(29,0),(30,0),(31,0),(32,0),(33,0),(34,0),(35,0),(36,0),(37,0),(38,0),(39,0),(40,0),(41,0),(42,0),(43,0),(44,0),(45,0),(46,0),(47,0),(48,0),(49,0),(50,0),(51,0),(52,0),(53,0),(54,0),(55,0),(56,0),(57,0),(58,0),(59,0),(60,0),(61,0),(62,0),(63,0),(64,0),(65,0),(66,0),(67,0),(68,0),(69,0),(70,0),(71,0),(72,0),(73,0),(74,0),(75,0),(76,0),(77,0),(78,0),(79,0),(80,0),(81,0),(82,0),(83,0),(84,0),(85,0),(86,0),(87,0),(88,0),(89,0),(90,0),(91,0),(92,0),(93,0),(94,0),(95,0),(96,0),(97,0),(98,0),(99,0),(100,0),(101,0),(102,0),(103,0),(104,0),(105,0),(106,0),(107,0),(108,0),(109,0),(110,0),(111,0),(112,0),(113,0),(114,0),(115,0),(116,0),(117,0),(118,0),(119,0),(120,0),(121,0),(122,0),(123,0),(124,0),(125,0),(126,0),(127,0),(128,0),(129,0),(130,0),(131,0),(132,0),(133,0),(134,0),(135,0),(136,0),(137,0),(138,0),(139,0),(140,0),(141,0),(142,0),(143,0),(144,0),(145,0),(146,0),(147,0),(148,0),(149,0),(150,0),(151,0),(152,0),(153,0),(154,0),(155,0),(156,0),(157,0),(158,0),(159,0),(160,0),(161,0),(162,0),(163,0),(164,0),(165,0),(166,0),(167,0),(168,0),(169,0),(170,0),(171,0),(172,0),(173,0),(174,0),(175,0),(176,0),(177,0),(178,0),(179,0),(180,0),(181,0),(182,0),(183,0),(184,0),(185,0),(186,0),(187,0),(188,0),(189,0),(190,0),(191,0),(192,0),(193,0),(194,0),(195,0),(196,0),(197,0),(198,0),(199,0),(200,0),(201,0),(202,0),(203,0),(204,0),(205,0),(206,0),(207,0),(208,0),(209,0),(210,0),(211,0),(212,0),(213,0),(214,0),(215,0),(216,0),(217,0),(218,0),(219,0),(220,0),(221,0),(222,0),(223,0),(224,0),(225,0),(226,0),(227,0),(228,0),(229,0),(230,0),(231,0),(232,0),(233,0),(234,0),(235,0),(236,0),(237,0),(238,0),(239,0),(240,0),(241,0),(242,0),(243,0),(244,0),(245,0),(246,0),(247,0),(248,0),(249,0),(250,0),(251,0),(252,0),(253,0),(254,0),(255,0),(256,0),(257,0),(258,0),(259,0),(260,0),(261,0),(262,0),(263,0),(264,0),(265,0),(266,0),(267,0),(268,0),(269,0),(270,0),(271,0),(272,0),(273,0),(274,0),(275,0),(276,0),(277,0),(278,0),(279,0),(280,0),(281,0),(282,0),(283,0),(284,0),(285,0),(286,0),(287,0),(288,0),(289,0),(290,0),(291,0),(292,0),(293,0),(294,0),(295,0),(296,0),(297,0),(298,0),(299,0),(300,0),(301,0),(302,0),(303,0),(304,0),(305,0),(306,0),(307,0),(308,0),(309,0),(310,0),(311,0),(312,0),(313,0),(314,0),(315,0),(316,0),(317,0),(318,0),(319,0),(320,0),(321,0),(322,0),(323,0),(324,0),(325,0),(326,0),(327,0),(328,0),(329,0),(330,0),(331,0),(332,0),(333,0),(334,0),(335,0),(336,0),(337,0),(338,0),(339,0),(340,0),(341,0),(342,0),(343,0),(344,0),(345,0),(346,0),(1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1),(11,1),(12,1),(13,1),(14,1),(15,1),(16,1),(17,1),(18,1),(19,1),(20,1),(21,1),(22,1),(23,1),(24,1),(25,1),(26,1),(27,1),(28,1),(29,1),(30,1),(31,1),(32,1),(33,1),(34,1),(35,1),(36,1),(37,1),(38,1),(39,1),(40,1),(41,1),(42,1),(43,1),(44,1),(45,1),(46,1),(47,1),(48,1),(49,1),(50,1),(51,1),(52,1),(53,1),(54,1),(55,1),(56,1),(57,1),(58,1),(59,1),(60,1),(61,1),(62,1),(63,1),(64,1),(65,1),(66,1),(67,1),(68,1),(69,1),(70,1),(71,1),(72,1),(73,1),(74,1),(75,1),(76,1),(77,1),(78,1),(79,1),(80,1),(81,1),(82,1),(83,1),(84,1),(85,1),(86,1),(87,1),(88,1),(89,1),(90,1),(91,1),(92,1),(93,1),(94,1),(95,1),(96,1),(97,1),(98,1),(99,1),(100,1),(101,1),(102,1),(103,1),(104,1),(105,1),(106,1),(107,1),(108,1),(109,1),(110,1),(111,1),(112,1),(113,1),(114,1),(115,1),(116,1),(117,1),(118,1),(119,1),(120,1),(121,1),(122,1),(123,1),(124,1),(125,1),(126,1),(127,1),(128,1),(129,1),(130,1),(131,1),(132,1),(133,1),(134,1),(135,1),(136,1),(137,1),(138,1),(139,1),(140,1),(141,1),(142,1),(143,1),(144,1),(145,1),(146,1),(147,1),(148,1),(149,1),(150,1),(151,1),(152,1),(153,1),(154,1),(155,1),(156,1),(157,1),(158,1),(159,1),(160,1),(161,1),(162,1),(163,1),(164,1),(165,1),(166,1),(167,1),(168,1),(169,1),(170,1),(171,1),(172,1),(173,1),(174,1),(175,1),(176,1),(177,1),(178,1),(179,1),(180,1),(181,1),(182,1),(183,1),(184,1),(185,1),(186,1),(187,1),(188,1),(189,1),(190,1),(191,1),(192,1),(193,1),(194,1),(195,1),(196,1),(197,1),(198,1),(199,1),(200,1),(201,1),(202,1),(203,1),(204,1),(205,1),(206,1),(207,1),(208,1),(209,1),(210,1),(211,1),(212,1),(213,1),(214,1),(215,1),(216,1),(217,1),(218,1),(219,1),(220,1),(221,1),(222,1),(223,1),(224,1),(225,1),(226,1),(227,1),(228,1),(229,1),(230,1),(231,1),(232,1),(233,1),(234,1),(235,1),(236,1),(237,1),(238,1),(239,1),(240,1),(241,1),(242,1),(243,1),(244,1),(245,1),(246,1),(247,1),(248,1),(249,1),(250,1),(251,1),(252,1),(253,1),(254,1),(255,1),(256,1),(257,1),(258,1),(259,1),(260,1),(261,1),(262,1),(263,1),(264,1),(265,1),(266,1),(267,1),(268,1),(269,1),(270,1),(271,1),(272,1),(273,1),(274,1),(275,1),(276,1),(277,1),(278,1),(279,1),(280,1),(281,1),(282,1),(283,1),(284,1),(285,1),(286,1),(287,1),(288,1),(289,1),(290,1),(291,1),(292,1),(293,1),(294,1),(295,1),(296,1),(297,1),(298,1),(299,1),(300,1),(301,1),(302,1),(303,1),(304,1),(305,1),(306,1),(307,1),(308,1),(309,1),(310,1),(311,1),(312,1),(313,1),(314,1),(315,1),(316,1),(317,1),(318,1),(319,1),(320,1),(321,1),(322,1),(323,1),(324,1),(325,1),(326,1),(327,1),(328,1),(329,1),(330,1),(331,1),(332,1),(333,1),(334,1),(335,1),(336,1),(337,1),(338,1),(339,1),(340,1),(341,1),(342,1),(343,1),(344,1),(345,1),(346,1);

--
-- Table structure for table `sales_bestsellers_aggregated_daily`
--

CREATE TABLE `sales_bestsellers_aggregated_daily` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `product_name` varchar(255) DEFAULT NULL COMMENT 'Product Name',
  `product_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Product Price',
  `qty_ordered` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty Ordered',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_BESTSELLERS_AGGREGATED_DAILY_PERIOD_STORE_ID_PRODUCT_ID` (`period`,`store_id`,`product_id`),
  KEY `SALES_BESTSELLERS_AGGREGATED_DAILY_STORE_ID` (`store_id`),
  KEY `SALES_BESTSELLERS_AGGREGATED_DAILY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `SALES_BESTSELLERS_AGGREGATED_DAILY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Daily';

--
-- Dumping data for table `sales_bestsellers_aggregated_daily`
--


--
-- Table structure for table `sales_bestsellers_aggregated_monthly`
--

CREATE TABLE `sales_bestsellers_aggregated_monthly` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `product_name` varchar(255) DEFAULT NULL COMMENT 'Product Name',
  `product_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Product Price',
  `qty_ordered` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty Ordered',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_BESTSELLERS_AGGREGATED_MONTHLY_PERIOD_STORE_ID_PRODUCT_ID` (`period`,`store_id`,`product_id`),
  KEY `SALES_BESTSELLERS_AGGREGATED_MONTHLY_STORE_ID` (`store_id`),
  KEY `SALES_BESTSELLERS_AGGREGATED_MONTHLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `SALES_BESTSELLERS_AGGREGATED_MONTHLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Monthly';

--
-- Dumping data for table `sales_bestsellers_aggregated_monthly`
--


--
-- Table structure for table `sales_bestsellers_aggregated_yearly`
--

CREATE TABLE `sales_bestsellers_aggregated_yearly` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `product_name` varchar(255) DEFAULT NULL COMMENT 'Product Name',
  `product_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Product Price',
  `qty_ordered` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty Ordered',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_BESTSELLERS_AGGREGATED_YEARLY_PERIOD_STORE_ID_PRODUCT_ID` (`period`,`store_id`,`product_id`),
  KEY `SALES_BESTSELLERS_AGGREGATED_YEARLY_STORE_ID` (`store_id`),
  KEY `SALES_BESTSELLERS_AGGREGATED_YEARLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `SALES_BESTSELLERS_AGGREGATED_YEARLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Yearly';

--
-- Dumping data for table `sales_bestsellers_aggregated_yearly`
--


--
-- Table structure for table `sales_creditmemo`
--

CREATE TABLE `sales_creditmemo` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `adjustment_positive` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment Positive',
  `base_shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `store_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Order Rate',
  `base_discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `base_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Order Rate',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `base_adjustment_negative` decimal(20,4) DEFAULT NULL COMMENT 'Base Adjustment Negative',
  `base_subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal Incl Tax',
  `shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `adjustment_negative` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment Negative',
  `base_shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `store_to_base_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Base Rate',
  `base_to_global_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Global Rate',
  `base_adjustment` decimal(20,4) DEFAULT NULL COMMENT 'Base Adjustment',
  `base_subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal',
  `discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Amount',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `adjustment` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment',
  `base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `base_adjustment_positive` decimal(20,4) DEFAULT NULL COMMENT 'Base Adjustment Positive',
  `base_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Amount',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `email_sent` smallint(5) unsigned DEFAULT NULL COMMENT 'Email Sent',
  `send_email` smallint(5) unsigned DEFAULT NULL COMMENT 'Send Email',
  `creditmemo_status` int(11) DEFAULT NULL COMMENT 'Creditmemo Status',
  `state` int(11) DEFAULT NULL COMMENT 'State',
  `shipping_address_id` int(11) DEFAULT NULL COMMENT 'Shipping Address ID',
  `billing_address_id` int(11) DEFAULT NULL COMMENT 'Billing Address ID',
  `invoice_id` int(11) DEFAULT NULL COMMENT 'Invoice ID',
  `store_currency_code` varchar(3) DEFAULT NULL COMMENT 'Store Currency Code',
  `order_currency_code` varchar(3) DEFAULT NULL COMMENT 'Order Currency Code',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `global_currency_code` varchar(3) DEFAULT NULL COMMENT 'Global Currency Code',
  `transaction_id` varchar(255) DEFAULT NULL COMMENT 'Transaction ID',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `shipping_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Discount Tax Compensation Amount',
  `base_shipping_discount_tax_compensation_amnt` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Discount Tax Compensation Amount',
  `shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Incl Tax',
  `base_shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Incl Tax',
  `discount_description` varchar(255) DEFAULT NULL COMMENT 'Discount Description',
  `customer_note` text COMMENT 'Customer Note',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_CREDITMEMO_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_CREDITMEMO_STORE_ID` (`store_id`),
  KEY `SALES_CREDITMEMO_ORDER_ID` (`order_id`),
  KEY `SALES_CREDITMEMO_CREDITMEMO_STATUS` (`creditmemo_status`),
  KEY `SALES_CREDITMEMO_STATE` (`state`),
  KEY `SALES_CREDITMEMO_CREATED_AT` (`created_at`),
  KEY `SALES_CREDITMEMO_UPDATED_AT` (`updated_at`),
  KEY `SALES_CREDITMEMO_SEND_EMAIL` (`send_email`),
  KEY `SALES_CREDITMEMO_EMAIL_SENT` (`email_sent`),
  CONSTRAINT `SALES_CREDITMEMO_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_CREDITMEMO_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo';

--
-- Dumping data for table `sales_creditmemo`
--

INSERT INTO `sales_creditmemo` VALUES (1,1,NULL,0.0000,0.0000,0.0000,1.0000,39.6400,NULL,34.6400,5.0000,34.6400,NULL,5.0000,0.0000,1.0000,0.0000,32.0000,0.0000,32.0000,0.0000,39.6400,NULL,2.6400,0.0000,2.6400,2,NULL,NULL,NULL,2,3,4,NULL,'USD','USD','USD','USD',NULL,'000000001','2022-08-10 15:31:36','2022-08-10 15:31:36',0.0000,0.0000,NULL,NULL,5.0000,5.0000,NULL,NULL,NULL);

--
-- Table structure for table `sales_creditmemo_comment`
--

CREATE TABLE `sales_creditmemo_comment` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `is_customer_notified` int(11) DEFAULT NULL COMMENT 'Is Customer Notified',
  `is_visible_on_front` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Visible On Front',
  `comment` text COMMENT 'Comment',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_CREDITMEMO_COMMENT_CREATED_AT` (`created_at`),
  KEY `SALES_CREDITMEMO_COMMENT_PARENT_ID` (`parent_id`),
  CONSTRAINT `SALES_CREDITMEMO_COMMENT_PARENT_ID_SALES_CREDITMEMO_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_creditmemo` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo Comment';

--
-- Dumping data for table `sales_creditmemo_comment`
--


--
-- Table structure for table `sales_creditmemo_grid`
--

CREATE TABLE `sales_creditmemo_grid` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `order_increment_id` varchar(50) DEFAULT NULL COMMENT 'Order Increment ID',
  `order_created_at` timestamp NULL DEFAULT NULL COMMENT 'Order Created At',
  `billing_name` varchar(255) DEFAULT NULL COMMENT 'Billing Name',
  `state` int(11) DEFAULT NULL COMMENT 'Status',
  `base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `order_status` varchar(32) DEFAULT NULL COMMENT 'Order Status',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `billing_address` varchar(255) DEFAULT NULL COMMENT 'Billing Address',
  `shipping_address` varchar(255) DEFAULT NULL COMMENT 'Shipping Address',
  `customer_name` varchar(128) NOT NULL COMMENT 'Customer Name',
  `customer_email` varchar(128) DEFAULT NULL COMMENT 'Customer Email',
  `customer_group_id` smallint(6) DEFAULT NULL COMMENT 'Customer Group ID',
  `payment_method` varchar(32) DEFAULT NULL COMMENT 'Payment Method',
  `shipping_information` varchar(255) DEFAULT NULL COMMENT 'Shipping Method Name',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(20,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `adjustment_positive` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment Positive',
  `adjustment_negative` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment Negative',
  `order_base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Order Grand Total',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_CREDITMEMO_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_CREDITMEMO_GRID_ORDER_INCREMENT_ID` (`order_increment_id`),
  KEY `SALES_CREDITMEMO_GRID_CREATED_AT` (`created_at`),
  KEY `SALES_CREDITMEMO_GRID_UPDATED_AT` (`updated_at`),
  KEY `SALES_CREDITMEMO_GRID_ORDER_CREATED_AT` (`order_created_at`),
  KEY `SALES_CREDITMEMO_GRID_STATE` (`state`),
  KEY `SALES_CREDITMEMO_GRID_BILLING_NAME` (`billing_name`),
  KEY `SALES_CREDITMEMO_GRID_ORDER_STATUS` (`order_status`),
  KEY `SALES_CREDITMEMO_GRID_BASE_GRAND_TOTAL` (`base_grand_total`),
  KEY `SALES_CREDITMEMO_GRID_STORE_ID` (`store_id`),
  KEY `SALES_CREDITMEMO_GRID_ORDER_BASE_GRAND_TOTAL` (`order_base_grand_total`),
  KEY `SALES_CREDITMEMO_GRID_ORDER_ID` (`order_id`),
  FULLTEXT KEY `FTI_32B7BA885941A8254EE84AE650ABDC86` (`increment_id`,`order_increment_id`,`billing_name`,`billing_address`,`shipping_address`,`customer_name`,`customer_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo Grid';

--
-- Dumping data for table `sales_creditmemo_grid`
--

INSERT INTO `sales_creditmemo_grid` VALUES (1,'000000001','2022-08-10 15:31:36','2022-08-10 15:31:36',2,'000000002','2022-08-10 15:31:36','Veronica Costello',2,39.6400,'closed',1,'6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Veronica Costello','roni_cost@example.com',1,'checkmo','Flat Rate - Fixed',32.0000,5.0000,NULL,NULL,39.6400);

--
-- Table structure for table `sales_creditmemo_item`
--

CREATE TABLE `sales_creditmemo_item` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `base_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Price',
  `tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Tax Amount',
  `base_row_total` decimal(12,4) DEFAULT NULL COMMENT 'Base Row Total',
  `discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Amount',
  `row_total` decimal(12,4) DEFAULT NULL COMMENT 'Row Total',
  `base_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `price_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Price Incl Tax',
  `base_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `base_price_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Price Incl Tax',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `base_cost` decimal(12,4) DEFAULT NULL COMMENT 'Base Cost',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `base_row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Row Total Incl Tax',
  `row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Row Total Incl Tax',
  `product_id` int(11) DEFAULT NULL COMMENT 'Product ID',
  `order_item_id` int(11) DEFAULT NULL COMMENT 'Order Item ID',
  `additional_data` text COMMENT 'Additional Data',
  `description` text COMMENT 'Description',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `tax_ratio` text COMMENT 'Ratio of tax in the creditmemo item over tax of the order item',
  `weee_tax_applied` text COMMENT 'Weee Tax Applied',
  `weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Amount',
  `weee_tax_applied_row_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Row Amount',
  `weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Disposition',
  `weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Row Disposition',
  `base_weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Amount',
  `base_weee_tax_applied_row_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Row Amnt',
  `base_weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Disposition',
  `base_weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Row Disposition',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_CREDITMEMO_ITEM_PARENT_ID` (`parent_id`),
  CONSTRAINT `SALES_CREDITMEMO_ITEM_PARENT_ID_SALES_CREDITMEMO_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_creditmemo` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo Item';

--
-- Dumping data for table `sales_creditmemo_item`
--

INSERT INTO `sales_creditmemo_item` VALUES (1,1,32.0000,2.6400,32.0000,NULL,32.0000,NULL,34.6400,2.6400,34.6400,1.0000,NULL,32.0000,34.6400,34.6400,1498,2,NULL,NULL,'WS08-XS-Blue','Minerva LumaTech&trade; V-Tee',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000);

--
-- Table structure for table `sales_invoice`
--

CREATE TABLE `sales_invoice` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Amount',
  `base_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `store_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Order Rate',
  `base_shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `base_discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `base_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Order Rate',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `base_subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal Incl Tax',
  `store_to_base_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Base Rate',
  `base_shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `total_qty` decimal(12,4) DEFAULT NULL COMMENT 'Total Qty',
  `base_to_global_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Global Rate',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `base_subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal',
  `discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Amount',
  `billing_address_id` int(11) DEFAULT NULL COMMENT 'Billing Address ID',
  `is_used_for_refund` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Used For Refund',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `email_sent` smallint(5) unsigned DEFAULT NULL COMMENT 'Email Sent',
  `send_email` smallint(5) unsigned DEFAULT NULL COMMENT 'Send Email',
  `can_void_flag` smallint(5) unsigned DEFAULT NULL COMMENT 'Can Void Flag',
  `state` int(11) DEFAULT NULL COMMENT 'State',
  `shipping_address_id` int(11) DEFAULT NULL COMMENT 'Shipping Address ID',
  `store_currency_code` varchar(3) DEFAULT NULL COMMENT 'Store Currency Code',
  `transaction_id` varchar(255) DEFAULT NULL COMMENT 'Transaction ID',
  `order_currency_code` varchar(3) DEFAULT NULL COMMENT 'Order Currency Code',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `global_currency_code` varchar(3) DEFAULT NULL COMMENT 'Global Currency Code',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `shipping_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Discount Tax Compensation Amount',
  `base_shipping_discount_tax_compensation_amnt` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Discount Tax Compensation Amount',
  `shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Incl Tax',
  `base_shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Incl Tax',
  `base_total_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Total Refunded',
  `discount_description` varchar(255) DEFAULT NULL COMMENT 'Discount Description',
  `customer_note` text COMMENT 'Customer Note',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  `order_type` varchar(255) DEFAULT NULL COMMENT 'Note',
  `id_subscription` varchar(255) DEFAULT NULL COMMENT 'subscription id',
  `month_subscription` varchar(255) DEFAULT NULL COMMENT 'subscription month',
  `total_month` varchar(255) DEFAULT NULL COMMENT 'total month',
  `start_date` varchar(255) DEFAULT NULL COMMENT 'start date',
  `end_date` varchar(255) DEFAULT NULL COMMENT 'end date',
  `expire_sub` varchar(255) DEFAULT NULL COMMENT 'end date',
  `end_due` varchar(255) DEFAULT NULL COMMENT 'end due',
  `review_email` varchar(255) DEFAULT NULL COMMENT 'Review Email',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_INVOICE_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_INVOICE_STORE_ID` (`store_id`),
  KEY `SALES_INVOICE_GRAND_TOTAL` (`grand_total`),
  KEY `SALES_INVOICE_ORDER_ID` (`order_id`),
  KEY `SALES_INVOICE_STATE` (`state`),
  KEY `SALES_INVOICE_CREATED_AT` (`created_at`),
  KEY `SALES_INVOICE_UPDATED_AT` (`updated_at`),
  KEY `SALES_INVOICE_SEND_EMAIL` (`send_email`),
  KEY `SALES_INVOICE_EMAIL_SENT` (`email_sent`),
  CONSTRAINT `SALES_INVOICE_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_INVOICE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice';

--
-- Dumping data for table `sales_invoice`
--

INSERT INTO `sales_invoice` VALUES (5,1,2450.0000,6.5300,319.5700,319.5700,0.0000,6.5300,-600.0000,1.0000,2450.0000,43.4700,3000.0000,3000.0000,0.0000,43.4700,1.0000,1.0000,2608.7000,2608.7000,-600.0000,10,NULL,5,NULL,NULL,0,2,9,'SAR',NULL,'SAR','SAR','SAR','000000005','2022-10-09 23:03:59','2022-10-09 23:03:59',78.2600,78.2600,0.0000,0.0000,50.0000,50.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `sales_invoice_comment`
--

CREATE TABLE `sales_invoice_comment` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `is_customer_notified` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Customer Notified',
  `is_visible_on_front` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Visible On Front',
  `comment` text COMMENT 'Comment',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_INVOICE_COMMENT_CREATED_AT` (`created_at`),
  KEY `SALES_INVOICE_COMMENT_PARENT_ID` (`parent_id`),
  CONSTRAINT `SALES_INVOICE_COMMENT_PARENT_ID_SALES_INVOICE_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_invoice` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice Comment';

--
-- Dumping data for table `sales_invoice_comment`
--


--
-- Table structure for table `sales_invoice_grid`
--

CREATE TABLE `sales_invoice_grid` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `state` int(11) DEFAULT NULL COMMENT 'State',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `store_name` varchar(255) DEFAULT NULL COMMENT 'Store Name',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `order_increment_id` varchar(50) DEFAULT NULL COMMENT 'Order Increment ID',
  `order_created_at` timestamp NULL DEFAULT NULL COMMENT 'Order Created At',
  `customer_name` varchar(255) DEFAULT NULL COMMENT 'Customer Name',
  `customer_email` varchar(255) DEFAULT NULL COMMENT 'Customer Email',
  `customer_group_id` int(11) DEFAULT NULL,
  `payment_method` varchar(128) DEFAULT NULL COMMENT 'Payment Method',
  `store_currency_code` varchar(3) DEFAULT NULL COMMENT 'Store Currency Code',
  `order_currency_code` varchar(3) DEFAULT NULL COMMENT 'Order Currency Code',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `global_currency_code` varchar(3) DEFAULT NULL COMMENT 'Global Currency Code',
  `billing_name` varchar(255) DEFAULT NULL COMMENT 'Billing Name',
  `billing_address` varchar(255) DEFAULT NULL COMMENT 'Billing Address',
  `shipping_address` varchar(255) DEFAULT NULL COMMENT 'Shipping Address',
  `shipping_information` varchar(255) DEFAULT NULL COMMENT 'Shipping Method Name',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(20,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
  `base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_INVOICE_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_INVOICE_GRID_STORE_ID` (`store_id`),
  KEY `SALES_INVOICE_GRID_GRAND_TOTAL` (`grand_total`),
  KEY `SALES_INVOICE_GRID_ORDER_ID` (`order_id`),
  KEY `SALES_INVOICE_GRID_STATE` (`state`),
  KEY `SALES_INVOICE_GRID_ORDER_INCREMENT_ID` (`order_increment_id`),
  KEY `SALES_INVOICE_GRID_CREATED_AT` (`created_at`),
  KEY `SALES_INVOICE_GRID_UPDATED_AT` (`updated_at`),
  KEY `SALES_INVOICE_GRID_ORDER_CREATED_AT` (`order_created_at`),
  KEY `SALES_INVOICE_GRID_BILLING_NAME` (`billing_name`),
  KEY `SALES_INVOICE_GRID_BASE_GRAND_TOTAL` (`base_grand_total`),
  FULLTEXT KEY `FTI_95D9C924DD6A8734EB8B5D01D60F90DE` (`increment_id`,`order_increment_id`,`billing_name`,`billing_address`,`shipping_address`,`customer_name`,`customer_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice Grid';

--
-- Dumping data for table `sales_invoice_grid`
--

INSERT INTO `sales_invoice_grid` VALUES (5,'000000005',2,1,'Main Website\nMain Website Store\nEnglish - EN',5,'000000005','2022-10-09 23:00:11','moh shab','mohammad.shabaan@gmail.com',0,'checkmo','SAR','SAR','SAR','SAR','moh shab','jijij,OIJIO,sharq,15300','jijij,OIJIO,sharq,15300','Flat Rate - Fixed',2608.7000,43.4700,2450.0000,'2022-10-09 23:03:59','2022-10-09 23:03:59',2450.0000);

--
-- Table structure for table `sales_invoice_item`
--

CREATE TABLE `sales_invoice_item` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `base_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Price',
  `tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Tax Amount',
  `base_row_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Row Total',
  `discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Amount',
  `row_total` decimal(20,4) DEFAULT NULL COMMENT 'Row Total',
  `base_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `price_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Price Incl Tax',
  `base_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `base_price_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Price Incl Tax',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `base_cost` decimal(12,4) DEFAULT NULL COMMENT 'Base Cost',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `base_row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Row Total Incl Tax',
  `row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Row Total Incl Tax',
  `product_id` int(11) DEFAULT NULL COMMENT 'Product ID',
  `order_item_id` int(11) DEFAULT NULL COMMENT 'Order Item ID',
  `additional_data` text COMMENT 'Additional Data',
  `description` text COMMENT 'Description',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `tax_ratio` text COMMENT 'Ratio of tax invoiced over tax of the order item',
  `weee_tax_applied` text COMMENT 'Weee Tax Applied',
  `weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Amount',
  `weee_tax_applied_row_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Row Amount',
  `weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Disposition',
  `weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Row Disposition',
  `base_weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Amount',
  `base_weee_tax_applied_row_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Row Amnt',
  `base_weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Disposition',
  `base_weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Row Disposition',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_INVOICE_ITEM_PARENT_ID` (`parent_id`),
  CONSTRAINT `SALES_INVOICE_ITEM_PARENT_ID_SALES_INVOICE_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_invoice` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice Item';

--
-- Dumping data for table `sales_invoice_item`
--

INSERT INTO `sales_invoice_item` VALUES (5,5,2608.7000,313.0400,2608.7000,600.0000,2608.7000,600.0000,3000.0000,313.0400,3000.0000,1.0000,NULL,2608.7000,3000.0000,3000.0000,3671,5,NULL,NULL,'Byne System-1-1-1-1-1','Byne System',78.2600,78.2600,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000);

--
-- Table structure for table `sales_invoiced_aggregated`
--

CREATE TABLE `sales_invoiced_aggregated` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) DEFAULT NULL COMMENT 'Order Status',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `orders_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Orders Invoiced',
  `invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Invoiced',
  `invoiced_captured` decimal(12,4) DEFAULT NULL COMMENT 'Invoiced Captured',
  `invoiced_not_captured` decimal(12,4) DEFAULT NULL COMMENT 'Invoiced Not Captured',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_INVOICED_AGGREGATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `SALES_INVOICED_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_INVOICED_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Invoiced Aggregated';

--
-- Dumping data for table `sales_invoiced_aggregated`
--


--
-- Table structure for table `sales_invoiced_aggregated_order`
--

CREATE TABLE `sales_invoiced_aggregated_order` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) NOT NULL COMMENT 'Order Status',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `orders_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Orders Invoiced',
  `invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Invoiced',
  `invoiced_captured` decimal(12,4) DEFAULT NULL COMMENT 'Invoiced Captured',
  `invoiced_not_captured` decimal(12,4) DEFAULT NULL COMMENT 'Invoiced Not Captured',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_INVOICED_AGGREGATED_ORDER_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `SALES_INVOICED_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_INVOICED_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Invoiced Aggregated Order';

--
-- Dumping data for table `sales_invoiced_aggregated_order`
--


--
-- Table structure for table `sales_order_address`
--

CREATE TABLE `sales_order_address` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent ID',
  `customer_address_id` int(11) DEFAULT NULL COMMENT 'Customer Address ID',
  `quote_address_id` int(11) DEFAULT NULL COMMENT 'Quote Address ID',
  `region_id` int(11) DEFAULT NULL COMMENT 'Region ID',
  `customer_id` int(11) DEFAULT NULL COMMENT 'Customer ID',
  `fax` varchar(255) DEFAULT NULL COMMENT 'Fax',
  `region` varchar(255) DEFAULT NULL COMMENT 'Region',
  `postcode` varchar(255) DEFAULT NULL COMMENT 'Postcode',
  `lastname` varchar(255) DEFAULT NULL COMMENT 'Lastname',
  `street` varchar(255) DEFAULT NULL COMMENT 'Street',
  `city` varchar(255) DEFAULT NULL COMMENT 'City',
  `email` varchar(255) DEFAULT NULL COMMENT 'Email',
  `telephone` varchar(255) DEFAULT NULL COMMENT 'Phone Number',
  `country_id` varchar(2) DEFAULT NULL COMMENT 'Country ID',
  `firstname` varchar(255) DEFAULT NULL COMMENT 'Firstname',
  `address_type` varchar(255) DEFAULT NULL COMMENT 'Address Type',
  `prefix` varchar(255) DEFAULT NULL COMMENT 'Prefix',
  `middlename` varchar(255) DEFAULT NULL COMMENT 'Middlename',
  `suffix` varchar(255) DEFAULT NULL COMMENT 'Suffix',
  `company` varchar(255) DEFAULT NULL COMMENT 'Company',
  `vat_id` text COMMENT 'Vat ID',
  `vat_is_valid` smallint(6) DEFAULT NULL COMMENT 'Vat Is Valid',
  `vat_request_id` text COMMENT 'Vat Request ID',
  `vat_request_date` text COMMENT 'Vat Request Date',
  `vat_request_success` smallint(6) DEFAULT NULL COMMENT 'Vat Request Success',
  `vertex_vat_country_code` varchar(255) DEFAULT NULL COMMENT 'Vertex Customer Vat Country',
  `latitude` decimal(10,4) DEFAULT NULL COMMENT 'latitude of address',
  `longitude` decimal(10,4) DEFAULT NULL COMMENT 'longitude of address',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_ORDER_ADDRESS_PARENT_ID` (`parent_id`),
  CONSTRAINT `SALES_ORDER_ADDRESS_PARENT_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Address';

--
-- Dumping data for table `sales_order_address`
--

INSERT INTO `sales_order_address` VALUES (1,1,1,2,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,1,1,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,2,1,4,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,2,1,3,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,3,NULL,22,NULL,NULL,NULL,'saudi','15300','shaban','saudi\nsaudi','riydah','mohammad.shabaan@gmail.com','90025529','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,3,NULL,23,NULL,NULL,NULL,'saudi','15300','shaban','saudi\nsaudi','riydah','mohammad.shabaan@gmail.com','90025529','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,4,NULL,25,NULL,NULL,NULL,'ku','15300','test','test\nsbn','ku','sbn@test.com','90025592','SA','sbn','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,4,NULL,26,NULL,NULL,NULL,'ku','15300','test','test\nsbn','ku','sbn@test.com','90025592','SA','sbn','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,5,NULL,36,NULL,NULL,NULL,'sharq','15300','shab','jijij','OIJIO','mohammad.shabaan@gmail.com','90025529','SA','moh','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,5,NULL,37,NULL,NULL,NULL,'sharq','15300','shab','jijij','OIJIO','mohammad.shabaan@gmail.com','90025529','SA','moh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `sales_order_aggregated_created`
--

CREATE TABLE `sales_order_aggregated_created` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) NOT NULL COMMENT 'Order Status',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `total_qty_ordered` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Qty Ordered',
  `total_qty_invoiced` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Qty Invoiced',
  `total_income_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Income Amount',
  `total_revenue_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Revenue Amount',
  `total_profit_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Profit Amount',
  `total_invoiced_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Invoiced Amount',
  `total_canceled_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Canceled Amount',
  `total_paid_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Paid Amount',
  `total_refunded_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Refunded Amount',
  `total_tax_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount',
  `total_tax_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount Actual',
  `total_shipping_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount',
  `total_shipping_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount Actual',
  `total_discount_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount',
  `total_discount_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_ORDER_AGGREGATED_CREATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `SALES_ORDER_AGGREGATED_CREATED_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_ORDER_AGGREGATED_CREATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Aggregated Created';

--
-- Dumping data for table `sales_order_aggregated_created`
--


--
-- Table structure for table `sales_order_aggregated_updated`
--

CREATE TABLE `sales_order_aggregated_updated` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) NOT NULL COMMENT 'Order Status',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `total_qty_ordered` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Qty Ordered',
  `total_qty_invoiced` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Qty Invoiced',
  `total_income_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Income Amount',
  `total_revenue_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Revenue Amount',
  `total_profit_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Profit Amount',
  `total_invoiced_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Invoiced Amount',
  `total_canceled_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Canceled Amount',
  `total_paid_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Paid Amount',
  `total_refunded_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Refunded Amount',
  `total_tax_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount',
  `total_tax_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount Actual',
  `total_shipping_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount',
  `total_shipping_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount Actual',
  `total_discount_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount',
  `total_discount_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_ORDER_AGGREGATED_UPDATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `SALES_ORDER_AGGREGATED_UPDATED_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_ORDER_AGGREGATED_UPDATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Aggregated Updated';

--
-- Dumping data for table `sales_order_aggregated_updated`
--


--
-- Table structure for table `sales_order_grid`
--

CREATE TABLE `sales_order_grid` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `status` varchar(32) DEFAULT NULL COMMENT 'Status',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `store_name` varchar(255) DEFAULT NULL COMMENT 'Store Name',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer ID',
  `base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `base_total_paid` decimal(20,4) DEFAULT NULL COMMENT 'Base Total Paid',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `total_paid` decimal(20,4) DEFAULT NULL COMMENT 'Total Paid',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `order_currency_code` varchar(255) DEFAULT NULL COMMENT 'Order Currency Code',
  `shipping_name` varchar(255) DEFAULT NULL COMMENT 'Shipping Name',
  `billing_name` varchar(255) DEFAULT NULL COMMENT 'Billing Name',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
  `billing_address` varchar(255) DEFAULT NULL COMMENT 'Billing Address',
  `shipping_address` varchar(255) DEFAULT NULL COMMENT 'Shipping Address',
  `shipping_information` varchar(255) DEFAULT NULL COMMENT 'Shipping Method Name',
  `customer_email` varchar(255) DEFAULT NULL COMMENT 'Customer Email',
  `customer_group` varchar(255) DEFAULT NULL COMMENT 'Customer Group',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(20,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `customer_name` varchar(255) DEFAULT NULL COMMENT 'Customer Name',
  `payment_method` varchar(255) DEFAULT NULL COMMENT 'Payment Method',
  `total_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Total Refunded',
  `pickup_location_code` varchar(255) DEFAULT NULL COMMENT 'Pickup Location Code',
  `id_subscription` varchar(255) DEFAULT NULL COMMENT 'subscription id',
  `month_subscription` varchar(255) DEFAULT NULL COMMENT 'subscription month',
  `total_month` varchar(255) DEFAULT NULL COMMENT 'total month',
  `start_date` varchar(255) DEFAULT NULL COMMENT 'start date',
  `end_date` varchar(255) DEFAULT NULL COMMENT 'end date',
  `expire_sub` varchar(255) DEFAULT NULL COMMENT 'end date',
  `end_due` varchar(255) DEFAULT NULL COMMENT 'end due',
  `review_email` varchar(255) DEFAULT NULL COMMENT 'Review Email',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_ORDER_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_ORDER_GRID_STATUS` (`status`),
  KEY `SALES_ORDER_GRID_STORE_ID` (`store_id`),
  KEY `SALES_ORDER_GRID_BASE_GRAND_TOTAL` (`base_grand_total`),
  KEY `SALES_ORDER_GRID_BASE_TOTAL_PAID` (`base_total_paid`),
  KEY `SALES_ORDER_GRID_GRAND_TOTAL` (`grand_total`),
  KEY `SALES_ORDER_GRID_TOTAL_PAID` (`total_paid`),
  KEY `SALES_ORDER_GRID_SHIPPING_NAME` (`shipping_name`),
  KEY `SALES_ORDER_GRID_BILLING_NAME` (`billing_name`),
  KEY `SALES_ORDER_GRID_CREATED_AT` (`created_at`),
  KEY `SALES_ORDER_GRID_CUSTOMER_ID` (`customer_id`),
  KEY `SALES_ORDER_GRID_UPDATED_AT` (`updated_at`),
  KEY `SALES_ORDER_GRID_PICKUP_LOCATION_CODE` (`pickup_location_code`),
  FULLTEXT KEY `FTI_65B9E9925EC58F0C7C2E2F6379C233E7` (`increment_id`,`billing_name`,`shipping_name`,`shipping_address`,`billing_address`,`customer_name`,`customer_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Grid';

--
-- Dumping data for table `sales_order_grid`
--

INSERT INTO `sales_order_grid` VALUES (1,'processing',1,'Main Website\nMain Website Store\nDefault Store View',1,36.3900,36.3900,36.3900,36.3900,'000000001','USD','USD','Veronica Costello','Veronica Costello','2022-08-10 15:31:35','2022-08-10 15:31:36','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Flat Rate - Fixed','roni_cost@example.com','1',29.0000,5.0000,'Veronica Costello','checkmo',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,'closed',1,'Main Website\nMain Website Store\nDefault Store View',1,39.6400,39.6400,39.6400,39.6400,'000000002','USD','USD','Veronica Costello','Veronica Costello','2022-08-10 15:31:36','2022-08-10 15:31:36','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Flat Rate - Fixed','roni_cost@example.com','1',32.0000,5.0000,'Veronica Costello','checkmo',39.6400,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,'processing',1,'Main Website\nMain Website Store\nEnglish - EN',NULL,2450.0000,2450.0000,2450.0000,2450.0000,'000000003','SAR','SAR','mohamed shaban','mohamed shaban','2022-10-05 11:23:06','2022-10-05 14:49:56','saudi\nsaudi,riydah,saudi,15300','saudi\nsaudi,riydah,saudi,15300','Flat Rate - Fixed','mohammad.shabaan@gmail.com',NULL,2608.7000,43.4700,'mohamed shaban','checkmo',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,'processing',1,'Main Website\nMain Website Store\nEnglish - EN',NULL,4850.0000,4850.0000,4850.0000,4850.0000,'000000004','SAR','SAR','sbn test','sbn test','2022-10-05 16:38:26','2022-10-09 12:37:05','test\nsbn,ku,ku,15300','test\nsbn,ku,ku,15300','Flat Rate - Fixed','sbn@test.com',NULL,5217.3900,43.4800,'sbn test','banktransfer',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,'processing',1,'Main Website\nMain Website Store\nEnglish - EN',NULL,2450.0000,2450.0000,2450.0000,2450.0000,'000000005','SAR','SAR','moh shab','moh shab','2022-10-09 23:00:11','2022-10-09 23:03:59','jijij,OIJIO,sharq,15300','jijij,OIJIO,sharq,15300','Flat Rate - Fixed','mohammad.shabaan@gmail.com','0',2608.7000,43.4700,'moh shab','checkmo',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `sales_order_item`
--

CREATE TABLE `sales_order_item` (
  `item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Item ID',
  `order_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Order ID',
  `parent_item_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent Item ID',
  `quote_item_id` int(10) unsigned DEFAULT NULL COMMENT 'Quote Item ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `product_type` varchar(255) DEFAULT NULL COMMENT 'Product Type',
  `product_options` text COMMENT 'Product Options',
  `weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Weight',
  `is_virtual` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Virtual',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `description` text COMMENT 'Description',
  `applied_rule_ids` text COMMENT 'Applied Rule Ids',
  `additional_data` text COMMENT 'Additional Data',
  `is_qty_decimal` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Qty Decimal',
  `no_discount` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'No Discount',
  `qty_backordered` decimal(12,4) DEFAULT '0.0000' COMMENT 'Qty Backordered',
  `qty_canceled` decimal(12,4) DEFAULT '0.0000' COMMENT 'Qty Canceled',
  `qty_invoiced` decimal(12,4) DEFAULT '0.0000' COMMENT 'Qty Invoiced',
  `qty_ordered` decimal(12,4) DEFAULT '0.0000' COMMENT 'Qty Ordered',
  `qty_refunded` decimal(12,4) DEFAULT '0.0000' COMMENT 'Qty Refunded',
  `qty_shipped` decimal(12,4) DEFAULT '0.0000' COMMENT 'Qty Shipped',
  `base_cost` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Cost',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `base_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Price',
  `original_price` decimal(12,4) DEFAULT NULL COMMENT 'Original Price',
  `base_original_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Original Price',
  `tax_percent` decimal(12,4) DEFAULT '0.0000' COMMENT 'Tax Percent',
  `tax_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Tax Amount',
  `base_tax_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Tax Amount',
  `tax_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Tax Invoiced',
  `base_tax_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Tax Invoiced',
  `discount_percent` decimal(12,4) DEFAULT '0.0000' COMMENT 'Discount Percent',
  `discount_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Discount Amount',
  `base_discount_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Discount Amount',
  `discount_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Discount Invoiced',
  `base_discount_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Discount Invoiced',
  `amount_refunded` decimal(20,4) DEFAULT '0.0000' COMMENT 'Amount Refunded',
  `base_amount_refunded` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Amount Refunded',
  `row_total` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Row Total',
  `base_row_total` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Row Total',
  `row_invoiced` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Row Invoiced',
  `base_row_invoiced` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Row Invoiced',
  `row_weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Weight',
  `base_tax_before_discount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Before Discount',
  `tax_before_discount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Before Discount',
  `ext_order_item_id` varchar(255) DEFAULT NULL COMMENT 'Ext Order Item ID',
  `locked_do_invoice` smallint(5) unsigned DEFAULT NULL COMMENT 'Locked Do Invoice',
  `locked_do_ship` smallint(5) unsigned DEFAULT NULL COMMENT 'Locked Do Ship',
  `price_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Price Incl Tax',
  `base_price_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Price Incl Tax',
  `row_total_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Row Total Incl Tax',
  `base_row_total_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Row Total Incl Tax',
  `discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `discount_tax_compensation_invoiced` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Invoiced',
  `base_discount_tax_compensation_invoiced` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Invoiced',
  `discount_tax_compensation_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Refunded',
  `base_discount_tax_compensation_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Refunded',
  `tax_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Tax Canceled',
  `discount_tax_compensation_canceled` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Canceled',
  `tax_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Tax Refunded',
  `base_tax_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Refunded',
  `discount_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Discount Refunded',
  `base_discount_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Refunded',
  `weee_tax_applied` text COMMENT 'Weee Tax Applied',
  `weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Amount',
  `weee_tax_applied_row_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Row Amount',
  `weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Disposition',
  `weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Row Disposition',
  `base_weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Amount',
  `base_weee_tax_applied_row_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Row Amnt',
  `base_weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Disposition',
  `base_weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Row Disposition',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message ID',
  `gift_message_available` int(11) DEFAULT NULL COMMENT 'Gift Message Available',
  `free_shipping` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Free Shipping',
  PRIMARY KEY (`item_id`),
  KEY `SALES_ORDER_ITEM_ORDER_ID` (`order_id`),
  KEY `SALES_ORDER_ITEM_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_ORDER_ITEM_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_ORDER_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Item';

--
-- Dumping data for table `sales_order_item`
--

INSERT INTO `sales_order_item` VALUES (1,1,NULL,NULL,1,'2022-08-10 15:31:35','2022-08-10 15:31:36',1434,'configurable','{\"info_buyRequest\":{\"qty\":1,\"super_attribute\":{\"142\":\"166\",\"93\":\"58\"},\"options\":[]},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"XS\",\"option_id\":142,\"option_value\":\"166\"},{\"label\":\"Color\",\"value\":\"Red\",\"option_id\":93,\"option_value\":\"58\"}],\"simple_name\":\"Iris Workout Top-XS-Red\",\"simple_sku\":\"WS03-XS-Red\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,NULL,'WS03-XS-Red','Iris Workout Top',NULL,'1',NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,29.0000,29.0000,29.0000,29.0000,8.2500,2.3900,2.3900,2.3900,2.3900,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,29.0000,29.0000,29.0000,29.0000,1.0000,NULL,NULL,NULL,NULL,NULL,31.3900,31.3900,31.3900,31.3900,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(2,2,NULL,NULL,1,'2022-08-10 15:31:36','2022-08-10 15:31:36',1498,'configurable','{\"info_buyRequest\":{\"qty\":\"1.0000\",\"super_attribute\":{\"142\":\"166\",\"93\":\"50\"},\"options\":[]},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"XS\",\"option_id\":142,\"option_value\":\"166\"},{\"label\":\"Color\",\"value\":\"Blue\",\"option_id\":93,\"option_value\":\"50\"}],\"simple_name\":\"Minerva LumaTech&trade; V-Tee-XS-Blue\",\"simple_sku\":\"WS08-XS-Blue\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,NULL,'WS08-XS-Blue','Minerva LumaTech&trade; V-Tee',NULL,'1',NULL,0,0,NULL,0.0000,1.0000,1.0000,1.0000,1.0000,NULL,32.0000,32.0000,32.0000,32.0000,8.2500,2.6400,2.6400,2.6400,2.6400,0.0000,0.0000,0.0000,0.0000,0.0000,32.0000,32.0000,32.0000,32.0000,32.0000,32.0000,1.0000,NULL,NULL,NULL,NULL,NULL,34.6400,34.6400,34.6400,34.6400,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,2.6400,2.6400,0.0000,0.0000,'[]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(3,3,NULL,16,1,'2022-10-05 11:23:06','2022-10-05 14:49:56',3671,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly9oZi5kb3QtemVyb25lLmNvbS8,\",\"product\":\"3671\",\"qty\":1}}',97.0000,0,'Byne System-1-1-1-1-1','Byne System',NULL,'2,3',NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,2608.7000,2608.7000,3000.0000,3000.0000,15.0000,313.0400,313.0400,313.0400,313.0400,20.0000,600.0000,600.0000,600.0000,600.0000,0.0000,0.0000,2608.7000,2608.7000,2608.7000,2608.7000,0.0000,NULL,NULL,NULL,NULL,NULL,3000.0000,3000.0000,3000.0000,3000.0000,78.2600,78.2600,78.2600,78.2600,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(4,4,NULL,17,1,'2022-10-05 16:38:26','2022-10-09 12:37:05',3652,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly9oZi5kb3QtemVyb25lLmNvbS8,\",\"product\":\"3652\",\"qty\":1}}',97.0000,0,'Aeron11110','Aeron Chair',NULL,'2,3',NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,5217.3900,5217.3900,6000.0000,6000.0000,15.0000,626.0900,626.0900,626.0900,626.0900,20.0000,1200.0000,1200.0000,1200.0000,1200.0000,0.0000,0.0000,5217.3900,5217.3900,5217.3900,5217.3900,0.0000,NULL,NULL,NULL,NULL,NULL,6000.0000,6000.0000,6000.0000,6000.0000,156.5200,156.5200,156.5200,156.5200,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(5,5,NULL,19,1,'2022-10-09 23:00:11','2022-10-09 23:03:59',3671,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly9oZi5kb3QtemVyb25lLmNvbS8,\",\"product\":\"3671\",\"qty\":1}}',97.0000,0,'Byne System-1-1-1-1-1','Byne System',NULL,'2,3',NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,2608.7000,2608.7000,3000.0000,3000.0000,15.0000,313.0400,313.0400,313.0400,313.0400,20.0000,600.0000,600.0000,600.0000,600.0000,0.0000,0.0000,2608.7000,2608.7000,2608.7000,2608.7000,0.0000,NULL,NULL,NULL,NULL,NULL,3000.0000,3000.0000,3000.0000,3000.0000,78.2600,78.2600,78.2600,78.2600,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `sales_order_status`
--

CREATE TABLE `sales_order_status` (
  `status` varchar(32) NOT NULL COMMENT 'Status',
  `label` varchar(128) NOT NULL COMMENT 'Label',
  PRIMARY KEY (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Status Table';

--
-- Dumping data for table `sales_order_status`
--

INSERT INTO `sales_order_status` VALUES ('canceled','Canceled'),('closed','Closed'),('complete','Complete'),('fraud','Suspected Fraud'),('holded','On Hold'),('payment_review','Payment Review'),('paypal_canceled_reversal','PayPal Canceled Reversal'),('paypal_reversed','PayPal Reversed'),('pending','Pending'),('pending_payment','Pending Payment'),('pending_paypal','Pending PayPal'),('processing','Processing');

--
-- Table structure for table `sales_order_status_history`
--

CREATE TABLE `sales_order_status_history` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `is_customer_notified` int(11) DEFAULT NULL COMMENT 'Is Customer Notified',
  `is_visible_on_front` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Visible On Front',
  `comment` text COMMENT 'Comment',
  `status` varchar(32) DEFAULT NULL COMMENT 'Status',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `entity_name` varchar(32) DEFAULT NULL COMMENT 'Shows what entity history is bind to.',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_ORDER_STATUS_HISTORY_PARENT_ID` (`parent_id`),
  KEY `SALES_ORDER_STATUS_HISTORY_CREATED_AT` (`created_at`),
  CONSTRAINT `SALES_ORDER_STATUS_HISTORY_PARENT_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Status History';

--
-- Dumping data for table `sales_order_status_history`
--

INSERT INTO `sales_order_status_history` VALUES (1,2,1,0,'We refunded $39.64 offline.','closed','2022-08-10 15:31:36','creditmemo');

--
-- Table structure for table `sales_order_status_label`
--

CREATE TABLE `sales_order_status_label` (
  `status` varchar(32) NOT NULL COMMENT 'Status',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `label` varchar(128) NOT NULL COMMENT 'Label',
  PRIMARY KEY (`status`,`store_id`),
  KEY `SALES_ORDER_STATUS_LABEL_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_ORDER_STATUS_LABEL_STATUS_SALES_ORDER_STATUS_STATUS` FOREIGN KEY (`status`) REFERENCES `sales_order_status` (`status`) ON DELETE CASCADE,
  CONSTRAINT `SALES_ORDER_STATUS_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Status Label Table';

--
-- Dumping data for table `sales_order_status_label`
--


--
-- Table structure for table `sales_order_status_state`
--

CREATE TABLE `sales_order_status_state` (
  `status` varchar(32) NOT NULL COMMENT 'Status',
  `state` varchar(32) NOT NULL COMMENT 'Label',
  `is_default` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Default',
  `visible_on_front` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Visible on front',
  PRIMARY KEY (`status`,`state`),
  CONSTRAINT `SALES_ORDER_STATUS_STATE_STATUS_SALES_ORDER_STATUS_STATUS` FOREIGN KEY (`status`) REFERENCES `sales_order_status` (`status`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Status Table';

--
-- Dumping data for table `sales_order_status_state`
--

INSERT INTO `sales_order_status_state` VALUES ('canceled','canceled',1,1),('closed','closed',1,1),('complete','complete',1,1),('fraud','payment_review',0,1),('fraud','processing',0,1),('holded','holded',1,1),('payment_review','payment_review',1,1),('pending','new',1,1),('pending_payment','pending_payment',1,0),('processing','processing',1,1);

--
-- Table structure for table `sales_order_tax`
--

CREATE TABLE `sales_order_tax` (
  `tax_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Tax ID',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `code` varchar(255) DEFAULT NULL COMMENT 'Code',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  `percent` decimal(12,4) DEFAULT NULL COMMENT 'Percent',
  `amount` decimal(20,4) DEFAULT NULL COMMENT 'Amount',
  `priority` int(11) NOT NULL COMMENT 'Priority',
  `position` int(11) NOT NULL COMMENT 'Position',
  `base_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Amount',
  `process` smallint(6) NOT NULL COMMENT 'Process',
  `base_real_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Real Amount',
  PRIMARY KEY (`tax_id`),
  KEY `SALES_ORDER_TAX_ORDER_ID_PRIORITY_POSITION` (`order_id`,`priority`,`position`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Table';

--
-- Dumping data for table `sales_order_tax`
--

INSERT INTO `sales_order_tax` VALUES (1,1,'US-MI-*-Rate 1','US-MI-*-Rate 1',8.2500,2.3900,0,0,2.3900,0,2.3900),(2,2,'US-MI-*-Rate 1','US-MI-*-Rate 1',8.2500,2.6400,0,0,2.6400,0,2.6400),(3,3,'KSA-VAT','VAT (15%)',15.0000,319.5700,0,0,319.5700,0,319.5700),(4,4,'KSA-VAT','VAT (15%)',15.0000,632.6100,0,0,632.6100,0,632.6100),(5,5,'KSA-VAT','VAT (15%)',15.0000,319.5700,0,0,319.5700,0,319.5700);

--
-- Table structure for table `sales_order_tax_item`
--

CREATE TABLE `sales_order_tax_item` (
  `tax_item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Tax Item ID',
  `tax_id` int(10) unsigned NOT NULL COMMENT 'Tax ID',
  `item_id` int(10) unsigned DEFAULT NULL COMMENT 'Item ID',
  `tax_percent` decimal(12,4) NOT NULL COMMENT 'Real Tax Percent For Item',
  `amount` decimal(20,4) NOT NULL COMMENT 'Tax amount for the item and tax rate',
  `base_amount` decimal(20,4) NOT NULL COMMENT 'Base tax amount for the item and tax rate',
  `real_amount` decimal(20,4) NOT NULL COMMENT 'Real tax amount for the item and tax rate',
  `real_base_amount` decimal(20,4) NOT NULL COMMENT 'Real base tax amount for the item and tax rate',
  `associated_item_id` int(10) unsigned DEFAULT NULL COMMENT 'Id of the associated item',
  `taxable_item_type` varchar(32) NOT NULL COMMENT 'Type of the taxable item',
  PRIMARY KEY (`tax_item_id`),
  UNIQUE KEY `SALES_ORDER_TAX_ITEM_TAX_ID_ITEM_ID` (`tax_id`,`item_id`),
  KEY `SALES_ORDER_TAX_ITEM_ASSOCIATED_ITEM_ID_SALES_ORDER_ITEM_ITEM_ID` (`associated_item_id`),
  KEY `SALES_ORDER_TAX_ITEM_ITEM_ID` (`item_id`),
  CONSTRAINT `SALES_ORDER_TAX_ITEM_ASSOCIATED_ITEM_ID_SALES_ORDER_ITEM_ITEM_ID` FOREIGN KEY (`associated_item_id`) REFERENCES `sales_order_item` (`item_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_ORDER_TAX_ITEM_ITEM_ID_SALES_ORDER_ITEM_ITEM_ID` FOREIGN KEY (`item_id`) REFERENCES `sales_order_item` (`item_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_ORDER_TAX_ITEM_TAX_ID_SALES_ORDER_TAX_TAX_ID` FOREIGN KEY (`tax_id`) REFERENCES `sales_order_tax` (`tax_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Item';

--
-- Dumping data for table `sales_order_tax_item`
--

INSERT INTO `sales_order_tax_item` VALUES (1,1,NULL,8.2500,2.3900,2.3900,2.3900,2.3900,NULL,'product'),(2,2,NULL,8.2500,2.6400,2.6400,2.6400,2.6400,NULL,'product'),(3,3,3,15.0000,313.0400,313.0400,313.0400,313.0400,NULL,'product'),(4,3,NULL,15.0000,6.5300,6.5300,6.5300,6.5300,NULL,'shipping'),(5,4,4,15.0000,626.0900,626.0900,626.0900,626.0900,NULL,'product'),(6,4,NULL,15.0000,6.5200,6.5200,6.5200,6.5200,NULL,'shipping'),(7,5,5,15.0000,313.0400,313.0400,313.0400,313.0400,NULL,'product'),(8,5,NULL,15.0000,6.5300,6.5300,6.5300,6.5300,NULL,'shipping');

--
-- Table structure for table `sales_payment_transaction`
--

CREATE TABLE `sales_payment_transaction` (
  `transaction_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Transaction ID',
  `parent_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent ID',
  `order_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Order ID',
  `payment_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Payment ID',
  `txn_id` varchar(100) DEFAULT NULL COMMENT 'Txn ID',
  `parent_txn_id` varchar(100) DEFAULT NULL COMMENT 'Parent Txn ID',
  `txn_type` varchar(15) DEFAULT NULL COMMENT 'Txn Type',
  `is_closed` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Closed',
  `additional_information` blob COMMENT 'Additional Information',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`transaction_id`),
  UNIQUE KEY `SALES_PAYMENT_TRANSACTION_ORDER_ID_PAYMENT_ID_TXN_ID` (`order_id`,`payment_id`,`txn_id`),
  KEY `SALES_PAYMENT_TRANSACTION_PARENT_ID` (`parent_id`),
  KEY `SALES_PAYMENT_TRANSACTION_PAYMENT_ID` (`payment_id`),
  CONSTRAINT `FK_B99FF1A06402D725EBDB0F3A7ECD47A2` FOREIGN KEY (`parent_id`) REFERENCES `sales_payment_transaction` (`transaction_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_PAYMENT_TRANSACTION_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_PAYMENT_TRANSACTION_PAYMENT_ID_SALES_ORDER_PAYMENT_ENTT_ID` FOREIGN KEY (`payment_id`) REFERENCES `sales_order_payment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Payment Transaction';

--
-- Dumping data for table `sales_payment_transaction`
--


--
-- Table structure for table `sales_refunded_aggregated`
--

CREATE TABLE `sales_refunded_aggregated` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) NOT NULL COMMENT 'Order Status',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `refunded` decimal(20,4) DEFAULT NULL COMMENT 'Refunded',
  `online_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Online Refunded',
  `offline_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Offline Refunded',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_REFUNDED_AGGREGATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `SALES_REFUNDED_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_REFUNDED_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Refunded Aggregated';

--
-- Dumping data for table `sales_refunded_aggregated`
--


--
-- Table structure for table `sales_refunded_aggregated_order`
--

CREATE TABLE `sales_refunded_aggregated_order` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) DEFAULT NULL COMMENT 'Order Status',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `refunded` decimal(20,4) DEFAULT NULL COMMENT 'Refunded',
  `online_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Online Refunded',
  `offline_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Offline Refunded',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_REFUNDED_AGGREGATED_ORDER_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `SALES_REFUNDED_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_REFUNDED_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Refunded Aggregated Order';

--
-- Dumping data for table `sales_refunded_aggregated_order`
--


--
-- Table structure for table `sales_sequence_meta`
--

CREATE TABLE `sales_sequence_meta` (
  `meta_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `entity_type` varchar(32) NOT NULL COMMENT 'Prefix',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `sequence_table` varchar(64) NOT NULL COMMENT 'table for sequence',
  PRIMARY KEY (`meta_id`),
  UNIQUE KEY `SALES_SEQUENCE_META_ENTITY_TYPE_STORE_ID` (`entity_type`,`store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='sales_sequence_meta';

--
-- Dumping data for table `sales_sequence_meta`
--

INSERT INTO `sales_sequence_meta` VALUES (1,'order',0,'sequence_order_0'),(2,'invoice',0,'sequence_invoice_0'),(3,'creditmemo',0,'sequence_creditmemo_0'),(4,'shipment',0,'sequence_shipment_0'),(5,'order',1,'sequence_order_1'),(6,'invoice',1,'sequence_invoice_1'),(7,'creditmemo',1,'sequence_creditmemo_1'),(8,'shipment',1,'sequence_shipment_1'),(9,'order',2,'sequence_order_2'),(10,'invoice',2,'sequence_invoice_2'),(11,'creditmemo',2,'sequence_creditmemo_2'),(12,'shipment',2,'sequence_shipment_2');

--
-- Table structure for table `sales_sequence_profile`
--

CREATE TABLE `sales_sequence_profile` (
  `profile_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `meta_id` int(10) unsigned NOT NULL COMMENT 'Meta_id',
  `prefix` varchar(32) DEFAULT NULL COMMENT 'Prefix',
  `suffix` varchar(32) DEFAULT NULL COMMENT 'Suffix',
  `start_value` int(10) unsigned NOT NULL DEFAULT '1' COMMENT 'Start value for sequence',
  `step` int(10) unsigned NOT NULL DEFAULT '1' COMMENT 'Step for sequence',
  `max_value` int(10) unsigned NOT NULL COMMENT 'MaxValue for sequence',
  `warning_value` int(10) unsigned NOT NULL COMMENT 'WarningValue for sequence',
  `is_active` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'isActive flag',
  PRIMARY KEY (`profile_id`),
  UNIQUE KEY `SALES_SEQUENCE_PROFILE_META_ID_PREFIX_SUFFIX` (`meta_id`,`prefix`,`suffix`),
  CONSTRAINT `SALES_SEQUENCE_PROFILE_META_ID_SALES_SEQUENCE_META_META_ID` FOREIGN KEY (`meta_id`) REFERENCES `sales_sequence_meta` (`meta_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='sales_sequence_profile';

--
-- Dumping data for table `sales_sequence_profile`
--

INSERT INTO `sales_sequence_profile` VALUES (1,1,NULL,NULL,1,1,4294967295,4294966295,1),(2,2,NULL,NULL,1,1,4294967295,4294966295,1),(3,3,NULL,NULL,1,1,4294967295,4294966295,1),(4,4,NULL,NULL,1,1,4294967295,4294966295,1),(5,5,NULL,NULL,1,1,4294967295,4294966295,1),(6,6,NULL,NULL,1,1,4294967295,4294966295,1),(7,7,NULL,NULL,1,1,4294967295,4294966295,1),(8,8,NULL,NULL,1,1,4294967295,4294966295,1),(9,9,'2',NULL,1,1,4294967295,4294966295,1),(10,10,'2',NULL,1,1,4294967295,4294966295,1),(11,11,'2',NULL,1,1,4294967295,4294966295,1),(12,12,'2',NULL,1,1,4294967295,4294966295,1);

--
-- Table structure for table `sales_shipment`
--

CREATE TABLE `sales_shipment` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `total_weight` decimal(12,4) DEFAULT NULL COMMENT 'Total Weight',
  `total_qty` decimal(12,4) DEFAULT NULL COMMENT 'Total Qty',
  `email_sent` smallint(5) unsigned DEFAULT NULL COMMENT 'Email Sent',
  `send_email` smallint(5) unsigned DEFAULT NULL COMMENT 'Send Email',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `customer_id` int(11) DEFAULT NULL COMMENT 'Customer ID',
  `shipping_address_id` int(11) DEFAULT NULL COMMENT 'Shipping Address ID',
  `billing_address_id` int(11) DEFAULT NULL COMMENT 'Billing Address ID',
  `shipment_status` int(11) DEFAULT NULL COMMENT 'Shipment Status',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `packages` text COMMENT 'Packed Products in Packages',
  `shipping_label` mediumblob COMMENT 'Shipping Label Content',
  `customer_note` text COMMENT 'Customer Note',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_SHIPMENT_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_SHIPMENT_STORE_ID` (`store_id`),
  KEY `SALES_SHIPMENT_TOTAL_QTY` (`total_qty`),
  KEY `SALES_SHIPMENT_ORDER_ID` (`order_id`),
  KEY `SALES_SHIPMENT_CREATED_AT` (`created_at`),
  KEY `SALES_SHIPMENT_UPDATED_AT` (`updated_at`),
  KEY `SALES_SHIPMENT_SEND_EMAIL` (`send_email`),
  KEY `SALES_SHIPMENT_EMAIL_SENT` (`email_sent`),
  CONSTRAINT `SALES_SHIPMENT_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_SHIPMENT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment';

--
-- Dumping data for table `sales_shipment`
--

INSERT INTO `sales_shipment` VALUES (1,1,NULL,1.0000,NULL,NULL,1,1,1,2,NULL,'000000001','2022-08-10 15:31:36','2022-08-10 15:31:36','[]',NULL,NULL,NULL),(2,1,NULL,1.0000,NULL,NULL,2,1,3,4,NULL,'000000002','2022-08-10 15:31:36','2022-08-10 15:31:36','[]',NULL,NULL,NULL);

--
-- Table structure for table `sales_shipment_comment`
--

CREATE TABLE `sales_shipment_comment` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `is_customer_notified` int(11) DEFAULT NULL COMMENT 'Is Customer Notified',
  `is_visible_on_front` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Visible On Front',
  `comment` text COMMENT 'Comment',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_SHIPMENT_COMMENT_CREATED_AT` (`created_at`),
  KEY `SALES_SHIPMENT_COMMENT_PARENT_ID` (`parent_id`),
  CONSTRAINT `SALES_SHIPMENT_COMMENT_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_shipment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Comment';

--
-- Dumping data for table `sales_shipment_comment`
--


--
-- Table structure for table `sales_shipment_grid`
--

CREATE TABLE `sales_shipment_grid` (
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_increment_id` varchar(32) NOT NULL COMMENT 'Order Increment ID',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `order_created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Order Increment ID',
  `customer_name` varchar(128) NOT NULL COMMENT 'Customer Name',
  `total_qty` decimal(12,4) DEFAULT NULL COMMENT 'Total Qty',
  `shipment_status` int(11) DEFAULT NULL COMMENT 'Shipment Status',
  `order_status` varchar(32) DEFAULT NULL COMMENT 'Order',
  `billing_address` varchar(255) DEFAULT NULL COMMENT 'Billing Address',
  `shipping_address` varchar(255) DEFAULT NULL COMMENT 'Shipping Address',
  `billing_name` varchar(128) DEFAULT NULL COMMENT 'Billing Name',
  `shipping_name` varchar(128) DEFAULT NULL COMMENT 'Shipping Name',
  `customer_email` varchar(128) DEFAULT NULL COMMENT 'Customer Email',
  `customer_group_id` int(11) DEFAULT NULL,
  `payment_method` varchar(32) DEFAULT NULL COMMENT 'Payment Method',
  `shipping_information` varchar(255) DEFAULT NULL COMMENT 'Shipping Method Name',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_SHIPMENT_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_SHIPMENT_GRID_STORE_ID` (`store_id`),
  KEY `SALES_SHIPMENT_GRID_TOTAL_QTY` (`total_qty`),
  KEY `SALES_SHIPMENT_GRID_ORDER_INCREMENT_ID` (`order_increment_id`),
  KEY `SALES_SHIPMENT_GRID_SHIPMENT_STATUS` (`shipment_status`),
  KEY `SALES_SHIPMENT_GRID_ORDER_STATUS` (`order_status`),
  KEY `SALES_SHIPMENT_GRID_CREATED_AT` (`created_at`),
  KEY `SALES_SHIPMENT_GRID_UPDATED_AT` (`updated_at`),
  KEY `SALES_SHIPMENT_GRID_ORDER_CREATED_AT` (`order_created_at`),
  KEY `SALES_SHIPMENT_GRID_SHIPPING_NAME` (`shipping_name`),
  KEY `SALES_SHIPMENT_GRID_BILLING_NAME` (`billing_name`),
  KEY `SALES_SHIPMENT_GRID_ORDER_ID` (`order_id`),
  FULLTEXT KEY `FTI_086B40C8955F167B8EA76653437879B4` (`increment_id`,`order_increment_id`,`shipping_name`,`customer_name`,`customer_email`,`billing_address`,`shipping_address`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Grid';

--
-- Dumping data for table `sales_shipment_grid`
--

INSERT INTO `sales_shipment_grid` VALUES (1,'000000001',1,'000000001',1,'2022-08-10 15:31:35','Veronica Costello',1.0000,NULL,'processing','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Veronica Costello','Veronica Costello','roni_cost@example.com',1,'checkmo','Flat Rate - Fixed','2022-08-10 15:31:36','2022-08-10 15:31:36'),(2,'000000002',1,'000000002',2,'2022-08-10 15:31:36','Veronica Costello',1.0000,NULL,'processing','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Veronica Costello','Veronica Costello','roni_cost@example.com',1,'checkmo','Flat Rate - Fixed','2022-08-10 15:31:36','2022-08-10 15:31:36');

--
-- Table structure for table `sales_shipment_item`
--

CREATE TABLE `sales_shipment_item` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `row_total` decimal(20,4) DEFAULT NULL COMMENT 'Row Total',
  `price` decimal(20,4) DEFAULT NULL COMMENT 'Price',
  `weight` decimal(12,4) DEFAULT NULL COMMENT 'Weight',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `product_id` int(11) DEFAULT NULL COMMENT 'Product ID',
  `order_item_id` int(11) DEFAULT NULL COMMENT 'Order Item ID',
  `additional_data` text COMMENT 'Additional Data',
  `description` text COMMENT 'Description',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_SHIPMENT_ITEM_PARENT_ID` (`parent_id`),
  CONSTRAINT `SALES_SHIPMENT_ITEM_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_shipment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Item';

--
-- Dumping data for table `sales_shipment_item`
--

INSERT INTO `sales_shipment_item` VALUES (1,1,NULL,29.0000,1.0000,1.0000,1434,1,NULL,NULL,'Iris Workout Top','WS03-XS-Red'),(2,2,NULL,32.0000,1.0000,1.0000,1498,2,NULL,NULL,'Minerva LumaTech&trade; V-Tee','WS08-XS-Blue');

--
-- Table structure for table `sales_shipment_track`
--

CREATE TABLE `sales_shipment_track` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `weight` decimal(12,4) DEFAULT NULL COMMENT 'Weight',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `track_number` text COMMENT 'Number',
  `description` text COMMENT 'Description',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  `carrier_code` varchar(32) DEFAULT NULL COMMENT 'Carrier Code',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_SHIPMENT_TRACK_PARENT_ID` (`parent_id`),
  KEY `SALES_SHIPMENT_TRACK_ORDER_ID` (`order_id`),
  KEY `SALES_SHIPMENT_TRACK_CREATED_AT` (`created_at`),
  CONSTRAINT `SALES_SHIPMENT_TRACK_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_shipment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Track';

--
-- Dumping data for table `sales_shipment_track`
--


--
-- Table structure for table `sales_shipping_aggregated`
--

CREATE TABLE `sales_shipping_aggregated` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) DEFAULT NULL COMMENT 'Order Status',
  `shipping_description` varchar(255) DEFAULT NULL COMMENT 'Shipping Description',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `total_shipping` decimal(20,4) DEFAULT NULL COMMENT 'Total Shipping',
  `total_shipping_actual` decimal(20,4) DEFAULT NULL COMMENT 'Total Shipping Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALES_SHPP_AGGRED_PERIOD_STORE_ID_ORDER_STS_SHPP_DESCRIPTION` (`period`,`store_id`,`order_status`,`shipping_description`),
  KEY `SALES_SHIPPING_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_SHIPPING_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Shipping Aggregated';

--
-- Dumping data for table `sales_shipping_aggregated`
--


--
-- Table structure for table `sales_shipping_aggregated_order`
--

CREATE TABLE `sales_shipping_aggregated_order` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) DEFAULT NULL COMMENT 'Order Status',
  `shipping_description` varchar(255) DEFAULT NULL COMMENT 'Shipping Description',
  `orders_count` int(11) NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `total_shipping` decimal(20,4) DEFAULT NULL COMMENT 'Total Shipping',
  `total_shipping_actual` decimal(20,4) DEFAULT NULL COMMENT 'Total Shipping Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_C05FAE47282EEA68654D0924E946761F` (`period`,`store_id`,`order_status`,`shipping_description`),
  KEY `SALES_SHIPPING_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  CONSTRAINT `SALES_SHIPPING_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Shipping Aggregated Order';

--
-- Dumping data for table `sales_shipping_aggregated_order`
--


--
-- Table structure for table `salesrule`
--

CREATE TABLE `salesrule` (
  `rule_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `description` text COMMENT 'Description',
  `from_date` date DEFAULT NULL COMMENT 'From',
  `to_date` date DEFAULT NULL COMMENT 'To',
  `uses_per_customer` int(11) NOT NULL DEFAULT '0' COMMENT 'Uses Per Customer',
  `is_active` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Is Active',
  `conditions_serialized` mediumtext COMMENT 'Conditions Serialized',
  `actions_serialized` mediumtext COMMENT 'Actions Serialized',
  `stop_rules_processing` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Stop Rules Processing',
  `is_advanced` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Advanced',
  `product_ids` text COMMENT 'Product Ids',
  `sort_order` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  `simple_action` varchar(32) DEFAULT NULL COMMENT 'Simple Action',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `discount_qty` decimal(12,4) DEFAULT NULL COMMENT 'Discount Qty',
  `discount_step` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Discount Step',
  `apply_to_shipping` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Apply To Shipping',
  `times_used` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Times Used',
  `is_rss` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Is Rss',
  `coupon_type` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Coupon Type',
  `use_auto_generation` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Use Auto Generation',
  `uses_per_coupon` int(11) NOT NULL DEFAULT '0' COMMENT 'User Per Coupon',
  `simple_free_shipping` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Simple Free Shipping',
  PRIMARY KEY (`rule_id`),
  KEY `SALESRULE_IS_ACTIVE_SORT_ORDER_TO_DATE_FROM_DATE` (`is_active`,`sort_order`,`to_date`,`from_date`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Salesrule';

--
-- Dumping data for table `salesrule`
--

INSERT INTO `salesrule` VALUES (1,'Buy 3 tee shirts and get the 4th free','Buy 3 tee shirts and get the 4th free',NULL,NULL,0,1,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\\\\Found\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\",\"attribute\":\"category_ids\",\"operator\":\"()\",\"value\":\"25,16\",\"is_value_processed\":false,\"attribute_scope\":null}]}]}','{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\"}',0,1,NULL,0,'buy_x_get_y',1.0000,NULL,3,0,0,1,1,0,0,0),(2,'Spend $50 or more - shipping is free!','Free shipping on any purchase over $50',NULL,NULL,0,1,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Address\",\"attribute\":\"base_subtotal\",\"operator\":\">=\",\"value\":\"50\",\"is_value_processed\":false}]}','{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\"}',0,1,NULL,0,'by_percent',0.0000,NULL,0,0,0,1,1,0,0,2),(3,'20% OFF Ever $200-plus purchase!*','Shopping cart price rule for the cart over $200. Does not applied on other sales items',NULL,NULL,0,1,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Address\",\"attribute\":\"base_subtotal\",\"operator\":\">=\",\"value\":\"200\",\"is_value_processed\":false}]}','{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"0\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\",\"attribute\":\"category_ids\",\"operator\":\"==\",\"value\":\"6\",\"is_value_processed\":false,\"attribute_scope\":null},{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\",\"attribute\":\"sale\",\"operator\":\"==\",\"value\":\"1\",\"is_value_processed\":false,\"attribute_scope\":null}]}]}',0,1,NULL,0,'by_percent',20.0000,NULL,0,0,0,1,1,0,0,0),(4,'$4 Luma water bottle (save 70%)','Use promo code H20 at checkout',NULL,NULL,1,1,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\\\\Found\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\"}]}','{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":\"1\",\"is_value_processed\":null,\"aggregator\":\"all\",\"conditions\":[{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Product\",\"attribute\":\"sku\",\"operator\":\"==\",\"value\":\"24-UG06\",\"is_value_processed\":false,\"attribute_scope\":null}]}',0,1,NULL,0,'by_percent',70.0000,NULL,0,0,0,1,2,0,0,0);

--
-- Table structure for table `salesrule_coupon`
--

CREATE TABLE `salesrule_coupon` (
  `coupon_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Coupon ID',
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule ID',
  `code` varchar(255) DEFAULT NULL COMMENT 'Code',
  `usage_limit` int(10) unsigned DEFAULT NULL COMMENT 'Usage Limit',
  `usage_per_customer` int(10) unsigned DEFAULT NULL COMMENT 'Usage Per Customer',
  `times_used` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Times Used',
  `expiration_date` datetime DEFAULT NULL COMMENT 'Expiration Date',
  `is_primary` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Primary',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Coupon Code Creation Date',
  `type` smallint(6) DEFAULT '0' COMMENT 'Coupon Code Type',
  `generated_by_dotmailer` smallint(6) DEFAULT NULL COMMENT '1 = Generated by dotmailer',
  PRIMARY KEY (`coupon_id`),
  UNIQUE KEY `SALESRULE_COUPON_CODE` (`code`),
  UNIQUE KEY `SALESRULE_COUPON_RULE_ID_IS_PRIMARY` (`rule_id`,`is_primary`),
  KEY `SALESRULE_COUPON_RULE_ID` (`rule_id`),
  CONSTRAINT `SALESRULE_COUPON_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Salesrule Coupon';

--
-- Dumping data for table `salesrule_coupon`
--

INSERT INTO `salesrule_coupon` VALUES (1,4,'H20',NULL,1,0,NULL,1,NULL,0,NULL);

--
-- Table structure for table `salesrule_coupon_aggregated`
--

CREATE TABLE `salesrule_coupon_aggregated` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date NOT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) DEFAULT NULL COMMENT 'Order Status',
  `coupon_code` varchar(50) DEFAULT NULL COMMENT 'Coupon Code',
  `coupon_uses` int(11) NOT NULL DEFAULT '0' COMMENT 'Coupon Uses',
  `subtotal_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `total_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `subtotal_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount Actual',
  `discount_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount Actual',
  `total_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount Actual',
  `rule_name` varchar(255) DEFAULT NULL COMMENT 'Rule Name',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SALESRULE_COUPON_AGGRED_PERIOD_STORE_ID_ORDER_STS_COUPON_CODE` (`period`,`store_id`,`order_status`,`coupon_code`),
  KEY `SALESRULE_COUPON_AGGREGATED_STORE_ID` (`store_id`),
  KEY `SALESRULE_COUPON_AGGREGATED_RULE_NAME` (`rule_name`),
  CONSTRAINT `SALESRULE_COUPON_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Coupon Aggregated';

--
-- Dumping data for table `salesrule_coupon_aggregated`
--


--
-- Table structure for table `salesrule_coupon_aggregated_order`
--

CREATE TABLE `salesrule_coupon_aggregated_order` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date NOT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) DEFAULT NULL COMMENT 'Order Status',
  `coupon_code` varchar(50) DEFAULT NULL COMMENT 'Coupon Code',
  `coupon_uses` int(11) NOT NULL DEFAULT '0' COMMENT 'Coupon Uses',
  `subtotal_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `total_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `rule_name` varchar(255) DEFAULT NULL COMMENT 'Rule Name',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_1094D1FBBCBB11704A29DEF3ACC37D2B` (`period`,`store_id`,`order_status`,`coupon_code`),
  KEY `SALESRULE_COUPON_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  KEY `SALESRULE_COUPON_AGGREGATED_ORDER_RULE_NAME` (`rule_name`),
  CONSTRAINT `SALESRULE_COUPON_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Coupon Aggregated Order';

--
-- Dumping data for table `salesrule_coupon_aggregated_order`
--


--
-- Table structure for table `salesrule_coupon_aggregated_updated`
--

CREATE TABLE `salesrule_coupon_aggregated_updated` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date NOT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) DEFAULT NULL COMMENT 'Order Status',
  `coupon_code` varchar(50) DEFAULT NULL COMMENT 'Coupon Code',
  `coupon_uses` int(11) NOT NULL DEFAULT '0' COMMENT 'Coupon Uses',
  `subtotal_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `total_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `subtotal_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount Actual',
  `discount_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount Actual',
  `total_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount Actual',
  `rule_name` varchar(255) DEFAULT NULL COMMENT 'Rule Name',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_7196FA120A4F0F84E1B66605E87E213E` (`period`,`store_id`,`order_status`,`coupon_code`),
  KEY `SALESRULE_COUPON_AGGREGATED_UPDATED_STORE_ID` (`store_id`),
  KEY `SALESRULE_COUPON_AGGREGATED_UPDATED_RULE_NAME` (`rule_name`),
  CONSTRAINT `SALESRULE_COUPON_AGGREGATED_UPDATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Coupon Aggregated Updated';

--
-- Dumping data for table `salesrule_coupon_aggregated_updated`
--


--
-- Table structure for table `salesrule_coupon_usage`
--

CREATE TABLE `salesrule_coupon_usage` (
  `coupon_id` int(10) unsigned NOT NULL COMMENT 'Coupon ID',
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer ID',
  `times_used` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Times Used',
  PRIMARY KEY (`coupon_id`,`customer_id`),
  KEY `SALESRULE_COUPON_USAGE_CUSTOMER_ID` (`customer_id`),
  CONSTRAINT `SALESRULE_COUPON_USAGE_COUPON_ID_SALESRULE_COUPON_COUPON_ID` FOREIGN KEY (`coupon_id`) REFERENCES `salesrule_coupon` (`coupon_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_COUPON_USAGE_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Coupon Usage';

--
-- Dumping data for table `salesrule_coupon_usage`
--


--
-- Table structure for table `salesrule_customer`
--

CREATE TABLE `salesrule_customer` (
  `rule_customer_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rule Customer ID',
  `rule_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Rule ID',
  `customer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer ID',
  `times_used` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Times Used',
  PRIMARY KEY (`rule_customer_id`),
  KEY `SALESRULE_CUSTOMER_RULE_ID_CUSTOMER_ID` (`rule_id`,`customer_id`),
  KEY `SALESRULE_CUSTOMER_CUSTOMER_ID_RULE_ID` (`customer_id`,`rule_id`),
  CONSTRAINT `SALESRULE_CUSTOMER_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_CUSTOMER_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Customer';

--
-- Dumping data for table `salesrule_customer`
--


--
-- Table structure for table `salesrule_customer_group`
--

CREATE TABLE `salesrule_customer_group` (
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule ID',
  `customer_group_id` int(10) unsigned NOT NULL COMMENT 'Customer Group ID',
  PRIMARY KEY (`rule_id`,`customer_group_id`),
  KEY `SALESRULE_CUSTOMER_GROUP_CUSTOMER_GROUP_ID` (`customer_group_id`),
  CONSTRAINT `SALESRULE_CSTR_GROUP_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_CUSTOMER_GROUP_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Rules To Customer Groups Relations';

--
-- Dumping data for table `salesrule_customer_group`
--

INSERT INTO `salesrule_customer_group` VALUES (1,0),(2,0),(3,0),(4,0),(1,1),(2,1),(3,1),(4,1),(1,2),(2,2),(3,2),(4,2),(1,3),(2,3),(3,3),(4,3);

--
-- Table structure for table `salesrule_label`
--

CREATE TABLE `salesrule_label` (
  `label_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Label ID',
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `label` varchar(255) DEFAULT NULL COMMENT 'Label',
  PRIMARY KEY (`label_id`),
  UNIQUE KEY `SALESRULE_LABEL_RULE_ID_STORE_ID` (`rule_id`,`store_id`),
  KEY `SALESRULE_LABEL_STORE_ID` (`store_id`),
  CONSTRAINT `SALESRULE_LABEL_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Label';

--
-- Dumping data for table `salesrule_label`
--


--
-- Table structure for table `salesrule_product_attribute`
--

CREATE TABLE `salesrule_product_attribute` (
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  `customer_group_id` int(10) unsigned NOT NULL COMMENT 'Customer Group ID',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute ID',
  PRIMARY KEY (`rule_id`,`website_id`,`customer_group_id`,`attribute_id`),
  KEY `SALESRULE_PRODUCT_ATTRIBUTE_WEBSITE_ID` (`website_id`),
  KEY `SALESRULE_PRODUCT_ATTRIBUTE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `SALESRULE_PRODUCT_ATTRIBUTE_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `SALESRULE_PRD_ATTR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_PRD_ATTR_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_PRODUCT_ATTRIBUTE_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_PRODUCT_ATTRIBUTE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Product Attribute';

--
-- Dumping data for table `salesrule_product_attribute`
--

INSERT INTO `salesrule_product_attribute` VALUES (1,1,0,105),(1,1,1,105),(1,1,2,105),(1,1,3,105),(3,1,0,105),(3,1,0,147),(3,1,1,105),(3,1,1,147),(3,1,2,105),(3,1,2,147),(3,1,3,105),(3,1,3,147),(4,1,0,74),(4,1,1,74),(4,1,2,74),(4,1,3,74);

--
-- Table structure for table `salesrule_website`
--

CREATE TABLE `salesrule_website` (
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
  PRIMARY KEY (`rule_id`,`website_id`),
  KEY `SALESRULE_WEBSITE_WEBSITE_ID` (`website_id`),
  CONSTRAINT `SALESRULE_WEBSITE_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE,
  CONSTRAINT `SALESRULE_WEBSITE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Rules To Websites Relations';

--
-- Dumping data for table `salesrule_website`
--

INSERT INTO `salesrule_website` VALUES (1,1),(2,1),(3,1),(4,1);

--
-- Table structure for table `search_query`
--

CREATE TABLE `search_query` (
  `query_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Query ID',
  `query_text` varchar(255) DEFAULT NULL COMMENT 'Query text',
  `num_results` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Num results',
  `popularity` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Popularity',
  `redirect` varchar(255) DEFAULT NULL COMMENT 'Redirect',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `display_in_terms` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Display in terms',
  `is_active` smallint(6) DEFAULT '1' COMMENT 'Active status',
  `is_processed` smallint(6) DEFAULT '0' COMMENT 'Processed status',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated at',
  PRIMARY KEY (`query_id`),
  UNIQUE KEY `SEARCH_QUERY_QUERY_TEXT_STORE_ID` (`query_text`,`store_id`),
  KEY `SEARCH_QUERY_QUERY_TEXT_STORE_ID_POPULARITY` (`query_text`,`store_id`,`popularity`),
  KEY `SEARCH_QUERY_STORE_ID` (`store_id`),
  KEY `SEARCH_QUERY_IS_PROCESSED` (`is_processed`),
  KEY `SEARCH_QUERY_STORE_ID_POPULARITY` (`store_id`,`popularity`),
  CONSTRAINT `SEARCH_QUERY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=470 DEFAULT CHARSET=utf8 COMMENT='Search query table';

--
-- Dumping data for table `search_query`
--

INSERT INTO `search_query` VALUES (1,'pack',5,1,NULL,1,1,1,0,'2022-08-10 16:12:42'),(3,'Backpack',5,1,NULL,1,1,1,0,'2022-08-10 16:13:09'),(5,'men',0,1,NULL,1,1,1,0,'2022-08-14 09:36:47'),(7,'tables',0,1,NULL,1,1,1,0,'2022-08-14 09:36:53'),(9,'women',0,1,NULL,1,1,1,0,'2022-08-14 09:37:01'),(11,'Joust Duffle Bag',0,1,NULL,1,1,1,0,'2022-08-25 13:47:38'),(13,'24-MB01',35,3,NULL,1,1,1,0,'2022-08-20 14:55:15'),(20,'Hoodie-M-Black',127,5,NULL,1,1,1,0,'2022-08-20 14:56:02'),(28,'MH01-M-Black',127,2,NULL,1,1,1,0,'2022-08-20 14:56:28'),(33,'MH01-XS-Black',126,1,NULL,1,1,1,0,'2022-08-20 15:00:03'),(36,'Chaz Kangeroo Hoodie-XS-Black',126,1,NULL,1,1,1,0,'2022-08-20 15:00:45'),(39,'Flo Monitor',1,3,NULL,1,1,1,0,'2022-08-22 08:40:27'),(42,'Bess Yoga Short-30-Purple',101,2,NULL,1,1,1,0,'2022-08-21 19:00:57'),(52,'Sprite Yoga Strap 6 foot',52,1,NULL,1,1,1,0,'2022-08-22 09:09:04'),(55,'spring yoga strap 6 foot',104,1,NULL,1,1,1,0,'2022-08-22 09:32:26'),(58,'spring yoga strap 6 foam',105,1,NULL,1,1,1,0,'2022-08-22 09:33:04'),(61,'Aeron Chair-Graphite / Graphite',0,18,NULL,1,1,1,0,'2022-08-25 14:25:40'),(65,'Aeron Chair - Ayman Zaki',0,6,NULL,1,1,1,0,'2022-08-25 14:26:09'),(67,'Teton Pullover Hoodie-XS-Red',115,2,NULL,1,1,1,0,'2022-08-22 13:20:13'),(72,'air',2,1,NULL,1,1,1,0,'2022-08-22 13:28:44'),(74,'aer',0,15,NULL,1,1,1,0,'2022-10-06 11:51:46'),(76,'aeron',27,56,NULL,1,1,1,0,'2022-10-06 11:51:48'),(91,'aeron ch',0,2,NULL,1,1,1,0,'2022-08-23 08:34:04'),(95,'aeron cha',0,2,NULL,1,1,1,0,'2022-08-24 11:44:31'),(97,'aeron chair',0,36,NULL,1,1,1,0,'2022-09-08 11:59:57'),(160,'aero',2,13,NULL,1,1,1,0,'2022-08-25 15:02:46'),(172,'Aeron Chai',0,1,NULL,1,1,1,0,'2022-08-24 09:53:27'),(182,'aeron chair amaz zaki',0,4,NULL,1,1,1,0,'2022-08-24 12:28:45'),(214,'gear',5,1,NULL,1,1,1,0,'2022-08-24 10:11:38'),(216,'bag',8,1,NULL,1,1,1,0,'2022-08-24 10:12:37'),(218,'cha',0,1,NULL,1,1,1,0,'2022-08-24 10:12:54'),(220,'chair',1,2,NULL,1,1,1,0,'2022-08-24 10:12:56'),(228,'Aeron chair',1,4,NULL,2,1,1,0,'2022-08-24 11:06:07'),(245,'aeron',0,2,NULL,2,1,1,0,'2022-08-24 11:06:00'),(271,'are',49,1,NULL,1,1,1,0,'2022-08-24 12:13:51'),(273,'areo',0,1,NULL,1,1,1,0,'2022-08-24 12:13:52'),(325,'cos',0,1,NULL,1,1,1,0,'2022-08-24 21:40:03'),(327,'Cosm',1,3,NULL,1,1,1,0,'2022-08-24 21:41:25'),(332,'Aeron Chair1',0,3,NULL,1,1,1,0,'2022-08-24 22:56:22'),(338,'Herman Miller Setu Multipurpose Chair',0,4,NULL,1,1,1,0,'2022-08-25 13:55:45'),(347,'HM-SE-CQ53MNG1L7X84W31',0,1,NULL,1,1,1,0,'2022-08-25 13:56:02'),(380,'Boss Nipi Visitor Chair with Arms',44,2,NULL,1,1,1,0,'2022-08-27 13:57:10'),(384,'Boss Design Single Seater Sofa',47,12,NULL,1,1,1,0,'2022-08-28 07:06:07'),(392,'base design single seater sofa',96,2,NULL,1,1,1,0,'2022-08-27 16:29:27'),(405,'boss-design-single-seater-sofa',47,6,NULL,1,1,1,0,'2022-08-27 22:17:53'),(425,'HM-SE-AER1B22DWAJG1CDCDC7BK23103',36,1,NULL,1,1,1,0,'2022-08-28 08:29:29'),(426,'Setu Stool',0,10,NULL,1,1,1,0,'2022-09-04 08:38:50'),(446,'Magis',8,2,NULL,1,1,1,0,'2022-09-05 06:46:27'),(452,'https://www.youtube.com/c/Cau%C3%AAAleixo',0,2,NULL,1,1,1,0,'2022-09-05 06:46:29'),(457,'Herman Miller Storage',0,10,NULL,1,1,1,0,'2022-09-08 10:22:35'),(463,'شثق',0,1,NULL,2,1,1,0,'2022-09-06 06:50:38'),(465,'aeron s',27,1,NULL,2,1,1,0,'2022-09-06 06:50:47'),(467,'aeron st',27,1,NULL,2,1,1,0,'2022-09-06 06:50:48'),(469,'aeron stool',28,2,NULL,2,1,1,0,'2022-09-06 06:50:50');

--
-- Table structure for table `search_synonyms`
--

CREATE TABLE `search_synonyms` (
  `group_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Synonyms Group ID',
  `synonyms` text NOT NULL COMMENT 'list of synonyms making up this group',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID - identifies the store view these synonyms belong to',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website ID - identifies the website ID these synonyms belong to',
  PRIMARY KEY (`group_id`),
  KEY `SEARCH_SYNONYMS_STORE_ID` (`store_id`),
  KEY `SEARCH_SYNONYMS_WEBSITE_ID` (`website_id`),
  FULLTEXT KEY `SEARCH_SYNONYMS_SYNONYMS` (`synonyms`),
  CONSTRAINT `SEARCH_SYNONYMS_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `SEARCH_SYNONYMS_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='table storing various synonyms groups';

--
-- Dumping data for table `search_synonyms`
--


--
-- Table structure for table `sendfriend_log`
--

CREATE TABLE `sendfriend_log` (
  `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Log ID',
  `ip` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer IP address',
  `time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Log time',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website ID',
  PRIMARY KEY (`log_id`),
  KEY `SENDFRIEND_LOG_IP` (`ip`),
  KEY `SENDFRIEND_LOG_TIME` (`time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Send to friend function log storage table';

--
-- Dumping data for table `sendfriend_log`
--


--
-- Table structure for table `sequence_creditmemo_0`
--

CREATE TABLE `sequence_creditmemo_0` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_creditmemo_0`
--


--
-- Table structure for table `sequence_creditmemo_1`
--

CREATE TABLE `sequence_creditmemo_1` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_creditmemo_1`
--

INSERT INTO `sequence_creditmemo_1` VALUES (1);

--
-- Table structure for table `sequence_creditmemo_2`
--

CREATE TABLE `sequence_creditmemo_2` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_creditmemo_2`
--


--
-- Table structure for table `sequence_invoice_0`
--

CREATE TABLE `sequence_invoice_0` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_invoice_0`
--


--
-- Table structure for table `sequence_invoice_1`
--

CREATE TABLE `sequence_invoice_1` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_invoice_1`
--

INSERT INTO `sequence_invoice_1` VALUES (1),(2),(3),(4),(5);

--
-- Table structure for table `sequence_invoice_2`
--

CREATE TABLE `sequence_invoice_2` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_invoice_2`
--


--
-- Table structure for table `sequence_order_0`
--

CREATE TABLE `sequence_order_0` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_order_0`
--


--
-- Table structure for table `sequence_order_1`
--

CREATE TABLE `sequence_order_1` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_order_1`
--

INSERT INTO `sequence_order_1` VALUES (1),(2),(3),(4),(5);

--
-- Table structure for table `sequence_order_2`
--

CREATE TABLE `sequence_order_2` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_order_2`
--


--
-- Table structure for table `sequence_shipment_0`
--

CREATE TABLE `sequence_shipment_0` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_shipment_0`
--


--
-- Table structure for table `sequence_shipment_1`
--

CREATE TABLE `sequence_shipment_1` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_shipment_1`
--

INSERT INTO `sequence_shipment_1` VALUES (1),(2);

--
-- Table structure for table `sequence_shipment_2`
--

CREATE TABLE `sequence_shipment_2` (
  `sequence_value` int(10) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`sequence_value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sequence_shipment_2`
--


--
-- Table structure for table `service_calls`
--

CREATE TABLE `service_calls` (
  `service_call_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Service call id',
  `increment_id` varchar(20) NOT NULL DEFAULT '' COMMENT 'Increment id',
  `status` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Status',
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer id',
  `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Name',
  `email_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Email Id',
  `phone_number` varchar(20) NOT NULL DEFAULT '' COMMENT 'Phone Number',
  `company_name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Company Name',
  `skus` varchar(255) NOT NULL DEFAULT '' COMMENT 'Skus',
  `issue_types` varchar(255) NOT NULL DEFAULT '' COMMENT 'Issue Types',
  `payment_status` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Payment Status',
  `quote_id` int(10) unsigned NOT NULL COMMENT 'Quote id',
  `order_id` int(10) unsigned DEFAULT NULL COMMENT 'Order id',
  `have_agreement` varchar(10) NOT NULL DEFAULT '' COMMENT 'Have Agreement',
  `quoted_price` decimal(10,2) DEFAULT NULL COMMENT 'Quoted price',
  `quotation` text COMMENT 'Quotation',
  `service_report` text COMMENT 'Service Report',
  `comments` text COMMENT 'Customer Comments',
  `store_view` varchar(255) NOT NULL DEFAULT '' COMMENT 'Store View',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Modified At',
  `city` varchar(255) NOT NULL DEFAULT '' COMMENT 'city',
  `street` varchar(255) NOT NULL DEFAULT '' COMMENT 'street',
  `country_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'country_id',
  `region` varchar(255) NOT NULL DEFAULT '' COMMENT 'region',
  `longitude` varchar(255) NOT NULL DEFAULT '' COMMENT 'longitude',
  `latitude` varchar(255) NOT NULL DEFAULT '' COMMENT 'latitude',
  `clusternumber` varchar(255) NOT NULL DEFAULT '' COMMENT 'Cluster Number',
  PRIMARY KEY (`service_call_id`),
  KEY `SERVICE_CALLS_QUOTE_ID_QUOTE_ENTITY_ID` (`quote_id`),
  KEY `SERVICE_CALLS_SERVICE_CALL_ID` (`service_call_id`),
  CONSTRAINT `SERVICE_CALLS_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Service Calls';

--
-- Dumping data for table `service_calls`
--


--
-- Table structure for table `service_plans`
--

CREATE TABLE `service_plans` (
  `service_plan_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Maintenance Plans id',
  `increment_id` varchar(20) NOT NULL DEFAULT '' COMMENT 'Increment id',
  `status` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Status',
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer id',
  `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Name',
  `email_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Email Id',
  `phone_number` varchar(20) NOT NULL DEFAULT '' COMMENT 'Phone Number',
  `brand` varchar(255) NOT NULL DEFAULT '' COMMENT 'Brand',
  `series` varchar(255) NOT NULL DEFAULT '' COMMENT 'Series',
  `model` varchar(20) NOT NULL DEFAULT '' COMMENT 'Model',
  `company_name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Company Name',
  `skus` varchar(255) NOT NULL DEFAULT '' COMMENT 'Skus',
  `clusternumber` varchar(255) NOT NULL DEFAULT '' COMMENT 'Cluster Number',
  `qtys` varchar(255) NOT NULL DEFAULT '' COMMENT 'Quantities',
  `store_view` varchar(255) NOT NULL DEFAULT '' COMMENT 'Store View',
  `city` varchar(255) NOT NULL DEFAULT '' COMMENT 'city',
  `street` varchar(255) NOT NULL DEFAULT '' COMMENT 'street',
  `country_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'country_id',
  `region` varchar(255) NOT NULL DEFAULT '' COMMENT 'region',
  `longitude` varchar(255) NOT NULL DEFAULT '' COMMENT 'longitude',
  `latitude` varchar(255) NOT NULL DEFAULT '' COMMENT 'latitude',
  `payment_status` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Payment Status',
  `quote_id` int(10) unsigned NOT NULL COMMENT 'Quote id',
  `order_id` int(10) unsigned DEFAULT NULL COMMENT 'Order id',
  `service_plan_type` varchar(255) NOT NULL DEFAULT '' COMMENT 'Plan type',
  `quoted_price` decimal(10,2) DEFAULT NULL COMMENT 'Quoted price',
  `quotation` text COMMENT 'Quotation',
  `service_agreement` text COMMENT 'Service Agreement',
  `comments` text COMMENT 'Customer Comments',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `starts_at` datetime DEFAULT NULL COMMENT 'Starts At',
  `expires_at` datetime DEFAULT NULL COMMENT 'Expires At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Modified At',
  PRIMARY KEY (`service_plan_id`),
  KEY `SERVICE_PLANS_QUOTE_ID_QUOTE_ENTITY_ID` (`quote_id`),
  KEY `SERVICE_PLANS_SERVICE_PLAN_ID` (`service_plan_id`),
  CONSTRAINT `SERVICE_PLANS_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Maintenance Plans';

--
-- Dumping data for table `service_plans`
--


--
-- Table structure for table `setup_module`
--

CREATE TABLE `setup_module` (
  `module` varchar(50) NOT NULL COMMENT 'Module',
  `schema_version` varchar(50) DEFAULT NULL COMMENT 'Schema Version',
  `data_version` varchar(50) DEFAULT NULL COMMENT 'Data Version',
  PRIMARY KEY (`module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Module versions registry';

--
-- Dumping data for table `setup_module`
--

INSERT INTO `setup_module` VALUES ('Amazon_Core','4.2.2','4.2.2'),('Amazon_Login','4.2.2','4.2.2'),('Amazon_Payment','4.2.2','4.2.2'),('Ambab_Attributes','1.0.0','1.0.0'),('Ambab_Chekoutlogin','1.0.0','1.0.0'),('Ambab_DiscountFilter','1.0.0','1.0.0'),('Ambab_EstimatingDelivery','1.0.0','1.0.0'),('Ambab_PriceDecimal','2.1.0','2.1.0'),('Ambab_Services','1.0.1','1.0.1'),('Ambab_Subscribe','2.1.2','2.1.2'),('Dotdigitalgroup_Chat','1.5.0','1.5.0'),('Dotdigitalgroup_Email','4.12.0','4.12.0'),('Dotdigitalgroup_Sms','1.1.1','1.1.1'),('Hyperpay_Extension','2.0.0','2.0.0'),('Klarna_Core','6.2.4','6.2.4'),('Klarna_Kp','7.3.7','7.3.7'),('Klarna_KpGraphQl','0.9.7','0.9.7'),('Klarna_Onsitemessaging','1.0.6','1.0.6'),('Klarna_Ordermanagement','6.2.5','6.2.5'),('MageBig_AjaxCart','2.0.0','2.0.0'),('MageBig_Ajaxcompare','2.0.0','2.0.0'),('MageBig_AjaxFilter','2.0.0','2.0.0'),('MageBig_AjaxInfiniteScroll','2.0.0','2.0.0'),('MageBig_AjaxSearch','2.0.0','2.0.0'),('MageBig_Ajaxwishlist','2.0.0','2.0.0'),('MageBig_ExtendPageBuilder','2.0.0','2.0.0'),('MageBig_MbFrame','2.0.1','2.0.1'),('MageBig_MbLib','2.0.0','2.0.0'),('MageBig_NewsPopup','2.0.0','2.0.0'),('MageBig_QuickView','2.0.0','2.0.0'),('MageBig_Shopbybrand','2.0.1','2.0.1'),('MageBig_SmartMenu','2.0.1','2.0.1'),('MageBig_SocialLogin','3.0.0','3.0.0'),('MageBig_SyntaxCms','3.0.0','3.0.0'),('MageBig_WidgetPlus','2.0.0','2.0.0'),('MageBig_WysiwygFiles','2.0.0','2.0.0'),('Magefan_Blog','2.10.9','2.10.9'),('Magefan_Community','2.1.10','2.1.10'),('Magenman_Mobilelogin','2.1.2','2.1.2'),('Magento_ComposerRootUpdatePlugin','0.1.0','0.1.0'),('Magento_GoogleShoppingAds','4.0.1','4.0.1'),('Magento_Securitytxt','1.0.0','1.0.0'),('Mageplaza_Blog','2.5.2','2.5.2'),('Mageplaza_Core','1.0.0','1.0.0'),('Mageplaza_PdfInvoice','1.1.0','1.1.0'),('Mageplaza_Smtp','1.2.5','1.2.5'),('Mageplaza_SocialShare','1.0.0','1.0.0'),('Myvendor_GuestRegistration','1.0.0','1.0.0'),('PayPal_Braintree','4.0.3','4.0.3'),('Swissup_Marketplace','1.2.0','1.2.0'),('Vertex_AddressValidation','100.5.0','100.5.0'),('Webkul_GoogleMapPinAddress','3.0.0','3.0.0'),('Yotpo_Yotpo','3.2.0','3.2.0');

--
-- Table structure for table `shipping_tablerate`
--

CREATE TABLE `shipping_tablerate` (
  `pk` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `website_id` int(11) NOT NULL DEFAULT '0' COMMENT 'Website ID',
  `dest_country_id` varchar(4) NOT NULL DEFAULT '0' COMMENT 'Destination coutry ISO/2 or ISO/3 code',
  `dest_region_id` int(11) NOT NULL DEFAULT '0' COMMENT 'Destination Region ID',
  `dest_zip` varchar(10) NOT NULL DEFAULT '*' COMMENT 'Destination Post Code (Zip)',
  `condition_name` varchar(30) NOT NULL COMMENT 'Rate Condition name',
  `condition_value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Rate condition value',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `cost` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Cost',
  PRIMARY KEY (`pk`),
  UNIQUE KEY `UNQ_D60821CDB2AFACEE1566CFC02D0D4CAA` (`website_id`,`dest_country_id`,`dest_region_id`,`dest_zip`,`condition_name`,`condition_value`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='Shipping Tablerate';

--
-- Dumping data for table `shipping_tablerate`
--

INSERT INTO `shipping_tablerate` VALUES (1,1,'US',0,'*','package_value_with_discount',0.0000,15.0000,0.0000),(2,1,'US',0,'*','package_value_with_discount',50.0000,10.0000,0.0000),(3,1,'US',0,'*','package_value_with_discount',100.0000,5.0000,0.0000),(4,1,'US',2,'*','package_value_with_discount',0.0000,20.0000,0.0000),(5,1,'US',2,'*','package_value_with_discount',50.0000,15.0000,0.0000),(6,1,'US',2,'*','package_value_with_discount',100.0000,10.0000,0.0000),(7,1,'US',21,'*','package_value_with_discount',0.0000,20.0000,0.0000),(8,1,'US',21,'*','package_value_with_discount',50.0000,15.0000,0.0000),(9,1,'US',21,'*','package_value_with_discount',100.0000,10.0000,0.0000);

--
-- Table structure for table `sitemap`
--

CREATE TABLE `sitemap` (
  `sitemap_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Sitemap ID',
  `sitemap_type` varchar(32) DEFAULT NULL COMMENT 'Sitemap Type',
  `sitemap_filename` varchar(32) DEFAULT NULL COMMENT 'Sitemap Filename',
  `sitemap_path` varchar(255) DEFAULT NULL COMMENT 'Sitemap Path',
  `sitemap_time` timestamp NULL DEFAULT NULL COMMENT 'Sitemap Time',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  PRIMARY KEY (`sitemap_id`),
  KEY `SITEMAP_STORE_ID` (`store_id`),
  CONSTRAINT `SITEMAP_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='XML Sitemap';

--
-- Dumping data for table `sitemap`
--


--
-- Table structure for table `sms_forgot_otp`
--

CREATE TABLE `sms_forgot_otp` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Code ID',
  `created_time` date DEFAULT NULL COMMENT 'Created Time',
  `mobile` varchar(255) DEFAULT NULL COMMENT 'Mobile Number',
  `email` varchar(255) DEFAULT NULL COMMENT 'Customer Email',
  `ipaddress` varchar(255) DEFAULT NULL COMMENT 'IP Address',
  `random_code` varchar(255) DEFAULT NULL COMMENT 'Random Code',
  `is_verify` int(11) DEFAULT NULL COMMENT 'Is verify',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='sms_forgot_otp';

--
-- Dumping data for table `sms_forgot_otp`
--


--
-- Table structure for table `sms_login_otp`
--

CREATE TABLE `sms_login_otp` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Code ID',
  `random_code` varchar(255) DEFAULT NULL COMMENT 'Random Code',
  `created_time` date DEFAULT NULL COMMENT 'Created Time',
  `mobile` varchar(255) DEFAULT NULL COMMENT 'Mobile Number',
  `is_verify` int(11) DEFAULT NULL COMMENT 'Is verify',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='sms_login_otp';

--
-- Dumping data for table `sms_login_otp`
--


--
-- Table structure for table `sms_register_otp`
--

CREATE TABLE `sms_register_otp` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Code ID',
  `random_code` varchar(255) DEFAULT NULL COMMENT 'Random Code',
  `created_time` date DEFAULT NULL COMMENT 'Created Time',
  `mobile` varchar(255) DEFAULT NULL COMMENT 'Mobile Number',
  `is_verify` int(11) DEFAULT NULL COMMENT 'Is verify',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='sms_register_otp';

--
-- Dumping data for table `sms_register_otp`
--


--
-- Table structure for table `store`
--

CREATE TABLE `store` (
  `store_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Store ID',
  `code` varchar(32) DEFAULT NULL COMMENT 'Code',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website ID',
  `group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Group ID',
  `name` varchar(255) NOT NULL COMMENT 'Store Name',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Sort Order',
  `is_active` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Activity',
  PRIMARY KEY (`store_id`),
  UNIQUE KEY `STORE_CODE` (`code`),
  KEY `STORE_WEBSITE_ID` (`website_id`),
  KEY `STORE_IS_ACTIVE_SORT_ORDER` (`is_active`,`sort_order`),
  KEY `STORE_GROUP_ID` (`group_id`),
  CONSTRAINT `STORE_GROUP_ID_STORE_GROUP_GROUP_ID` FOREIGN KEY (`group_id`) REFERENCES `store_group` (`group_id`) ON DELETE CASCADE,
  CONSTRAINT `STORE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Stores';

--
-- Dumping data for table `store`
--

INSERT INTO `store` VALUES (0,'admin',0,0,'Admin',0,1),(1,'default',1,1,'English - EN',0,1),(2,'ar',1,1,'عربي - AR',1,1);

--
-- Table structure for table `store_group`
--

CREATE TABLE `store_group` (
  `group_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Group ID',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website ID',
  `name` varchar(255) NOT NULL COMMENT 'Store Group Name',
  `root_category_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Root Category ID',
  `default_store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Default Store ID',
  `code` varchar(32) DEFAULT NULL COMMENT 'Store group unique code',
  PRIMARY KEY (`group_id`),
  UNIQUE KEY `STORE_GROUP_CODE` (`code`),
  KEY `STORE_GROUP_WEBSITE_ID` (`website_id`),
  KEY `STORE_GROUP_DEFAULT_STORE_ID` (`default_store_id`),
  CONSTRAINT `STORE_GROUP_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Store Groups';

--
-- Dumping data for table `store_group`
--

INSERT INTO `store_group` VALUES (0,0,'Default',0,0,'default'),(1,1,'Main Website Store',2,1,'main_website_store');

--
-- Table structure for table `store_website`
--

CREATE TABLE `store_website` (
  `website_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Website ID',
  `code` varchar(32) DEFAULT NULL COMMENT 'Code',
  `name` varchar(64) DEFAULT NULL COMMENT 'Website Name',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  `default_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Default Group ID',
  `is_default` smallint(5) unsigned DEFAULT '0' COMMENT 'Defines Is Website Default',
  PRIMARY KEY (`website_id`),
  UNIQUE KEY `STORE_WEBSITE_CODE` (`code`),
  KEY `STORE_WEBSITE_SORT_ORDER` (`sort_order`),
  KEY `STORE_WEBSITE_DEFAULT_GROUP_ID` (`default_group_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Websites';

--
-- Dumping data for table `store_website`
--

INSERT INTO `store_website` VALUES (0,'admin','Admin',0,0,0),(1,'base','Main Website',0,1,1);

--
-- Table structure for table `swissup_marketplace_job`
--

CREATE TABLE `swissup_marketplace_job` (
  `job_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `cron_schedule_id` int(10) unsigned DEFAULT NULL COMMENT 'Cron Schedule ID',
  `class` varchar(255) DEFAULT NULL COMMENT 'Job Class',
  `arguments_serialized` mediumtext COMMENT 'Job Arguments',
  `status` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Job Status',
  `visibility` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Job Visibility',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Create Time',
  `scheduled_at` timestamp NULL DEFAULT NULL COMMENT 'Schedule Time',
  `started_at` timestamp NULL DEFAULT NULL COMMENT 'Start Time',
  `finished_at` timestamp NULL DEFAULT NULL COMMENT 'Finish Time',
  `attempts` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Attempts',
  `output` text COMMENT 'Output',
  `signature` varchar(64) DEFAULT NULL COMMENT 'Signature',
  PRIMARY KEY (`job_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='swissup_marketplace_job';

--
-- Dumping data for table `swissup_marketplace_job`
--


--
-- Table structure for table `tax_calculation`
--

CREATE TABLE `tax_calculation` (
  `tax_calculation_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Tax Calculation ID',
  `tax_calculation_rate_id` int(11) NOT NULL COMMENT 'Tax Calculation Rate ID',
  `tax_calculation_rule_id` int(11) NOT NULL COMMENT 'Tax Calculation Rule ID',
  `customer_tax_class_id` smallint(6) NOT NULL COMMENT 'Customer Tax Class ID',
  `product_tax_class_id` smallint(6) NOT NULL COMMENT 'Product Tax Class ID',
  PRIMARY KEY (`tax_calculation_id`),
  KEY `TAX_CALCULATION_TAX_CALCULATION_RULE_ID` (`tax_calculation_rule_id`),
  KEY `TAX_CALCULATION_CUSTOMER_TAX_CLASS_ID` (`customer_tax_class_id`),
  KEY `TAX_CALCULATION_PRODUCT_TAX_CLASS_ID` (`product_tax_class_id`),
  KEY `TAX_CALC_TAX_CALC_RATE_ID_CSTR_TAX_CLASS_ID_PRD_TAX_CLASS_ID` (`tax_calculation_rate_id`,`customer_tax_class_id`,`product_tax_class_id`),
  CONSTRAINT `TAX_CALCULATION_CUSTOMER_TAX_CLASS_ID_TAX_CLASS_CLASS_ID` FOREIGN KEY (`customer_tax_class_id`) REFERENCES `tax_class` (`class_id`) ON DELETE CASCADE,
  CONSTRAINT `TAX_CALCULATION_PRODUCT_TAX_CLASS_ID_TAX_CLASS_CLASS_ID` FOREIGN KEY (`product_tax_class_id`) REFERENCES `tax_class` (`class_id`) ON DELETE CASCADE,
  CONSTRAINT `TAX_CALC_TAX_CALC_RATE_ID_TAX_CALC_RATE_TAX_CALC_RATE_ID` FOREIGN KEY (`tax_calculation_rate_id`) REFERENCES `tax_calculation_rate` (`tax_calculation_rate_id`) ON DELETE CASCADE,
  CONSTRAINT `TAX_CALC_TAX_CALC_RULE_ID_TAX_CALC_RULE_TAX_CALC_RULE_ID` FOREIGN KEY (`tax_calculation_rule_id`) REFERENCES `tax_calculation_rule` (`tax_calculation_rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation';

--
-- Dumping data for table `tax_calculation`
--

INSERT INTO `tax_calculation` VALUES (3,4,1,3,2),(4,4,1,3,10);

--
-- Table structure for table `tax_calculation_rate`
--

CREATE TABLE `tax_calculation_rate` (
  `tax_calculation_rate_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Tax Calculation Rate ID',
  `tax_country_id` varchar(2) NOT NULL COMMENT 'Tax Country ID',
  `tax_region_id` int(11) NOT NULL COMMENT 'Tax Region ID',
  `tax_postcode` varchar(21) DEFAULT NULL COMMENT 'Tax Postcode',
  `code` varchar(255) NOT NULL COMMENT 'Code',
  `rate` decimal(12,4) NOT NULL COMMENT 'Rate',
  `zip_is_range` smallint(6) DEFAULT NULL COMMENT 'Zip Is Range',
  `zip_from` int(10) unsigned DEFAULT NULL COMMENT 'Zip From',
  `zip_to` int(10) unsigned DEFAULT NULL COMMENT 'Zip To',
  PRIMARY KEY (`tax_calculation_rate_id`),
  KEY `TAX_CALCULATION_RATE_TAX_COUNTRY_ID_TAX_REGION_ID_TAX_POSTCODE` (`tax_country_id`,`tax_region_id`,`tax_postcode`),
  KEY `TAX_CALCULATION_RATE_CODE` (`code`),
  KEY `IDX_CA799F1E2CB843495F601E56C84A626D` (`tax_calculation_rate_id`,`tax_country_id`,`tax_region_id`,`zip_is_range`,`tax_postcode`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rate';

--
-- Dumping data for table `tax_calculation_rate`
--

INSERT INTO `tax_calculation_rate` VALUES (4,'SA',0,'*','KSA-VAT',15.0000,NULL,NULL,NULL);

--
-- Table structure for table `tax_calculation_rate_title`
--

CREATE TABLE `tax_calculation_rate_title` (
  `tax_calculation_rate_title_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Tax Calculation Rate Title ID',
  `tax_calculation_rate_id` int(11) NOT NULL COMMENT 'Tax Calculation Rate ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  `value` varchar(255) NOT NULL COMMENT 'Value',
  PRIMARY KEY (`tax_calculation_rate_title_id`),
  KEY `TAX_CALCULATION_RATE_TITLE_TAX_CALCULATION_RATE_ID_STORE_ID` (`tax_calculation_rate_id`,`store_id`),
  KEY `TAX_CALCULATION_RATE_TITLE_STORE_ID` (`store_id`),
  CONSTRAINT `FK_37FB965F786AD5897BB3AE90470C42AB` FOREIGN KEY (`tax_calculation_rate_id`) REFERENCES `tax_calculation_rate` (`tax_calculation_rate_id`) ON DELETE CASCADE,
  CONSTRAINT `TAX_CALCULATION_RATE_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rate Title';

--
-- Dumping data for table `tax_calculation_rate_title`
--

INSERT INTO `tax_calculation_rate_title` VALUES (1,4,1,'VAT (15%)'),(2,4,2,'ضريبة القيمة المضافة (15%)');

--
-- Table structure for table `tax_calculation_rule`
--

CREATE TABLE `tax_calculation_rule` (
  `tax_calculation_rule_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Tax Calculation Rule ID',
  `code` varchar(255) NOT NULL COMMENT 'Code',
  `priority` int(11) NOT NULL COMMENT 'Priority',
  `position` int(11) NOT NULL COMMENT 'Position',
  `calculate_subtotal` int(11) NOT NULL COMMENT 'Calculate off subtotal option',
  PRIMARY KEY (`tax_calculation_rule_id`),
  KEY `TAX_CALCULATION_RULE_PRIORITY_POSITION` (`priority`,`position`),
  KEY `TAX_CALCULATION_RULE_CODE` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rule';

--
-- Dumping data for table `tax_calculation_rule`
--

INSERT INTO `tax_calculation_rule` VALUES (1,'tax-rule-ksa',0,0,0);

--
-- Table structure for table `tax_class`
--

CREATE TABLE `tax_class` (
  `class_id` smallint(6) NOT NULL AUTO_INCREMENT COMMENT 'Class ID',
  `class_name` varchar(255) NOT NULL COMMENT 'Class Name',
  `class_type` varchar(8) NOT NULL DEFAULT 'CUSTOMER' COMMENT 'Class Type',
  PRIMARY KEY (`class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='Tax Class';

--
