-- Dumping data for table `rating_store`
--

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

--
-- Table structure for table `rating_title`
--

CREATE TABLE `rating_title` (
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `value` varchar(255) NOT NULL COMMENT 'Rating Label',
  PRIMARY KEY (`rating_id`,`store_id`),
  KEY `RATING_TITLE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating Title';

--
-- Table structure for table `report_compared_product_index`
--

CREATE TABLE `report_compared_product_index` (
  `index_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Index Id',
  `visitor_id` int(10) unsigned DEFAULT NULL COMMENT 'Visitor Id',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer Id',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
  `added_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Added At',
  PRIMARY KEY (`index_id`),
  UNIQUE KEY `REPORT_COMPARED_PRODUCT_INDEX_VISITOR_ID_PRODUCT_ID` (`visitor_id`,`product_id`),
  UNIQUE KEY `REPORT_COMPARED_PRODUCT_INDEX_CUSTOMER_ID_PRODUCT_ID` (`customer_id`,`product_id`),
  KEY `REPORT_COMPARED_PRODUCT_INDEX_STORE_ID` (`store_id`),
  KEY `REPORT_COMPARED_PRODUCT_INDEX_ADDED_AT` (`added_at`),
  KEY `REPORT_COMPARED_PRODUCT_INDEX_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='Reports Compared Product Index Table';

--
-- Dumping data for table `report_compared_product_index`
--

INSERT INTO `report_compared_product_index` VALUES (1,'310',NULL,'10',NULL,'2017-11-29 10:36:31'),(2,'388','3','20',1,'2017-11-30 11:52:53'),(3,NULL,'3','19',NULL,'2017-11-30 11:52:57'),(4,NULL,'3','18',NULL,'2017-11-30 11:53:00'),(5,NULL,'3','13',1,'2017-12-01 14:54:21'),(6,NULL,'3','12',1,'2017-12-01 14:54:35'),(7,NULL,'3','11',1,'2017-12-01 14:56:23'),(8,NULL,'3','14',1,'2017-12-01 14:57:14'),(9,'368',NULL,'20',NULL,'2017-12-01 15:33:41'),(10,'369',NULL,'20',NULL,'2017-12-01 15:38:14'),(11,'431',NULL,'13',NULL,'2017-12-28 10:45:01');

--
-- Table structure for table `report_event`
--

CREATE TABLE `report_event` (
  `event_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Event Id',
  `logged_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Logged At',
  `event_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Event Type Id',
  `object_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Object Id',
  `subject_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Subject Id',
  `subtype` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Subtype',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  PRIMARY KEY (`event_id`),
  KEY `REPORT_EVENT_EVENT_TYPE_ID` (`event_type_id`),
  KEY `REPORT_EVENT_SUBJECT_ID` (`subject_id`),
  KEY `REPORT_EVENT_OBJECT_ID` (`object_id`),
  KEY `REPORT_EVENT_SUBTYPE` (`subtype`),
  KEY `REPORT_EVENT_STORE_ID` (`store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=163 DEFAULT CHARSET=utf8 COMMENT='Reports Event Table';

--
-- Dumping data for table `report_event`
--

INSERT INTO `report_event` VALUES (1,'2016-03-15 21:12:56',1,'1','4',1,1),(2,'2016-03-15 21:16:42',1,'1','4',1,1),(3,'2016-03-15 21:19:06',1,'1','4',1,1),(4,'2016-03-15 21:24:00',1,'1','4',1,1),(5,'2016-03-15 21:27:05',1,'1','1',0,1),(6,'2016-03-15 21:27:34',1,'1','1',0,1),(7,'2016-03-15 21:31:20',1,'1','1',0,1),(8,'2016-03-15 21:32:33',1,'1','1',0,1),(9,'2016-03-15 21:34:27',1,'1','1',0,1),(10,'2016-03-15 21:35:17',5,'1','1',0,1),(11,'2016-03-15 21:39:24',1,'1','1',0,1),(12,'2016-03-15 21:49:39',1,'2','1',0,1),(13,'2016-03-15 21:50:44',1,'2','1',0,1),(14,'2016-03-15 21:52:34',1,'2','1',0,1),(15,'2016-03-15 22:06:45',1,'3','1',0,1),(16,'2016-03-15 22:09:09',1,'3','1',0,1),(17,'2016-03-15 22:09:33',1,'3','1',0,1),(18,'2016-03-15 22:10:47',1,'3','1',0,1),(19,'2016-03-15 22:13:29',1,'3','1',0,1),(20,'2016-03-15 22:14:23',1,'3','1',0,1),(21,'2016-03-15 22:19:51',1,'3','1',0,1),(22,'2016-03-15 22:32:49',1,'3','5',1,1),(23,'2016-03-15 22:33:11',1,'3','5',1,1),(24,'2016-03-15 22:33:35',1,'3','5',1,1),(25,'2016-03-15 22:34:51',1,'3','5',1,1),(26,'2016-03-15 22:35:50',1,'3','5',1,1),(27,'2016-03-15 22:36:32',1,'3','5',1,1),(28,'2016-03-15 22:39:06',1,'3','5',1,1),(29,'2016-03-15 22:45:01',1,'3','5',1,1),(30,'2016-03-15 22:49:35',1,'3','5',1,1),(31,'2016-03-15 23:03:52',1,'37','5',1,1),(32,'2016-03-15 23:05:55',1,'37','5',1,1),(33,'2016-03-15 23:11:50',1,'3','5',1,1),(34,'2016-03-21 01:28:46',1,'3','9',1,1),(35,'2016-03-21 01:30:36',3,'3','9',1,1),(36,'2016-03-21 01:30:44',1,'3','9',1,1),(37,'2017-10-23 16:47:29',1,'5','156',1,1),(38,'2017-10-23 18:00:41',1,'12','2',0,1),(39,'2017-10-23 18:00:41',1,'1','2',0,1),(40,'2017-10-23 18:00:41',1,'13','2',0,1),(41,'2017-10-23 18:00:42',1,'14','2',0,1),(42,'2017-10-23 18:00:43',1,'15','2',0,1),(43,'2017-10-23 18:00:43',1,'16','2',0,1),(44,'2017-10-23 18:00:44',1,'17','2',0,1),(45,'2017-10-23 18:00:45',1,'18','2',0,1),(46,'2017-10-23 18:00:45',1,'19','2',0,1),(47,'2017-10-23 18:00:46',1,'11','2',0,1),(48,'2017-10-23 18:00:47',1,'10','2',0,1),(49,'2017-10-23 18:00:47',1,'2','2',0,1),(50,'2017-10-23 18:00:48',1,'3','2',0,1),(51,'2017-10-23 18:00:49',1,'4','2',0,1),(52,'2017-10-23 18:00:49',1,'5','2',0,1),(53,'2017-10-23 18:00:51',1,'6','2',0,1),(54,'2017-10-23 18:00:51',1,'7','2',0,1),(55,'2017-10-23 18:00:52',1,'8','2',0,1),(56,'2017-10-23 18:00:53',1,'9','2',0,1),(57,'2017-10-23 18:00:54',1,'20','2',0,1),(58,'2017-10-23 18:01:16',1,'1','2',0,1),(59,'2017-10-23 18:01:23',1,'12','2',0,1),(60,'2017-10-23 18:01:30',1,'13','2',0,1),(61,'2017-10-23 18:01:37',1,'14','2',0,1),(62,'2017-10-23 18:01:44',1,'15','2',0,1),(63,'2017-10-23 18:01:54',1,'16','2',0,1),(64,'2017-10-23 18:02:00',1,'17','2',0,1),(65,'2017-10-23 18:02:07',1,'18','2',0,1),(66,'2017-10-23 18:02:13',1,'19','2',0,1),(67,'2017-10-23 18:02:19',1,'11','2',0,1),(68,'2017-10-23 18:02:33',1,'10','2',0,1),(69,'2017-10-23 18:02:38',1,'2','2',0,1),(70,'2017-10-23 18:02:44',1,'3','2',0,1),(71,'2017-10-23 18:02:54',1,'4','2',0,1),(72,'2017-10-23 18:03:02',1,'5','2',0,1),(73,'2017-10-23 18:03:09',1,'6','2',0,1),(74,'2017-10-23 18:03:16',1,'7','2',0,1),(75,'2017-10-23 18:03:22',1,'8','2',0,1),(76,'2017-10-23 18:03:30',1,'9','2',0,1),(77,'2017-10-23 18:03:38',1,'20','2',0,1),(78,'2017-10-23 18:03:46',4,'9','2',0,1),(79,'2017-10-23 18:03:51',1,'9','2',0,1),(80,'2017-10-23 18:04:08',1,'4','2',0,1),(81,'2017-10-23 18:04:16',1,'2','2',0,1),(82,'2017-10-23 18:04:26',1,'14','2',0,1),(83,'2017-10-23 18:04:32',1,'1','2',0,1),(84,'2017-10-23 18:04:42',1,'17','2',0,1),(85,'2017-10-23 18:04:42',4,'1','2',0,1),(86,'2017-10-23 18:04:47',4,'12','2',0,1),(87,'2017-10-23 18:04:52',4,'14','2',0,1),(88,'2017-10-23 18:04:58',4,'15','2',0,1),(89,'2017-10-23 18:05:03',4,'17','2',0,1),(90,'2017-10-23 18:05:07',4,'19','2',0,1),(91,'2017-10-23 18:05:13',4,'11','2',0,1),(92,'2017-10-23 18:05:15',4,'10','2',0,1),(93,'2017-10-23 18:05:17',4,'2','2',0,1),(94,'2017-10-23 18:16:13',1,'1','2',0,1),(95,'2017-10-23 18:16:13',1,'15','2',0,1),(96,'2017-10-23 18:16:14',1,'16','2',0,1),(97,'2017-10-23 18:16:15',1,'18','2',0,1),(98,'2017-11-14 14:07:08',1,'14','185',1,1),(99,'2017-11-14 14:07:27',4,'14','185',1,1),(100,'2017-11-14 15:05:36',4,'9','185',1,1),(101,'2017-11-14 15:05:43',4,'10','185',1,1),(102,'2017-11-14 15:05:49',1,'11','185',1,1),(103,'2017-11-14 15:05:58',4,'11','185',1,1),(104,'2017-11-14 15:07:15',4,'11','185',1,1),(105,'2017-11-14 15:07:17',1,'11','185',1,1),(106,'2017-11-14 15:11:39',1,'15','185',1,1),(107,'2017-11-14 15:11:47',4,'15','185',1,1),(108,'2017-11-14 15:11:56',1,'3','185',1,1),(109,'2017-11-14 15:12:04',4,'3','185',1,1),(110,'2017-11-14 15:12:15',1,'5','185',1,1),(111,'2017-11-14 15:12:23',4,'5','185',1,1),(112,'2017-11-14 15:12:29',1,'6','185',1,1),(113,'2017-11-14 15:12:42',1,'2','185',1,1),(114,'2017-11-14 15:12:48',4,'2','185',1,1),(115,'2017-11-14 15:35:30',1,'14','185',1,1),(116,'2017-11-14 15:37:38',1,'14','185',1,1),(117,'2017-11-15 12:48:30',1,'18','197',1,1),(118,'2017-11-28 11:01:57',1,'11','242',1,1),(119,'2017-11-29 10:36:31',3,'10','310',1,1),(120,'2017-11-29 11:07:24',1,'20','310',1,1),(121,'2017-11-30 11:52:53',3,'20','3',0,1),(122,'2017-11-30 11:52:57',3,'19','3',0,1),(123,'2017-11-30 11:53:00',3,'18','3',0,1),(124,'2017-11-30 11:53:05',1,'20','3',0,1),(125,'2017-11-30 11:53:15',4,'20','3',0,1),(126,'2017-11-30 11:58:23',1,'20','3',0,1),(127,'2017-11-30 11:58:53',1,'20','3',0,1),(128,'2017-11-30 11:59:50',1,'20','3',0,1),(129,'2017-11-30 12:22:14',1,'19','3',0,1),(130,'2017-12-01 14:14:43',1,'14','354',1,1),(131,'2017-12-01 14:16:06',1,'2','354',1,1),(132,'2017-12-01 14:16:09',1,'2','354',1,1),(133,'2017-12-01 14:54:21',3,'13','354',1,1),(134,'2017-12-01 14:54:35',3,'12','354',1,1),(135,'2017-12-01 14:56:23',3,'11','354',1,1),(136,'2017-12-01 14:57:14',3,'14','354',1,1),(137,'2017-12-01 15:06:40',1,'18','354',1,1),(138,'2017-12-01 15:07:47',1,'20','354',1,1),(139,'2017-12-01 15:10:28',1,'2','365',1,1),(140,'2017-12-01 15:20:23',4,'20','354',1,1),(141,'2017-12-01 15:30:32',1,'19','3',0,1),(142,'2017-12-01 15:33:41',3,'20','368',1,1),(143,'2017-12-01 15:38:14',3,'20','369',1,1),(144,'2017-12-06 11:56:56',3,'20','388',1,1),(145,'2017-12-06 12:12:32',1,'15','388',1,1),(146,'2017-12-06 12:18:49',4,'10','388',1,1),(147,'2017-12-06 12:38:50',4,'10','3',0,1),(148,'2017-12-12 13:02:28',4,'2','411',1,1),(149,'2017-12-13 13:00:34',1,'18','416',1,1),(150,'2017-12-13 13:00:53',4,'18','416',1,1),(151,'2017-12-13 13:10:06',1,'20','416',1,1),(152,'2017-12-13 13:12:55',1,'20','416',1,1),(153,'2017-12-28 10:45:01',3,'13','431',1,1),(154,'2018-01-11 14:56:43',1,'11','460',1,1),(155,'2018-01-11 14:58:42',1,'11','461',1,1),(156,'2018-01-11 15:06:43',1,'11','462',1,1),(157,'2018-01-11 15:08:18',1,'11','463',1,1),(158,'2018-01-11 15:11:46',1,'11','464',1,1),(159,'2018-01-11 15:16:21',1,'11','465',1,1),(160,'2018-01-11 15:18:26',1,'11','466',1,1),(161,'2018-01-11 15:20:39',1,'11','467',1,1),(162,'2018-01-11 15:24:54',1,'15','473',1,1);

--
-- Table structure for table `report_event_types`
--

CREATE TABLE `report_event_types` (
  `event_type_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Event Type Id',
  `event_name` varchar(64) NOT NULL COMMENT 'Event Name',
  `customer_login` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Login',
  PRIMARY KEY (`event_type_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='Reports Event Type Table';

--
-- Dumping data for table `report_event_types`
--

INSERT INTO `report_event_types` VALUES (1,'catalog_product_view',0),(2,'sendfriend_product',0),(3,'catalog_product_compare_add_product',0),(4,'checkout_cart_add_product',0),(5,'wishlist_add_product',0),(6,'wishlist_share',0);

--
-- Table structure for table `report_viewed_product_aggregated_daily`
--

CREATE TABLE `report_viewed_product_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',
  `views_num` int(11) NOT NULL DEFAULT '0' COMMENT 'Number of Views',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `REPORT_VIEWED_PRD_AGGRED_DAILY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Daily';

--
-- Table structure for table `report_viewed_product_aggregated_monthly`
--

CREATE TABLE `report_viewed_product_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',
  `views_num` int(11) NOT NULL DEFAULT '0' COMMENT 'Number of Views',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `REPORT_VIEWED_PRD_AGGRED_MONTHLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Monthly';

--
-- Table structure for table `report_viewed_product_aggregated_yearly`
--

CREATE TABLE `report_viewed_product_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',
  `views_num` int(11) NOT NULL DEFAULT '0' COMMENT 'Number of Views',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `REPORT_VIEWED_PRD_AGGRED_YEARLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Yearly';

--
-- Table structure for table `report_viewed_product_index`
--

CREATE TABLE `report_viewed_product_index` (
  `index_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Index Id',
  `visitor_id` int(10) unsigned DEFAULT NULL COMMENT 'Visitor Id',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer Id',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
  `added_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Added At',
  PRIMARY KEY (`index_id`),
  UNIQUE KEY `REPORT_VIEWED_PRODUCT_INDEX_VISITOR_ID_PRODUCT_ID` (`visitor_id`,`product_id`),
  UNIQUE KEY `REPORT_VIEWED_PRODUCT_INDEX_CUSTOMER_ID_PRODUCT_ID` (`customer_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_INDEX_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_INDEX_ADDED_AT` (`added_at`),
  KEY `REPORT_VIEWED_PRODUCT_INDEX_PRODUCT_ID` (`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8 COMMENT='Reports Viewed Product Index Table';

--
-- Dumping data for table `report_viewed_product_index`
--

INSERT INTO `report_viewed_product_index` VALUES (1,'156',NULL,'5',1,'2017-10-23 16:47:28'),(2,NULL,'2','12',1,'2017-10-23 18:00:41'),(3,NULL,'2','1',1,'2017-10-23 18:00:41'),(4,NULL,'2','13',1,'2017-10-23 18:00:41'),(5,NULL,'2','14',1,'2017-10-23 18:00:42'),(6,NULL,'2','15',1,'2017-10-23 18:00:43'),(7,NULL,'2','16',1,'2017-10-23 18:00:43'),(8,NULL,'2','17',1,'2017-10-23 18:00:44'),(9,NULL,'2','18',1,'2017-10-23 18:00:45'),(10,NULL,'2','19',1,'2017-10-23 18:00:45'),(11,NULL,'2','11',1,'2017-10-23 18:00:46'),(12,NULL,'2','10',1,'2017-10-23 18:00:47'),(13,NULL,'2','2',1,'2017-10-23 18:00:47'),(14,NULL,'2','3',1,'2017-10-23 18:00:48'),(15,NULL,'2','4',1,'2017-10-23 18:00:49'),(16,NULL,'2','5',1,'2017-10-23 18:00:49'),(17,NULL,'2','6',1,'2017-10-23 18:00:51'),(18,NULL,'2','7',1,'2017-10-23 18:00:51'),(19,NULL,'2','8',1,'2017-10-23 18:00:52'),(20,NULL,'2','9',1,'2017-10-23 18:00:53'),(21,NULL,'2','20',1,'2017-10-23 18:00:53'),(22,'185',NULL,'14',1,'2017-11-14 14:07:08'),(23,'185',NULL,'11',1,'2017-11-14 15:05:49'),(25,'185',NULL,'15',1,'2017-11-14 15:11:39'),(26,'185',NULL,'3',1,'2017-11-14 15:11:56'),(27,'185',NULL,'5',1,'2017-11-14 15:12:15'),(28,'185',NULL,'6',1,'2017-11-14 15:12:29'),(29,'185',NULL,'2',1,'2017-11-14 15:12:42'),(30,'197',NULL,'18',1,'2017-11-15 12:48:30'),(31,'242',NULL,'11',1,'2017-11-28 11:01:57'),(32,'310',NULL,'20',1,'2017-11-29 11:07:24'),(33,NULL,'3','20',1,'2017-11-30 11:53:05'),(37,NULL,'3','19',1,'2017-11-30 12:22:14'),(38,NULL,'3','14',1,'2017-12-01 14:14:43'),(39,NULL,'3','2',1,'2017-12-01 14:16:06'),(41,NULL,'3','18',1,'2017-12-01 15:06:40'),(43,'365',NULL,'2',1,'2017-12-01 15:10:28'),(45,'388','3','15',1,'2017-12-06 12:12:32'),(46,'416',NULL,'18',1,'2017-12-13 13:00:34'),(47,'416',NULL,'20',1,'2017-12-13 13:10:06'),(48,'460',NULL,'11',1,'2018-01-11 14:56:43'),(49,'461',NULL,'11',1,'2018-01-11 14:58:42'),(50,'462',NULL,'11',1,'2018-01-11 15:06:43'),(51,'463',NULL,'11',1,'2018-01-11 15:08:18'),(52,'464',NULL,'11',1,'2018-01-11 15:11:46'),(53,'465',NULL,'11',1,'2018-01-11 15:16:21'),(54,'466',NULL,'11',1,'2018-01-11 15:18:26'),(55,'467',NULL,'11',1,'2018-01-11 15:20:39'),(56,'473',NULL,'15',1,'2018-01-11 15:24:54');

--
-- Table structure for table `reporting_counts`
--

CREATE TABLE `reporting_counts` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `type` varchar(255) DEFAULT NULL COMMENT 'Item Reported',
  `count` int(10) unsigned DEFAULT NULL COMMENT 'Count Value',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reporting for all count related events generated via the cron job';

--
-- Table structure for table `reporting_module_status`
--

CREATE TABLE `reporting_module_status` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Module Id',
  `name` varchar(255) DEFAULT NULL COMMENT 'Module Name',
  `active` varchar(255) DEFAULT NULL COMMENT 'Module Active Status',
  `setup_version` varchar(255) DEFAULT NULL COMMENT 'Module Version',
  `state` varchar(255) DEFAULT NULL COMMENT 'Module State',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Module Status Table';

--
-- 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(10,0) unsigned DEFAULT NULL,
  `total_base` decimal(10,0) 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';

--
-- 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';

--
-- 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';

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COMMENT='Review base information';

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

INSERT INTO `review` VALUES (1,'2017-10-23 18:01:15',1,'1',1),(2,'2017-10-23 18:01:22',1,'12',1),(3,'2017-10-23 18:01:29',1,'13',1),(4,'2017-10-23 18:01:36',1,'14',1),(5,'2017-10-23 18:01:43',1,'15',1),(6,'2017-10-23 18:01:53',1,'16',1),(7,'2017-10-23 18:01:59',1,'17',1),(8,'2017-10-23 18:02:06',1,'18',1),(9,'2017-10-23 18:02:12',1,'19',1),(10,'2017-10-23 18:02:18',1,'11',1),(11,'2017-10-23 18:02:32',1,'10',1),(12,'2017-10-23 18:02:37',1,'2',1),(13,'2017-10-23 18:02:43',1,'3',1),(14,'2017-10-23 18:02:53',1,'4',1),(15,'2017-10-23 18:03:01',1,'5',1),(16,'2017-10-23 18:03:08',1,'6',1),(17,'2017-10-23 18:03:15',1,'7',1),(18,'2017-10-23 18:03:21',1,'8',1),(19,'2017-10-23 18:03:29',1,'9',1),(20,'2017-10-23 18:03:37',1,'20',1),(21,'2017-10-23 18:03:50',1,'9',1),(22,'2017-10-23 18:04:07',1,'4',1),(23,'2017-10-23 18:04:15',1,'2',1),(24,'2017-10-23 18:04:25',1,'14',1),(25,'2017-10-23 18:04:31',1,'1',1),(26,'2017-10-23 18:04:41',1,'17',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`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COMMENT='Review detail information';

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

INSERT INTO `review_detail` VALUES (1,1,1,'nice','24/7 helpdesk is also available. I Love it!','Anika','2'),(2,2,1,'nice!','24/7 helpdesk is also available. I Love it!','Anika','2'),(3,3,1,'good','24/7 helpdesk is also available. I Love it!','Anika','2'),(4,4,1,'good','24/7 helpdesk is also available. I Love it!','Anika','2'),(5,5,1,'good','24/7 helpdesk is also available. I Love it!','Anika','2'),(6,6,1,'good','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(7,7,1,'good','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(8,8,1,'good','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(9,9,1,'good','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(10,10,1,'nice!','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(11,11,1,'good','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(12,12,1,'nice!','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(13,13,1,'nice!','This is a great online store. Their product line up is extensive, and very competitive in pricing, with very generous data quotas. ','Anika','2'),(14,14,1,'nice!','This store is the best, forget the rest!','Anika','2'),(15,15,1,'good','This store is the best, forget the rest!','Anika','2'),(16,16,1,'nice!','This store is the best, forget the rest!','Anika','2'),(17,17,1,'good','This store is the best, forget the rest!','Anika','2'),(18,18,1,'good','This store is the best, forget the rest!','Anika','2'),(19,19,1,'good','This store is the best, forget the rest!','Anika','2'),(20,20,1,'good','This store is the best, forget the rest!','Anika','2'),(21,21,1,'nice!','Great service from this store.','Anika','2'),(22,22,1,'good','Great service from this store.','Anika','2'),(23,23,1,'nice','Great service from this store.','Anika','2'),(24,24,1,'nice!','Great service from this store.','Anika','2'),(25,25,1,'good','Great service from this store.','Anika','2'),(26,26,1,'good','Thanks once again for such a great service.','Anika','2');

--
-- 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`),
  KEY `REVIEW_ENTITY_SUMMARY_STORE_ID` (`store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=81 DEFAULT CHARSET=utf8 COMMENT='Review aggregates';

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

INSERT INTO `review_entity_summary` VALUES (1,1,1,2,53,1),(4,12,1,1,60,1),(7,13,1,1,60,1),(10,14,1,2,53,1),(13,15,1,1,47,1),(16,16,1,1,47,1),(19,17,1,2,48,1),(22,18,1,1,53,1),(25,19,1,1,87,1),(28,11,1,1,67,1),(31,10,1,1,53,1),(34,2,1,2,50,1),(37,3,1,1,60,1),(40,4,1,2,60,1),(43,5,1,1,60,1),(46,6,1,1,60,1),(49,7,1,1,50,1),(52,8,1,1,73,1),(55,9,1,2,60,1),(58,20,1,1,80,1),(61,1,1,2,53,0),(62,2,1,2,50,0),(63,3,1,1,60,0),(64,4,1,2,60,0),(65,5,1,1,60,0),(66,6,1,1,60,0),(67,7,1,1,50,0),(68,8,1,1,73,0),(69,9,1,2,60,0),(70,10,1,1,53,0),(71,11,1,1,67,0),(72,12,1,1,60,0),(73,13,1,1,60,0),(74,14,1,2,53,0),(75,15,1,1,47,0),(76,16,1,1,47,0),(77,17,1,2,48,0),(78,18,1,1,53,0),(79,19,1,1,87,0),(80,20,1,1,80,0);

--
-- 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`)
) 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),(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);

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,4) DEFAULT NULL COMMENT 'Adjustment Positive',
  `base_shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `store_to_order_rate` decimal(12,4) DEFAULT NULL COMMENT 'Store To Order Rate',
  `base_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `base_to_order_rate` decimal(12,4) DEFAULT NULL COMMENT 'Base To Order Rate',
  `grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Grand Total',
  `base_adjustment_negative` decimal(12,4) DEFAULT NULL COMMENT 'Base Adjustment Negative',
  `base_subtotal_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal Incl Tax',
  `shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `subtotal_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `adjustment_negative` decimal(12,4) DEFAULT NULL COMMENT 'Adjustment Negative',
  `base_shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `store_to_base_rate` decimal(12,4) DEFAULT NULL COMMENT 'Store To Base Rate',
  `base_to_global_rate` decimal(12,4) DEFAULT NULL COMMENT 'Base To Global Rate',
  `base_adjustment` decimal(12,4) DEFAULT NULL COMMENT 'Base Adjustment',
  `base_subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal',
  `discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Amount',
  `subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal',
  `adjustment` decimal(12,4) DEFAULT NULL COMMENT 'Adjustment',
  `base_grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `base_adjustment_positive` decimal(12,4) DEFAULT NULL COMMENT 'Base Adjustment Positive',
  `base_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `tax_amount` decimal(12,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(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',
  `shipping_discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Discount Tax Compensation Amount',
  `base_shipping_discount_tax_compensation_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Discount Tax Compensation Amount',
  `shipping_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Incl Tax',
  `base_shipping_incl_tax` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat 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(12,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(12,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(12,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `adjustment_positive` decimal(12,4) DEFAULT NULL COMMENT 'Adjustment Positive',
  `adjustment_negative` decimal(12,4) DEFAULT NULL COMMENT 'Adjustment Negative',
  `order_base_grand_total` decimal(12,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';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo Item';

--
-- 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(12,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Tax Amount',
  `base_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `store_to_order_rate` decimal(12,4) DEFAULT NULL COMMENT 'Store To Order Rate',
  `base_shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `base_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `base_to_order_rate` decimal(12,4) DEFAULT NULL COMMENT 'Base To Order Rate',
  `grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Grand Total',
  `shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `subtotal_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `base_subtotal_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal Incl Tax',
  `store_to_base_rate` decimal(12,4) DEFAULT NULL COMMENT 'Store To Base Rate',
  `base_shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `total_qty` decimal(12,4) DEFAULT NULL COMMENT 'Total Qty',
  `base_to_global_rate` decimal(12,4) DEFAULT NULL COMMENT 'Base To Global Rate',
  `subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal',
  `base_subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal',
  `discount_amount` decimal(12,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(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',
  `shipping_discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Discount Tax Compensation Amount',
  `base_shipping_discount_tax_compensation_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Discount Tax Compensation Amount',
  `shipping_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Incl Tax',
  `base_shipping_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Incl Tax',
  `base_total_refunded` decimal(12,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',
  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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat 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(12,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(12,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Grand Total',
  `base_grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `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_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';

--
-- 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(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 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice Item';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Invoiced Aggregated Order';

--
-- Table structure for table `sales_order`
--

CREATE TABLE `sales_order` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `state` varchar(32) DEFAULT NULL COMMENT 'State',
  `status` varchar(32) DEFAULT NULL COMMENT 'Status',
  `coupon_code` varchar(255) DEFAULT NULL COMMENT 'Coupon Code',
  `protect_code` varchar(255) DEFAULT NULL COMMENT 'Protect Code',
  `shipping_description` varchar(255) DEFAULT NULL COMMENT 'Shipping Description',
  `is_virtual` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Virtual',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer Id',
  `base_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `base_discount_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Canceled',
  `base_discount_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Invoiced',
  `base_discount_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Refunded',
  `base_grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `base_shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `base_shipping_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Canceled',
  `base_shipping_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Invoiced',
  `base_shipping_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Refunded',
  `base_shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `base_shipping_tax_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Tax Refunded',
  `base_subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal',
  `base_subtotal_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal Canceled',
  `base_subtotal_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal Invoiced',
  `base_subtotal_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal Refunded',
  `base_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `base_tax_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Canceled',
  `base_tax_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Invoiced',
  `base_tax_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Refunded',
  `base_to_global_rate` decimal(12,4) DEFAULT NULL COMMENT 'Base To Global Rate',
  `base_to_order_rate` decimal(12,4) DEFAULT NULL COMMENT 'Base To Order Rate',
  `base_total_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Canceled',
  `base_total_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Invoiced',
  `base_total_invoiced_cost` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Invoiced Cost',
  `base_total_offline_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Offline Refunded',
  `base_total_online_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Online Refunded',
  `base_total_paid` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Paid',
  `base_total_qty_ordered` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Qty Ordered',
  `base_total_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Refunded',
  `discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Amount',
  `discount_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Discount Canceled',
  `discount_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Discount Invoiced',
  `discount_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Discount Refunded',
  `grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Grand Total',
  `shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `shipping_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Canceled',
  `shipping_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Invoiced',
  `shipping_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Refunded',
  `shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `shipping_tax_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Tax Refunded',
  `store_to_base_rate` decimal(12,4) DEFAULT NULL COMMENT 'Store To Base Rate',
  `store_to_order_rate` decimal(12,4) DEFAULT NULL COMMENT 'Store To Order Rate',
  `subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal',
  `subtotal_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal Canceled',
  `subtotal_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal Invoiced',
  `subtotal_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal Refunded',
  `tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Tax Amount',
  `tax_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Tax Canceled',
  `tax_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Tax Invoiced',
  `tax_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Tax Refunded',
  `total_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Total Canceled',
  `total_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Total Invoiced',
  `total_offline_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Total Offline Refunded',
  `total_online_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Total Online Refunded',
  `total_paid` decimal(12,4) DEFAULT NULL COMMENT 'Total Paid',
  `total_qty_ordered` decimal(12,4) DEFAULT NULL COMMENT 'Total Qty Ordered',
  `total_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Total Refunded',
  `can_ship_partially` smallint(5) unsigned DEFAULT NULL COMMENT 'Can Ship Partially',
  `can_ship_partially_item` smallint(5) unsigned DEFAULT NULL COMMENT 'Can Ship Partially Item',
  `customer_is_guest` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Is Guest',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  `billing_address_id` int(11) DEFAULT NULL COMMENT 'Billing Address Id',
  `customer_group_id` int(11) DEFAULT NULL,
  `edit_increment` int(11) DEFAULT NULL COMMENT 'Edit Increment',
  `email_sent` smallint(5) unsigned DEFAULT NULL COMMENT 'Email Sent',
  `send_email` smallint(5) unsigned DEFAULT NULL COMMENT 'Send Email',
  `forced_shipment_with_invoice` smallint(5) unsigned DEFAULT NULL COMMENT 'Forced Do Shipment With Invoice',
  `payment_auth_expiration` int(11) DEFAULT NULL COMMENT 'Payment Authorization Expiration',
  `quote_address_id` int(11) DEFAULT NULL COMMENT 'Quote Address Id',
  `quote_id` int(11) DEFAULT NULL COMMENT 'Quote Id',
  `shipping_address_id` int(11) DEFAULT NULL COMMENT 'Shipping Address Id',
  `adjustment_negative` decimal(12,4) DEFAULT NULL COMMENT 'Adjustment Negative',
  `adjustment_positive` decimal(12,4) DEFAULT NULL COMMENT 'Adjustment Positive',
  `base_adjustment_negative` decimal(12,4) DEFAULT NULL COMMENT 'Base Adjustment Negative',
  `base_adjustment_positive` decimal(12,4) DEFAULT NULL COMMENT 'Base Adjustment Positive',
  `base_shipping_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Discount Amount',
  `base_subtotal_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal Incl Tax',
  `base_total_due` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Due',
  `payment_authorization_amount` decimal(12,4) DEFAULT NULL COMMENT 'Payment Authorization Amount',
  `shipping_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Discount Amount',
  `subtotal_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `total_due` decimal(12,4) DEFAULT NULL COMMENT 'Total Due',
  `weight` decimal(12,4) DEFAULT NULL COMMENT 'Weight',
  `customer_dob` datetime DEFAULT NULL COMMENT 'Customer Dob',
  `increment_id` varchar(32) DEFAULT NULL COMMENT 'Increment Id',
  `applied_rule_ids` varchar(128) DEFAULT NULL COMMENT 'Applied Rule Ids',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `customer_email` varchar(128) DEFAULT NULL COMMENT 'Customer Email',
  `customer_firstname` varchar(128) DEFAULT NULL COMMENT 'Customer Firstname',
  `customer_lastname` varchar(128) DEFAULT NULL COMMENT 'Customer Lastname',
  `customer_middlename` varchar(128) DEFAULT NULL COMMENT 'Customer Middlename',
  `customer_prefix` varchar(32) DEFAULT NULL COMMENT 'Customer Prefix',
  `customer_suffix` varchar(32) DEFAULT NULL COMMENT 'Customer Suffix',
  `customer_taxvat` varchar(32) DEFAULT NULL COMMENT 'Customer Taxvat',
  `discount_description` varchar(255) DEFAULT NULL COMMENT 'Discount Description',
  `ext_customer_id` varchar(32) DEFAULT NULL COMMENT 'Ext Customer Id',
  `ext_order_id` varchar(32) DEFAULT NULL COMMENT 'Ext Order Id',
  `global_currency_code` varchar(3) DEFAULT NULL COMMENT 'Global Currency Code',
  `hold_before_state` varchar(32) DEFAULT NULL COMMENT 'Hold Before State',
  `hold_before_status` varchar(32) DEFAULT NULL COMMENT 'Hold Before Status',
  `order_currency_code` varchar(3) DEFAULT NULL COMMENT 'Order Currency Code',
  `original_increment_id` varchar(32) DEFAULT NULL COMMENT 'Original Increment Id',
  `relation_child_id` varchar(32) DEFAULT NULL COMMENT 'Relation Child Id',
  `relation_child_real_id` varchar(32) DEFAULT NULL COMMENT 'Relation Child Real Id',
  `relation_parent_id` varchar(32) DEFAULT NULL COMMENT 'Relation Parent Id',
  `relation_parent_real_id` varchar(32) DEFAULT NULL COMMENT 'Relation Parent Real Id',
  `remote_ip` varchar(32) DEFAULT NULL COMMENT 'Remote Ip',
  `shipping_method` varchar(120) DEFAULT NULL,
  `store_currency_code` varchar(3) DEFAULT NULL COMMENT 'Store Currency Code',
  `store_name` varchar(32) DEFAULT NULL COMMENT 'Store Name',
  `x_forwarded_for` varchar(32) DEFAULT NULL COMMENT 'X Forwarded For',
  `customer_note` text COMMENT 'Customer Note',
  `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',
  `total_item_count` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Total Item Count',
  `customer_gender` int(11) DEFAULT NULL COMMENT 'Customer Gender',
  `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',
  `shipping_discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Discount Tax Compensation Amount',
  `base_shipping_discount_tax_compensation_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Discount Tax Compensation Amount',
  `discount_tax_compensation_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Invoiced',
  `base_discount_tax_compensation_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Invoiced',
  `discount_tax_compensation_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Refunded',
  `base_discount_tax_compensation_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Refunded',
  `shipping_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Incl Tax',
  `base_shipping_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Incl Tax',
  `coupon_rule_name` varchar(255) DEFAULT NULL COMMENT 'Coupon Sales Rule Name',
  `paypal_ipn_customer_notified` int(11) DEFAULT '0' COMMENT 'Paypal Ipn Customer Notified',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message Id',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_ORDER_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_ORDER_STATUS` (`status`),
  KEY `SALES_ORDER_STATE` (`state`),
  KEY `SALES_ORDER_STORE_ID` (`store_id`),
  KEY `SALES_ORDER_CREATED_AT` (`created_at`),
  KEY `SALES_ORDER_CUSTOMER_ID` (`customer_id`),
  KEY `SALES_ORDER_EXT_ORDER_ID` (`ext_order_id`),
  KEY `SALES_ORDER_QUOTE_ID` (`quote_id`),
  KEY `SALES_ORDER_UPDATED_AT` (`updated_at`),
  KEY `SALES_ORDER_SEND_EMAIL` (`send_email`),
  KEY `SALES_ORDER_EMAIL_SENT` (`email_sent`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order';

--
-- Dumping data for table `sales_order`
--

INSERT INTO `sales_order` VALUES ('1','new','pending',NULL,'870d8497b4abd624705cb258ff930daf','Flat Rate - Fixed',0,1,NULL,'0.0000',NULL,NULL,NULL,'599.0000','45.0000',NULL,NULL,NULL,'0.0000',NULL,'554.0000',NULL,NULL,NULL,'0.0000',NULL,NULL,NULL,'1.0000','1.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0.0000',NULL,NULL,NULL,'599.0000','45.0000',NULL,NULL,NULL,'0.0000',NULL,'0.0000','0.0000','554.0000',NULL,NULL,NULL,'0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'9.0000',NULL,NULL,NULL,1,1,'2','0',NULL,1,1,NULL,NULL,NULL,'3','1',NULL,NULL,NULL,NULL,'0.0000','554.0000','599.0000',NULL,'0.0000','554.0000','599.0000','9.0000',NULL,'000000001',NULL,'USD','demo@demo.com',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,'10.0.2.2','flatrate_flatrate','USD','Main Website\nMain Website Store\n',NULL,NULL,'2017-11-14 15:22:46','2017-11-14 15:22:52',9,NULL,'0.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,'45.0000','45.0000',NULL,'0',NULL),('2','new','pending',NULL,'ff19441052c8b825f99ef6b2e01ed662','Flat Rate - Fixed',0,1,'3','0.0000',NULL,NULL,NULL,'39.0000','5.0000',NULL,NULL,NULL,'0.0000',NULL,'34.0000',NULL,NULL,NULL,'0.0000',NULL,NULL,NULL,'1.0000','1.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0.0000',NULL,NULL,NULL,'39.0000','5.0000',NULL,NULL,NULL,'0.0000',NULL,'0.0000','0.0000','34.0000',NULL,NULL,NULL,'0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'1.0000',NULL,NULL,NULL,0,1,'4','1',NULL,1,1,NULL,NULL,NULL,'4','3',NULL,NULL,NULL,NULL,'0.0000','34.0000','39.0000',NULL,'0.0000','34.0000','39.0000','1.0000',NULL,'000000002',NULL,'USD','demo@demo.com','demo','demo',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,'10.0.2.2','flatrate_flatrate','USD','Main Website\nMain Website Store\n',NULL,NULL,'2017-11-30 13:18:46','2017-11-30 13:18:47',1,NULL,'0.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,'5.0000','5.0000',NULL,'0',NULL);

--
-- 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',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_ORDER_ADDRESS_PARENT_ID` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Address';

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

INSERT INTO `sales_order_address` VALUES ('1','1',NULL,NULL,'1',NULL,NULL,'Alabama','55555','Demo','Demo','Demo','demo@demo.com','5555','US','Demo','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('2','1',NULL,NULL,'1',NULL,NULL,'Alabama','55555','Demo','Demo','Demo','demo@demo.com','5555','US','Demo','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('3','2','1',NULL,'19',NULL,NULL,'Georgia','55555','demo','demo','demo','demo@demo.com','55555','US','demo','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4','2',NULL,NULL,'19',NULL,NULL,'Georgia','55555','demo','demo','demo','demo@demo.com','55555','US','demo','billing',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(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Income Amount',
  `total_revenue_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Revenue Amount',
  `total_profit_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Profit Amount',
  `total_invoiced_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Invoiced Amount',
  `total_canceled_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Canceled Amount',
  `total_paid_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Paid Amount',
  `total_refunded_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Refunded Amount',
  `total_tax_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount',
  `total_tax_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount Actual',
  `total_shipping_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount',
  `total_shipping_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount Actual',
  `total_discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount',
  `total_discount_amount_actual` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Income Amount',
  `total_revenue_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Revenue Amount',
  `total_profit_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Profit Amount',
  `total_invoiced_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Invoiced Amount',
  `total_canceled_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Canceled Amount',
  `total_paid_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Paid Amount',
  `total_refunded_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Refunded Amount',
  `total_tax_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount',
  `total_tax_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount Actual',
  `total_shipping_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount',
  `total_shipping_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount Actual',
  `total_discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount',
  `total_discount_amount_actual` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `base_total_paid` decimal(12,4) DEFAULT NULL COMMENT 'Base Total Paid',
  `grand_total` decimal(12,4) DEFAULT NULL COMMENT 'Grand Total',
  `total_paid` decimal(12,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(12,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(12,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(12,4) DEFAULT NULL COMMENT 'Total Refunded',
  `signifyd_guarantee_status` varchar(32) DEFAULT NULL COMMENT 'Signifyd Guarantee Disposition Status',
  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`),
  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','pending',1,'Main Website\nMain Website Store\n',NULL,'599.0000',NULL,'599.0000',NULL,'000000001','USD','USD','Demo Demo','Demo Demo','2017-11-14 15:22:46','2017-11-14 15:22:46','Demo Demo Alabama 55555','Demo Demo Alabama 55555','Flat Rate - Fixed','demo@demo.com','0','554.0000','45.0000','','checkmo',NULL,NULL),('2','pending',1,'Main Website\nMain Website Store\n','3','39.0000',NULL,'39.0000',NULL,'000000002','USD','USD','demo demo','demo demo','2017-11-30 13:18:46','2017-11-30 13:18:46','demo demo Georgia 55555','demo demo Georgia 55555','Flat Rate - Fixed','demo@demo.com','1','34.0000','5.0000','demo demo','checkmo',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(12,4) DEFAULT '0.0000' COMMENT 'Tax Amount',
  `base_tax_amount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Tax Amount',
  `tax_invoiced` decimal(12,4) DEFAULT '0.0000' COMMENT 'Tax Invoiced',
  `base_tax_invoiced` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Tax Invoiced',
  `discount_percent` decimal(12,4) DEFAULT '0.0000' COMMENT 'Discount Percent',
  `discount_amount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Discount Amount',
  `base_discount_amount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Discount Amount',
  `discount_invoiced` decimal(12,4) DEFAULT '0.0000' COMMENT 'Discount Invoiced',
  `base_discount_invoiced` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Discount Invoiced',
  `amount_refunded` decimal(12,4) DEFAULT '0.0000' COMMENT 'Amount Refunded',
  `base_amount_refunded` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Amount Refunded',
  `row_total` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Row Total',
  `base_row_total` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Row Total',
  `row_invoiced` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Row Invoiced',
  `base_row_invoiced` decimal(12,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(12,4) DEFAULT NULL COMMENT 'Base Tax Before Discount',
  `tax_before_discount` decimal(12,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(12,4) DEFAULT NULL COMMENT 'Price Incl Tax',
  `base_price_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Price Incl Tax',
  `row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Row Total Incl Tax',
  `base_row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Row Total Incl Tax',
  `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',
  `discount_tax_compensation_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Invoiced',
  `base_discount_tax_compensation_invoiced` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Invoiced',
  `discount_tax_compensation_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Refunded',
  `base_discount_tax_compensation_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Refunded',
  `tax_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Tax Canceled',
  `discount_tax_compensation_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Canceled',
  `tax_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Tax Refunded',
  `base_tax_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Refunded',
  `discount_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Discount Refunded',
  `base_discount_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Refunded',
  `free_shipping` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Free Shipping',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message Id',
  `gift_message_available` int(11) DEFAULT NULL COMMENT 'Gift Message Available',
  `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 (`item_id`),
  KEY `SALES_ORDER_ITEM_ORDER_ID` (`order_id`),
  KEY `SALES_ORDER_ITEM_STORE_ID` (`store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Item';

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

INSERT INTO `sales_order_item` VALUES ('1','1',NULL,'13',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','14','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkvc29mdC1iZWFjaC1iYWcuaHRtbD9vcHRpb25zPWNhcnQ,\",\"product\":\"14\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"options\":{\"27\":\"66\",\"28\":\"68\"},\"qty\":\"1\"},\"options\":[{\"label\":\"Material\",\"value\":\"Leather\",\"print_value\":\"Leather\",\"option_id\":\"27\",\"option_type\":\"drop_down\",\"option_value\":\"66\",\"custom_view\":false},{\"label\":\"Pattern\",\"value\":\"Plain\",\"print_value\":\"Plain\",\"option_id\":\"28\",\"option_type\":\"drop_down\",\"option_value\":\"68\",\"custom_view\":false}]}','1.0000',0,'1197','Soft Beach Bag',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'61.0000','61.0000','41.0000','41.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','61.0000','61.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'61.0000','61.0000','61.0000','61.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('2','1',NULL,'14',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','9','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkv\",\"product\":\"9\",\"qty\":1}}','1.0000',0,'6521','Olive Linen Floral Skirt',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'39.0000','39.0000','39.0000','39.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','39.0000','39.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'39.0000','39.0000','39.0000','39.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('3','1',NULL,'15',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','10','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkv\",\"product\":\"10\",\"qty\":1}}','1.0000',0,'1165','Skye Wrap Dress',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'69.0000','69.0000','69.0000','69.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','69.0000','69.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'69.0000','69.0000','69.0000','69.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4','1',NULL,'16',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','11','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkvYXphbGVhLWJhY2twYWNrLmh0bWw_b3B0aW9ucz1jYXJ0\",\"product\":\"11\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"options\":{\"21\":\"51\",\"22\":\"53\"},\"qty\":\"1\"},\"options\":[{\"label\":\"Material\",\"value\":\"Leather\",\"print_value\":\"Leather\",\"option_id\":\"21\",\"option_type\":\"drop_down\",\"option_value\":\"51\",\"custom_view\":false},{\"label\":\"Pattern\",\"value\":\"Plain\",\"print_value\":\"Plain\",\"option_id\":\"22\",\"option_type\":\"drop_down\",\"option_value\":\"53\",\"custom_view\":false}]}','1.0000',0,'1321','Azalea Backpack',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'83.0000','83.0000','63.0000','63.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','83.0000','83.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'83.0000','83.0000','83.0000','83.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('5','1',NULL,'17',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','11','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkvYXphbGVhLWJhY2twYWNrLmh0bWw_b3B0aW9ucz1jYXJ0\",\"product\":\"11\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"options\":{\"21\":\"52\",\"22\":\"53\"},\"qty\":\"1\"},\"options\":[{\"label\":\"Material\",\"value\":\"Polyester\",\"print_value\":\"Polyester\",\"option_id\":\"21\",\"option_type\":\"drop_down\",\"option_value\":\"52\",\"custom_view\":false},{\"label\":\"Pattern\",\"value\":\"Plain\",\"print_value\":\"Plain\",\"option_id\":\"22\",\"option_type\":\"drop_down\",\"option_value\":\"53\",\"custom_view\":false}]}','1.0000',0,'1321','Azalea Backpack',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'68.0000','68.0000','63.0000','63.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','68.0000','68.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'68.0000','68.0000','68.0000','68.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('6','1',NULL,'18',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','15','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkvdG93bi14LXNtYWxsLmh0bWw_b3B0aW9ucz1jYXJ0\",\"product\":\"15\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"options\":{\"29\":\"71\",\"30\":\"73\"},\"qty\":\"1\"},\"options\":[{\"label\":\"Material\",\"value\":\"Leather\",\"print_value\":\"Leather\",\"option_id\":\"29\",\"option_type\":\"drop_down\",\"option_value\":\"71\",\"custom_view\":false},{\"label\":\"Pattern\",\"value\":\"Plain\",\"print_value\":\"Plain\",\"option_id\":\"30\",\"option_type\":\"drop_down\",\"option_value\":\"73\",\"custom_view\":false}]}','1.0000',0,'8766','Town X-Small',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'59.0000','59.0000','39.0000','39.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','59.0000','59.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'59.0000','59.0000','59.0000','59.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('7','1',NULL,'19',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','3','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkvYmVsbGEtbXVsdGktcHJpbnQtc2tpcnQuaHRtbA,,\",\"product\":\"3\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"qty\":\"1\"}}','1.0000',0,'6532','Bella Multi Print Skirts',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'55.0000','55.0000','55.0000','55.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','55.0000','55.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'55.0000','55.0000','55.0000','55.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('8','1',NULL,'20',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','5','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkvZGl0enktdGVlLWRyZXNzLmh0bWw,\",\"product\":\"5\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"qty\":\"1\"}}','1.0000',0,'8666','Ditzy Tee Dress',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'55.0000','55.0000','55.0000','55.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','55.0000','55.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'55.0000','55.0000','55.0000','55.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('9','1',NULL,'21',1,'2017-11-14 15:22:46','2017-11-14 15:22:46','2','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkvYXZlcnktb2ZmLXNob3VsZGVyLWRyZXNzLmh0bWw,\",\"product\":\"2\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"qty\":\"1\"}}','1.0000',0,'5654','Avery Off Shoulder Dress',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'65.0000','65.0000','65.0000','65.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','65.0000','65.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'65.0000','65.0000','65.0000','65.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('10','2',NULL,'22',1,'2017-11-30 13:18:46','2017-11-30 13:18:46','20','configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkveWVzLWRhcmxpbmctc2tpcnQuaHRtbA,,\",\"product\":\"20\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"super_attribute\":{\"145\":\"30\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"Color\",\"value\":\"green\",\"option_id\":145,\"option_value\":\"30\"}],\"simple_name\":\"1154-green\",\"simple_sku\":\"1154-green\",\"product_calculations\":1,\"shipment_type\":0}','1.0000',0,'1154-green','Yes Darling Skirt',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'34.0000','34.0000','34.0000','34.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','34.0000','34.0000','0.0000','0.0000','1.0000',NULL,NULL,NULL,NULL,NULL,'34.0000','34.0000','34.0000','34.0000','0.0000','0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('11','2','10','23',1,'2017-11-30 13:18:46','2017-11-30 13:18:46','33','simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovLzE5Mi4xNjguNDQuODIvdGhlbWUwOTkveWVzLWRhcmxpbmctc2tpcnQuaHRtbA,,\",\"product\":\"20\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"super_attribute\":{\"145\":\"30\"},\"qty\":\"1\"}}','1.0000',0,'1154-green','1154-green',NULL,NULL,NULL,0,0,NULL,'0.0000','0.0000','1.0000','0.0000','0.0000',NULL,'0.0000','0.0000','0.0000',NULL,'0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','0.0000','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,NULL,NULL,0,NULL,'0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `sales_order_payment`
--

CREATE TABLE `sales_order_payment` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent Id',
  `base_shipping_captured` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Captured',
  `shipping_captured` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Captured',
  `amount_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Amount Refunded',
  `base_amount_paid` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount Paid',
  `amount_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Amount Canceled',
  `base_amount_authorized` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount Authorized',
  `base_amount_paid_online` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount Paid Online',
  `base_amount_refunded_online` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount Refunded Online',
  `base_shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `shipping_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `amount_paid` decimal(12,4) DEFAULT NULL COMMENT 'Amount Paid',
  `amount_authorized` decimal(12,4) DEFAULT NULL COMMENT 'Amount Authorized',
  `base_amount_ordered` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount Ordered',
  `base_shipping_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Refunded',
  `shipping_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Refunded',
  `base_amount_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount Refunded',
  `amount_ordered` decimal(12,4) DEFAULT NULL COMMENT 'Amount Ordered',
  `base_amount_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount Canceled',
  `quote_payment_id` int(11) DEFAULT NULL COMMENT 'Quote Payment Id',
  `additional_data` text COMMENT 'Additional Data',
  `cc_exp_month` varchar(12) DEFAULT NULL COMMENT 'Cc Exp Month',
  `cc_ss_start_year` varchar(12) DEFAULT NULL COMMENT 'Cc Ss Start Year',
  `echeck_bank_name` varchar(128) DEFAULT NULL COMMENT 'Echeck Bank Name',
  `method` varchar(128) DEFAULT NULL COMMENT 'Method',
  `cc_debug_request_body` varchar(32) DEFAULT NULL COMMENT 'Cc Debug Request Body',
  `cc_secure_verify` varchar(32) DEFAULT NULL COMMENT 'Cc Secure Verify',
  `protection_eligibility` varchar(32) DEFAULT NULL COMMENT 'Protection Eligibility',
  `cc_approval` varchar(32) DEFAULT NULL COMMENT 'Cc Approval',
  `cc_last_4` varchar(100) DEFAULT NULL COMMENT 'Cc Last 4',
  `cc_status_description` varchar(32) DEFAULT NULL COMMENT 'Cc Status Description',
  `echeck_type` varchar(32) DEFAULT NULL COMMENT 'Echeck Type',
  `cc_debug_response_serialized` varchar(32) DEFAULT NULL COMMENT 'Cc Debug Response Serialized',
  `cc_ss_start_month` varchar(128) DEFAULT NULL COMMENT 'Cc Ss Start Month',
  `echeck_account_type` varchar(255) DEFAULT NULL COMMENT 'Echeck Account Type',
  `last_trans_id` varchar(32) DEFAULT NULL COMMENT 'Last Trans Id',
  `cc_cid_status` varchar(32) DEFAULT NULL COMMENT 'Cc Cid Status',
  `cc_owner` varchar(128) DEFAULT NULL COMMENT 'Cc Owner',
  `cc_type` varchar(32) DEFAULT NULL COMMENT 'Cc Type',
  `po_number` varchar(32) DEFAULT NULL COMMENT 'Po Number',
  `cc_exp_year` varchar(4) DEFAULT NULL COMMENT 'Cc Exp Year',
  `cc_status` varchar(4) DEFAULT NULL COMMENT 'Cc Status',
  `echeck_routing_number` varchar(32) DEFAULT NULL COMMENT 'Echeck Routing Number',
  `account_status` varchar(32) DEFAULT NULL COMMENT 'Account Status',
  `anet_trans_method` varchar(32) DEFAULT NULL COMMENT 'Anet Trans Method',
  `cc_debug_response_body` varchar(32) DEFAULT NULL COMMENT 'Cc Debug Response Body',
  `cc_ss_issue` varchar(32) DEFAULT NULL COMMENT 'Cc Ss Issue',
  `echeck_account_name` varchar(32) DEFAULT NULL COMMENT 'Echeck Account Name',
  `cc_avs_status` varchar(32) DEFAULT NULL COMMENT 'Cc Avs Status',
  `cc_number_enc` varchar(128) DEFAULT NULL,
  `cc_trans_id` varchar(32) DEFAULT NULL COMMENT 'Cc Trans Id',
  `address_status` varchar(32) DEFAULT NULL COMMENT 'Address Status',
  `additional_information` text COMMENT 'Additional Information',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_ORDER_PAYMENT_PARENT_ID` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Payment';

--
-- Dumping data for table `sales_order_payment`
--

INSERT INTO `sales_order_payment` VALUES ('1','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'45.0000','45.0000',NULL,NULL,'599.0000',NULL,NULL,NULL,'599.0000',NULL,NULL,NULL,NULL,NULL,NULL,'checkmo',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'{\"method_title\":\"Check \\/ Money order\"}'),('2','2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'5.0000','5.0000',NULL,NULL,'39.0000',NULL,NULL,NULL,'39.0000',NULL,NULL,NULL,NULL,NULL,NULL,'checkmo',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'{\"method_title\":\"Check \\/ Money order\"}');

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Status History';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Status Label Table';

--
-- 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`)
) 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(12,4) DEFAULT NULL COMMENT 'Amount',
  `priority` int(11) NOT NULL COMMENT 'Priority',
  `position` int(11) NOT NULL COMMENT 'Position',
  `base_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount',
  `process` smallint(6) NOT NULL COMMENT 'Process',
  `base_real_amount` decimal(12,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 DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Table';

--
-- 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(12,4) NOT NULL COMMENT 'Tax amount for the item and tax rate',
  `base_amount` decimal(12,4) NOT NULL COMMENT 'Base tax amount for the item and tax rate',
  `real_amount` decimal(12,4) NOT NULL COMMENT 'Real tax amount for the item and tax rate',
  `real_base_amount` decimal(12,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_ITEM_ID` (`item_id`),
  KEY `SALES_ORDER_TAX_ITEM_ASSOCIATED_ITEM_ID_SALES_ORDER_ITEM_ITEM_ID` (`associated_item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Item';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,4) DEFAULT NULL COMMENT 'Refunded',
  `online_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Online Refunded',
  `offline_refunded` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,4) DEFAULT NULL COMMENT 'Refunded',
  `online_refunded` decimal(12,4) DEFAULT NULL COMMENT 'Online Refunded',
  `offline_refunded` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(32) 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=17 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'),('13','order',3,'sequence_order_3'),('14','invoice',3,'sequence_invoice_3'),('15','creditmemo',3,'sequence_creditmemo_3'),('16','shipment',3,'sequence_shipment_3');

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=17 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','0','0',1),('2','2',NULL,NULL,'1','1','0','0',1),('3','3',NULL,NULL,'1','1','0','0',1),('4','4',NULL,NULL,'1','1','0','0',1),('5','5',NULL,NULL,'1','1','0','0',1),('6','6',NULL,NULL,'1','1','0','0',1),('7','7',NULL,NULL,'1','1','0','0',1),('8','8',NULL,NULL,'1','1','0','0',1),('9','9','2',NULL,'1','1','0','0',1),('10','10','2',NULL,'1','1','0','0',1),('11','11','2',NULL,'1','1','0','0',1),('12','12','2',NULL,'1','1','0','0',1),('13','13','3',NULL,'1','1','0','0',1),('14','14','3',NULL,'1','1','0','0',1),('15','15','3',NULL,'1','1','0','0',1),('16','16','3',NULL,'1','1','0','0',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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat 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 ON UPDATE 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`),
  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';

--
-- 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(12,4) DEFAULT NULL COMMENT 'Row Total',
  `price` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Item';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat 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(12,4) DEFAULT NULL COMMENT 'Total Shipping',
  `total_shipping_actual` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,4) DEFAULT NULL COMMENT 'Total Shipping',
  `total_shipping_actual` decimal(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Shipping Aggregated Order';

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

CREATE TABLE `salesrule` (
  `rule_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rule 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 DEFAULT CHARSET=utf8 COMMENT='Salesrule';

--
-- 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` timestamp NULL 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',
  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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Coupon';

--
-- 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(12,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(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `subtotal_amount_actual` decimal(12,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(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,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(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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(12,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(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `subtotal_amount_actual` decimal(12,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(12,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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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,
  PRIMARY KEY (`rule_id`,`customer_group_id`),
  KEY `SALESRULE_CUSTOMER_GROUP_CUSTOMER_GROUP_ID` (`customer_group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Rules To Customer Groups Relations';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='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,
  `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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Product Attribute';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Rules To Websites Relations';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Search query table';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='table storing various synonyms groups';

--
-- 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';

--
-- 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;

--
-- 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 DEFAULT CHARSET=utf8;

--
-- 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;

--
-- Table structure for table `sequence_creditmemo_3`
--

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

--
-- 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;

--
-- 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 DEFAULT CHARSET=utf8;

--
-- 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;

--
-- Table structure for table `sequence_invoice_3`
--

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

--
-- 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;

--
-- 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=3 DEFAULT CHARSET=utf8;

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

INSERT INTO `sequence_order_1` VALUES ('1'),('2');

--
-- 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;

--
-- Table structure for table `sequence_order_3`
--

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

--
-- 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;

--
-- 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 DEFAULT CHARSET=utf8;

--
-- 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;

--
-- Table structure for table `sequence_shipment_3`
--

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

--
-- Table structure for table `session`
--

CREATE TABLE `session` (
  `session_id` varchar(255) NOT NULL COMMENT 'Session Id',
  `session_expires` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Date of Session Expiration',
  `session_data` mediumblob NOT NULL COMMENT 'Session Data',
  PRIMARY KEY (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Database Sessions Storage';

--
-- 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 ('Magento_AdminNotification','2.0.0','2.0.0'),('Magento_AdvancedPricingImportExport','2.0.0','2.0.0'),('Magento_Authorization','2.0.0','2.0.0'),('Magento_Authorizenet','2.0.0','2.0.0'),('Magento_Backend','2.0.0','2.0.0'),('Magento_Backup','2.0.0','2.0.0'),('Magento_Braintree','2.0.1','2.0.1'),('Magento_Bundle','2.0.4','2.0.4'),('Magento_BundleImportExport','2.0.0','2.0.0'),('Magento_CacheInvalidate','2.0.0','2.0.0'),('Magento_Captcha','2.0.0','2.0.0'),('Magento_Catalog','2.2.3','2.2.3'),('Magento_CatalogImportExport','2.0.0','2.0.0'),('Magento_CatalogInventory','2.3.0','2.3.0'),('Magento_CatalogRule','2.1.0','2.1.0'),('Magento_CatalogRuleConfigurable','2.0.0','2.0.0'),('Magento_CatalogSearch','2.0.0','2.0.0'),('Magento_CatalogUrlRewrite','2.0.0','2.0.0'),('Magento_CatalogWidget','2.0.0','2.0.0'),('Magento_Checkout','2.0.0','2.0.0'),('Magento_CheckoutAgreements','2.2.0','2.2.0'),('Magento_Cms','2.0.2','2.0.2'),('Magento_CmsUrlRewrite','2.0.0','2.0.0'),('Magento_Config','2.0.0','2.0.0'),('Magento_ConfigurableImportExport','2.0.0','2.0.0'),('Magento_ConfigurableProduct','2.2.0','2.2.0'),('Magento_ConfigurableProductSales','2.2.0','2.2.0'),('Magento_Contact','2.0.0','2.0.0'),('Magento_Cookie','2.0.0','2.0.0'),('Magento_Cron','2.0.0','2.0.0'),('Magento_CurrencySymbol','2.0.1','2.0.1'),('Magento_Customer','2.0.12','2.0.12'),('Magento_CustomerImportExport','2.0.0','2.0.0'),('Magento_Deploy','2.0.0','2.0.0'),('Magento_Developer','2.0.0','2.0.0'),('Magento_Dhl','2.0.0','2.0.0'),('Magento_Directory','2.0.1','2.0.1'),('Magento_Downloadable','2.0.2','2.0.2'),('Magento_DownloadableImportExport','2.0.0','2.0.0'),('Magento_Eav','2.1.1','2.1.1'),('Magento_Email','2.0.0','2.0.0'),('Magento_EncryptionKey','2.0.0','2.0.0'),('Magento_Fedex','2.0.0','2.0.0'),('Magento_GiftMessage','2.0.1','2.0.1'),('Magento_GoogleAdwords','2.0.0','2.0.0'),('Magento_GoogleAnalytics','2.0.0','2.0.0'),('Magento_GoogleOptimizer','2.0.0','2.0.0'),('Magento_GroupedImportExport','2.0.0','2.0.0'),('Magento_GroupedProduct','2.0.1','2.0.1'),('Magento_ImportExport','2.0.1','2.0.1'),('Magento_Indexer','2.1.0','2.1.0'),('Magento_Integration','2.2.0','2.2.0'),('Magento_LayeredNavigation','2.0.0','2.0.0'),('Magento_Marketplace','1.0.0','1.0.0'),('Magento_MediaStorage','2.0.0','2.0.0'),('Magento_Msrp','2.1.3','2.1.3'),('Magento_Multishipping','2.0.0','2.0.0'),('Magento_NewRelicReporting','2.0.1','2.0.1'),('Magento_Newsletter','2.0.0','2.0.0'),('Magento_OfflinePayments','2.0.0','2.0.0'),('Magento_OfflineShipping','2.0.1','2.0.1'),('Magento_PageCache','2.0.0','2.0.0'),('Magento_Payment','2.0.0','2.0.0'),('Magento_Paypal','2.0.1','2.0.1'),('Magento_Persistent','2.0.0','2.0.0'),('Magento_ProductAlert','2.0.0','2.0.0'),('Magento_ProductVideo','2.0.0.2','2.0.0.2'),('Magento_Quote','2.0.6','2.0.6'),('Magento_Reports','2.0.0','2.0.0'),('Magento_RequireJs','2.0.0','2.0.0'),('Magento_Review','2.0.0','2.0.0'),('Magento_Robots','2.0.0','2.0.0'),('Magento_Rss','2.0.0','2.0.0'),('Magento_Rule','2.0.0','2.0.0'),('Magento_Sales','2.0.7','2.0.7'),('Magento_SalesInventory','1.0.0','1.0.0'),('Magento_SalesRule','2.0.3','2.0.3'),('Magento_SalesSequence','2.0.0','2.0.0'),('Magento_SampleData','2.0.0','2.0.0'),('Magento_Search','2.0.4','2.0.4'),('Magento_Security','2.0.1','2.0.1'),('Magento_SendFriend','2.0.0','2.0.0'),('Magento_Shipping','2.0.0','2.0.0'),('Magento_Signifyd','2.2.0','2.2.0'),('Magento_Sitemap','2.0.0','2.0.0'),('Magento_Store','2.1.0','2.1.0'),('Magento_Swagger','2.0.0','2.0.0'),('Magento_Swatches','2.0.3','2.0.3'),('Magento_SwatchesLayeredNavigation','2.0.0','2.0.0'),('Magento_Tax','2.0.2','2.0.2'),('Magento_TaxImportExport','2.0.0','2.0.0'),('Magento_Theme','2.0.2','2.0.2'),('Magento_Translation','2.0.0','2.0.0'),('Magento_Ui','2.0.0','2.0.0'),('Magento_Ups','2.0.0','2.0.0'),('Magento_UrlRewrite','2.0.1','2.0.1'),('Magento_User','2.0.3','2.0.3'),('Magento_Usps','2.0.1','2.0.1'),('Magento_Variable','2.0.0','2.0.0'),('Magento_Vault','2.0.2','2.0.2'),('Magento_Version','2.0.0','2.0.0'),('Magento_Webapi','2.0.0','2.0.0'),('Magento_WebapiSecurity','2.0.0','2.0.0'),('Magento_Weee','2.0.0','2.0.0'),('Magento_Widget','2.0.1','2.0.1'),('Magento_Wishlist','2.0.1','2.0.1'),('Shopial_Facebook','1.0.0','1.0.0'),('TemplateMonster_AjaxCompare','2.0.0','2.0.0'),('TemplateMonster_AjaxSearch','2.0.0','2.0.0'),('TemplateMonster_Blog','1.1.1','1.1.1'),('TemplateMonster_CatalogImagesGrid','2.0.1','2.0.1'),('TemplateMonster_CountdownTimer','1.0.3','1.0.3'),('TemplateMonster_FeaturedProduct','1.0.4','1.0.4'),('TemplateMonster_FilmSlider','2.0.0','2.0.0'),('TemplateMonster_GoogleMap','1.0.0','1.0.0'),('TemplateMonster_InstagramFeed','1.0.4','1.0.4'),('TemplateMonster_Megamenu','2.0.0','2.0.0'),('TemplateMonster_Navcollapse','0.0.1','0.0.1'),('TemplateMonster_NewsletterPopup','1.0.8','1.0.8'),('TemplateMonster_Parallax','1.0.2','1.0.2'),('TemplateMonster_PromoBanner','2.0.0','2.0.0'),('TemplateMonster_ShopByBrand','1.0.0','1.0.0'),('TemplateMonster_SiteMaintenance','1.0.0','1.0.0'),('TemplateMonster_SocialLogin','1.0.0','1.0.0'),('TemplateMonster_ThemeOptions','1.1.0','1.1.0'),('TemplateMonster_Topmenu','0.0.1','0.0.1'),('Zemez_Amp','1.0.0','1.0.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(20) 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 DEFAULT CHARSET=utf8 COMMENT='Shipping Tablerate';

--
-- Table structure for table `signifyd_case`
--

CREATE TABLE `signifyd_case` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity_id',
  `order_id` int(10) unsigned DEFAULT NULL COMMENT 'Order_id',
  `case_id` int(10) unsigned DEFAULT NULL COMMENT 'Case_id',
  `guarantee_eligible` tinyint(1) DEFAULT NULL COMMENT 'Guarantee_eligible',
  `guarantee_disposition` varchar(32) DEFAULT 'PENDING' COMMENT 'Guarantee_disposition',
  `status` varchar(32) DEFAULT 'PENDING' COMMENT 'Status',
  `score` int(10) unsigned DEFAULT NULL COMMENT 'Score',
  `associated_team` text COMMENT 'Associated_team',
  `review_disposition` varchar(32) DEFAULT NULL COMMENT 'Review_disposition',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created_at',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated_at',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SIGNIFYD_CASE_ORDER_ID` (`order_id`),
  UNIQUE KEY `SIGNIFYD_CASE_CASE_ID` (`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='signifyd_case';

--
-- 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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='XML Sitemap';

--
-- Table structure for table `social_login_provider`
--

CREATE TABLE `social_login_provider` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Id',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer Entity Id',
  `provider_code` varchar(50) DEFAULT NULL COMMENT 'Provider Code',
  `provider_id` varchar(100) DEFAULT NULL COMMENT 'Provider Id',
  `created_at` datetime DEFAULT NULL COMMENT 'Created At',
  PRIMARY KEY (`id`),
  UNIQUE KEY `SOCIAL_LOGIN_PROVIDER_PROVIDER_CODE_PROVIDER_ID` (`provider_code`,`provider_id`),
  KEY `SOCIAL_LOGIN_PROVIDER_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='social_login_provider';

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Stores';

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

INSERT INTO `store` VALUES (0,'admin',0,0,'Admin',0,1),(1,'english',1,1,'English',0,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',
  `code` varchar(32) DEFAULT NULL COMMENT 'Store group unique code',
  `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',
  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`)
) 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','Default','0',0),(1,1,'main_website_store','Main Website Store','2',1);

--
-- 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 `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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tax Calculation';

--
-- 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=3 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rate';

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

INSERT INTO `tax_calculation_rate` VALUES ('1','US','12','*','US-CA-*-Rate 1','8.2500',NULL,NULL,NULL),('2','US','43','*','US-NY-*-Rate 1','8.3750',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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rate Title';

--
-- 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 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rule';

--
-- 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=4 DEFAULT CHARSET=utf8 COMMENT='Tax Class';

--
-- Dumping data for table `tax_class`
--

INSERT INTO `tax_class` VALUES (2,'Taxable Goods','PRODUCT'),(3,'Retail Customer','CUSTOMER');

--
-- Table structure for table `tax_order_aggregated_created`
--

CREATE TABLE `tax_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',
  `code` varchar(255) NOT NULL COMMENT 'Code',
  `order_status` varchar(50) NOT NULL COMMENT 'Order Status',
  `percent` float DEFAULT NULL COMMENT 'Percent',
  `orders_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `tax_base_amount_sum` float DEFAULT NULL COMMENT 'Tax Base Amount Sum',
  PRIMARY KEY (`id`),
  UNIQUE KEY `TAX_ORDER_AGGRED_CREATED_PERIOD_STORE_ID_CODE_PERCENT_ORDER_STS` (`period`,`store_id`,`code`,`percent`,`order_status`),
  KEY `TAX_ORDER_AGGREGATED_CREATED_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tax Order Aggregation';

--
-- Table structure for table `tax_order_aggregated_updated`
--

CREATE TABLE `tax_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',
  `code` varchar(255) NOT NULL COMMENT 'Code',
  `order_status` varchar(50) NOT NULL COMMENT 'Order Status',
  `percent` float DEFAULT NULL COMMENT 'Percent',
  `orders_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Orders Count',
  `tax_base_amount_sum` float DEFAULT NULL COMMENT 'Tax Base Amount Sum',
  PRIMARY KEY (`id`),
  UNIQUE KEY `TAX_ORDER_AGGRED_UPDATED_PERIOD_STORE_ID_CODE_PERCENT_ORDER_STS` (`period`,`store_id`,`code`,`percent`,`order_status`),
  KEY `TAX_ORDER_AGGREGATED_UPDATED_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tax Order Aggregated Updated';

--
-- Table structure for table `theme`
--

CREATE TABLE `theme` (
  `theme_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Theme identifier',
  `parent_id` int(11) DEFAULT NULL COMMENT 'Parent Id',
  `theme_path` varchar(255) DEFAULT NULL COMMENT 'Theme Path',
  `theme_title` varchar(255) NOT NULL COMMENT 'Theme Title',
  `preview_image` varchar(255) DEFAULT NULL COMMENT 'Preview Image',
  `is_featured` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Is Theme Featured',
  `area` varchar(255) NOT NULL COMMENT 'Theme Area',
  `type` smallint(6) NOT NULL COMMENT 'Theme type: 0:physical, 1:virtual, 2:staging',
  `code` text COMMENT 'Full theme code, including package',
  PRIMARY KEY (`theme_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Core theme';

--
-- Dumping data for table `theme`
--

INSERT INTO `theme` VALUES ('1',NULL,'Magento/blank','Magento Blank','preview_image_56e47b0568b89.jpeg',0,'frontend',0,'Magento/blank'),('2','1','Magento/luma','Magento Luma','preview_image_56e47b0590a1f.jpeg',0,'frontend',0,'Magento/luma'),('3',NULL,'Magento/backend','Magento 2 backend',NULL,0,'adminhtml',0,'Magento/backend'),('5','1','Zemez/theme099','Zemez Trendy','preview_image_59e7765e26141.jpeg',0,'frontend',0,'Zemez/theme099');

--
-- Table structure for table `theme_file`
--

CREATE TABLE `theme_file` (
  `theme_files_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Theme files identifier',
  `theme_id` int(10) unsigned NOT NULL COMMENT 'Theme Id',
  `file_path` varchar(255) DEFAULT NULL COMMENT 'Relative path to file',
  `file_type` varchar(32) NOT NULL COMMENT 'File Type',
  `content` longtext NOT NULL COMMENT 'File Content',
  `sort_order` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  `is_temporary` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Is Temporary File',
  PRIMARY KEY (`theme_files_id`),
  KEY `THEME_FILE_THEME_ID_THEME_THEME_ID` (`theme_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Core theme files';

--
-- Table structure for table `tm_blog_category`
--

CREATE TABLE `tm_blog_category` (
  `category_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Category ID',
  `identifier` varchar(255) NOT NULL COMMENT 'Category String Identifier',
  `name` varchar(255) DEFAULT NULL COMMENT 'Category Name',
  `meta_title` text COMMENT 'Category Meta Title',
  `meta_keywords` text COMMENT 'Category Meta Keywords',
  `meta_description` text COMMENT 'Category Meta Description',
  `position` smallint(6) NOT NULL COMMENT 'Category Sort Order',
  `is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Category Status',
  PRIMARY KEY (`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TM Blog Category Table';

--
-- Table structure for table `tm_blog_category_store`
--

CREATE TABLE `tm_blog_category_store` (
  `category_id` int(11) NOT NULL COMMENT 'Category ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  PRIMARY KEY (`category_id`,`store_id`),
  KEY `TM_BLOG_CATEGORY_STORE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TM Blog Category To Store Linkage Table';

--
-- Table structure for table `tm_blog_comment`
--

CREATE TABLE `tm_blog_comment` (
  `comment_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Comment ID',
  `post_id` int(10) unsigned NOT NULL COMMENT 'Post ID',
  `status` smallint(6) NOT NULL DEFAULT '-1' COMMENT 'Comment status',
  `author` varchar(255) DEFAULT NULL COMMENT 'Author',
  `email` varchar(255) DEFAULT NULL COMMENT 'Email',
  `content` varchar(255) NOT NULL COMMENT 'Comment Content',
  `creation_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Comment Creation Time',
  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Comment Modification Time',
  PRIMARY KEY (`comment_id`,`post_id`),
  KEY `TM_BLOG_COMMENT_POST_ID` (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Blog Comments Table';

--
-- Dumping data for table `tm_blog_comment`
--

INSERT INTO `tm_blog_comment` VALUES ('1','1',1,'Bernard Show',NULL,'Completely agree with the author. Modern businessmen should involve young people, introduce brands to them, socialize… Looks like a fresh product market!\r\n','2016-10-14 12:00:00','2016-10-14 19:18:11'),('2','1',1,'Bernard Show',NULL,'The author did a great job with all these research work. Really valuable information, thank you!','2016-10-14 12:00:00','2016-10-14 19:18:29'),('3','3',1,'James Anderson',NULL,'Follow your dream and it will turn to reality. A very inspiring article. Thanks for sharing!','2016-10-27 12:00:00','2016-10-14 19:18:49'),('4','3',1,'James Anderson',NULL,'I thought I am just a dreamer, but now I know how to become a doer. That’s cool, appreciate it!','2016-10-20 12:00:00','2016-10-14 19:19:10');

--
-- Table structure for table `tm_blog_post`
--

CREATE TABLE `tm_blog_post` (
  `post_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Post ID',
  `is_visible` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Is Post Visible On Storefront',
  `identifier` varchar(255) NOT NULL COMMENT 'Post String Identifier',
  `title` varchar(255) NOT NULL COMMENT 'Post Title',
  `tags` text COMMENT 'Tags',
  `author` varchar(255) DEFAULT NULL COMMENT 'Author',
  `content` mediumtext COMMENT 'Post Content',
  `short_content` text COMMENT 'Post Short Content',
  `meta_keywords` text COMMENT 'Post Meta Keywords',
  `meta_description` text COMMENT 'Post Meta Description',
  `creation_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Post Creation Time',
  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Post Modification Time',
  `image` varchar(255) DEFAULT NULL COMMENT 'Image',
  `comments_enabled` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Is Comments Enabled',
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Blog Posts Table';

--
-- Dumping data for table `tm_blog_post`
--

INSERT INTO `tm_blog_post` VALUES ('1',1,'establishing-your-brand-on-college-campuses','The Ultimate Fall Boot   Guide For 2017',NULL,'The Ultimate Fall Boot  Guide For 2017','<img src=\"{{media url=\"wysiwyg/post-1.jpg\"}}\" alt=\"\" /><p>Many students are cash-strapped, nowadays. Nevertheless, their purchasing power is very high. Research reveals that 20 million students in the US have a combined disposable income of $417 billion.  Moreover, another survey of students\' parents reveals that students now make 70 percent of their purchases themselves. These purchases are often made on credit cards. Therefore, students often have a significantly higher purchasing power.</p>\r\n<p>If you know this, you can utilize it to capture the attention of the 16-24 age demographic. However, it is essential for your product or service to appeal to the lifestyle of the students. Additionally, student ambassadors should be utilized to spread the word about your product or service to their friends and classmates.</p>\r\n<p>If you have not yet considered this demographic, it is time to reach out to them now!\r\nSocial media is a popular method for socialization and communication between many young people. Students are the majority users of social networking sites like Facebook and Twitter. These are the right places to introduce brands to young people.It is probably the right place to introduce a brand to them. To capture the student audience, it is essential to be a part of the conversation; it is also important to keep them engaged. Social media is the ideal platform for this.</p>\r\n<p>However, studies state that half of these social media savvy youngsters fail to follow brands on social networking sites. Students who do follow often only show temporary, marginal support. Social media is definitely a great platform for engaging students and spreading the word. However, it is definitely not the best for brand introduction and recognition.</p>','Many students are cash-strapped, nowadays. Nevertheless, their purchasing power is very high. Research reveals that 20 million students in the US have a combined disposable income of $417 billion.',NULL,NULL,'2017-11-16 00:00:00','2017-12-01 15:43:01','tm_blog/p/o/post-1.jpg',1),('2',1,'many-students-are-cash-strapped','These Are the 12 Editor-Approved Essentials You Need — All From TRENDY ',NULL,'Grey','<img src=\"{{media url=\"wysiwyg/post-2.jpg\"}}\" alt=\"\" /><p>If you know this, you can utilize it to capture the attention of the 16-24 age demographic. However, it is essential for your product or service to appeal to the lifestyle of the students. Additionally, student ambassadors should be utilized to spread the word about your product or service to their friends and classmates.</p>\r\n\r\n<p>Many students are cash-strapped, nowadays. Nevertheless, their purchasing power is very high. Research reveals that 20 million students in the US have a combined disposable income of $417 billion. Moreover, another survey of students\' parents reveals that students now make 70 percent of their purchases themselves. These purchases are often made on credit cards. Therefore, students often have a significantly higher purchasing power.</p>\r\n\r\n<p>If you have not yet considered this demographic, it is time to reach out to them now!</p>\r\n\r\n<p>Social media is a popular method for socialization and communication between many young people. Students are the majority users of social networking sites like Facebook and Twitter. These are the right places to introduce brands to young people.It is probably the right place to introduce a brand to them. To capture the student audience, it is essential to be a part of the conversation; it is also important to keep them engaged. Social media is the ideal platform for this.</p>\r\n<p>However, studies state that half of these social media savvy youngsters fail to follow brands on social networking sites. Students who do follow often only show temporary, marginal support. Social media is definitely a great platform for engaging students and spreading the word. However, it is definitely not the best for brand introduction and recognition.</p>\r\n\r\nBernard Show: That’s awesome! Future belongs to youngsters, so businessmen can’t ignore their needs in any case.\r\n\r\nSarah Cole: The author did a great job with all these research work. Really valuable information, thank you!\r\n\r\nMichael Ventura: Completely agree with the author. Modern businessmen should involve young people, introduce brands to them, socialize… Looks like a fresh product market!\r\n','If you know this, you can utilize it to capture the attention of the 16-24 age demographic. However, it is essential for your product or service to appeal to the lifestyle of the students. ',NULL,NULL,'2017-11-15 00:00:00','2017-12-01 15:43:09','tm_blog/p/o/post-2.jpg',1),('3',1,'believe-in-the-business-of-your-dreams','Style Inspiration: What to Wear   on A Cruise',NULL,'Kate','<img src=\"{{media url=\"wysiwyg/post-3.jpg\"}}\" alt=\"\" /><p>What is stopping you from believing in the business of your dreams? Insecurity? Fear? Lack of confidence? All of the above? How can you overcome these obstructions?</p>\r\n<p>Your Mantras</p>\r\n<p>You may be wondering if you have the necessary skills, time, connections, and a million other things in order to create the business of your dreams. If you let your uncertainty and insecurity overpower you, you won\'t ever be able to unleash your true business potential. To unlock the positive forces of your creativity and drive that will yield amazing results, make these your mantras:</p>\r\n<p>\'\'I will abandon all negative thoughts that prevent me from realizing my business objectives.\'\'\r\n\'\'I will focus my energy on growing the business of my dreams.\'\'</p>\r\n<p> A Dreamer and a Doer</p>\r\n<p>It is important to take time to develop your vision and your practical thinking should be geared to this vision. You need to work with conviction. Being a dreamer does not mean that you can\'t also be a doer. In fact, having a dream is the starting point for building your dream business. The problem starts when you stop there instead of setting realizable immediate targets. Success cannot come from one day to the next. So you need to build your dream business bit by bit. When your dreams begin to be transformed into reality thanks to your actions, you become aware of the power you possess for catalyzing success; and this further strengthens your determination to reach every single one of your business goals.</p>\r\n<p>Make It Happen</p>\r\n<p>Nothing can happen without tenacity, fortitude, and courage. Be bold enough to make choice  don\'t just let things happen to you. Though you cannot have control over everything, you can focus on what you can handle and influence with your actions in a given situation. You have the power to make decisions that will move your business forward. You should not feel daunted by your lack of knowledge of business strategies either. You learn and grow while building your business. No women entrepreneur/mompreneur possesses absolute knowledge; there are so many examples of hugely successful businesswomen who started out without having any clue about business promotion techniques. Their motivation to learn, their unwavering belief that they could create the business of their dreams, and their steadfastness were key factors for their success.</p>','What is stopping you from believing in the business of your dreams? Insecurity? Fear? Lack of confidence? All of the above? How can you overcome these obstructions',NULL,NULL,'2017-11-12 00:00:00','2017-12-01 15:43:21','tm_blog/p/o/post-3.jpg',1);

--
-- Table structure for table `tm_blog_post_category`
--

CREATE TABLE `tm_blog_post_category` (
  `post_id` int(10) unsigned NOT NULL COMMENT 'Post ID',
  `category_id` int(11) NOT NULL COMMENT 'Category ID',
  PRIMARY KEY (`post_id`,`category_id`),
  KEY `TM_BLOG_POST_CATEGORY_CATEGORY_ID` (`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='TM Blog Post To Category Linkage Table';

--
-- Table structure for table `tm_blog_post_related_post`
--

CREATE TABLE `tm_blog_post_related_post` (
  `post_id` int(10) unsigned NOT NULL COMMENT 'Post ID',
  `related_id` int(10) unsigned NOT NULL COMMENT 'Related Post ID',
  `position` int(11) NOT NULL COMMENT 'Position',
  PRIMARY KEY (`post_id`,`related_id`),
  KEY `TM_BLOG_POST_RELATED_POST_RELATED_ID` (`related_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Blog Post To Post Linkage Table';

--
-- Dumping data for table `tm_blog_post_related_post`
--

INSERT INTO `tm_blog_post_related_post` VALUES ('2','1','0'),('3','1','0'),('3','2','0');

--
-- Table structure for table `tm_blog_post_related_product`
--

CREATE TABLE `tm_blog_post_related_product` (
  `post_id` int(10) unsigned NOT NULL COMMENT 'Post ID',
  `related_id` int(10) unsigned NOT NULL COMMENT 'Related Product ID',
  `position` int(11) NOT NULL COMMENT 'Position',
  PRIMARY KEY (`post_id`,`related_id`),
  KEY `TM_BLOG_POST_RELATED_PRODUCT_RELATED_ID` (`related_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Blog Post To Product Linkage Table';

--
-- Table structure for table `tm_blog_post_store`
--

CREATE TABLE `tm_blog_post_store` (
  `post_id` int(10) unsigned NOT NULL COMMENT 'Post ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  PRIMARY KEY (`post_id`,`store_id`),
  KEY `TM_BLOG_POST_STORE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Blog Post To Store Linkage Table';

--
-- Dumping data for table `tm_blog_post_store`
--

INSERT INTO `tm_blog_post_store` VALUES ('1',0),('2',0),('3',0);

--
-- Table structure for table `tm_brand`
--

CREATE TABLE `tm_brand` (
  `brand_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'TM Brand',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `status` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Status',
  `url_key` varchar(255) DEFAULT NULL COMMENT 'Url Key',
  `title` varchar(255) DEFAULT NULL COMMENT 'title',
  `logo` varchar(255) DEFAULT NULL COMMENT 'logo',
  `brand_banner` varchar(255) DEFAULT NULL COMMENT 'Brand Banner',
  `product_banner` varchar(255) DEFAULT NULL COMMENT 'Product Banner',
  `short_description` varchar(255) DEFAULT NULL COMMENT 'Short description',
  `main_description` text COMMENT 'Main description',
  `meta_keywords` varchar(255) DEFAULT NULL COMMENT 'Meta Keywords',
  `meta_description` varchar(255) DEFAULT NULL COMMENT 'Meta Description',
  `website_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Website',
  PRIMARY KEY (`brand_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='tm_brand';

--
-- Dumping data for table `tm_brand`
--

INSERT INTO `tm_brand` VALUES ('1','H&M',1,'h_and_m','h_and_m','709px-H_M-Logo.png','709px-H_M-Logo.png','709px-H_M-Logo.png','The H&M group is one of the world’s leading fashion companies – with the brands H&M and H&M Home, COS, & Other Stories, Monki, Weekday Cheap Monday and ARaKET. Each with its own unique identity, all our brands are united by a passion for fashion and quali','It all started with a single womenswear store in Västerås, Sweden, in 1947. Today, the H&M group has several  clearly defined fashion brands and a strong global presence. Our expansion is long-term and we grow both online and with new stores, in existing as well as new markets. We want to make sustainable, good-quality fashion accessible to as many people as possible.','','',1),('2','boohoo',1,'boohoo','boohoo','boohoo_logo_hi-res.jpg','boohoo_logo_hi-res.jpg','boohoo_logo_hi-res.jpg','From Manchester’s best kept fashion secret to one of the fastest growing international etailers, boohoo.com has quickly evolved into a global fashion leader of its generation.','Combining cutting-edge design with an affordable price tag, we’ve been pushing boundaries for the past eight years to bring you all the latest looks for less.\r\n\r\nOur philosophy is pretty simple: we don’t take fashion or life too seriously. Whether you like to keep one step ahead of the trends, or if subtle style is more your thing, we’re sure we’ve got something you’ll love. And with up to 100 pieces hitting site every day and a new collection each week, we never stop - it’s 24/7 fashion at its best.\r\n\r\ne all know that it’s better to give than to receive, that’s why we’ve set up boohoo’s charity programme to raise money and awareness for causes close to our hearts. In 2016, we want charity to be a bigger part of boohoo. Last year, we raised over £22,000 through sample sales, coffee mornings and our Style for Stroke collaboration; but you know us, we always want to do that bit (or a lot) more.\r\n\r\nWe’ll be working with three key charities over the next 12 months – Teenage Cancer Trust, Ditch The Label and World Vision – as well as more local initiatives to make a real difference to the lives of people around us and across the globe.','','',1),('3','ASOS',1,'asos','asos','Asos.svg.png','Asos.svg.png','Asos.svg.png','So you know us and love us as ASOS. But people often ask where our name comes from (usually straight after they ask us how to pronounce it – it’s ACE-OSS, by the way).','     The idea of ASOS started in 1999 when founders Quentin Griffiths and Nick Robertson (who’s still Non-Executive Director) had the idea of starting an internet business where people could find clothes or accessories they had seen celebs wearing. \r\n\r\n    A website was registered in August 1999 and www.asseenonscreen.com went live in March 2000, with a full launch in June 2000 under the name AsSeenOnScreen. In fact, ASOS PLC and ASOS.com Limited were originally called AsSeenOnScreen Holdings PLC and AsSeenOnScreen Limited. By the end of that first trading year, the company won the Best Trendsetter Award by The Sunday Times – a sign of things to come.\r\n\r\n    Almost immediately, the business was referred to internally as ‘ASOS’, an abbreviation of AsSeenOnScreen. That led the directors and staff to realise that the website name needed shortening too.  \r\n\r\n    In October 2000, we bought the easier-to-type domain name www.asos.com, although, at this stage, traffic to www.asos.com was directed to the www.asseenonscreen.com website, which remained the central site for the business. That was followed by www.asos.co.uk in August 2001.\r\n\r\n    Soon we began to sell more fashion than just clothes that had been ‘seen on screen’.  This made the AsSeenOnScreen name even less relevant, so the brand started to shift to ASOS as the trading name.\r\n\r\n    From 2002, the name ASOS (in a logo form which has since evolved) began to be used on stationery and on the website. Email addresses changed to @asos.com and our marketing began to use ASOS rather than AsSeenOnScreen.  In July 2002, the company advertised on the Pepsi Chart Show on UK commercial radio as ASOS. By September 2002, the march from AsSeenOnScreen to ASOS was unstoppable, as the first ASOS logo began to be used on the website, instead of the AsSeenOnScreen logo.\r\n\r\n    The website itself was next. By January 2003, we changed our homepage title tag to include the name ASOS at the beginning. In July 2003, we moved the ‘shop front’ of the online retail business to being branded as ASOS on the website www.asos.com. The re-direct to the old website was also reversed and www.asos.com went live independently. In the final move, our shareholders in August 2003 agreed to change the names of the AsSeenOnScreen Holdings PLC and AsSeenOnScreen Limited to ASOS PLC and ASOS.com Limited.  And that’s how ASOS was born (bless!).\r\n\r\n    That’s enough looking back. We’d rather focus on tomorrow. So what are you waiting for? Go and explore the rest of ASOS!','','',1),('4','Calvin Klein',1,'calvin_klein','calvin_klein','calvin_klein_logo_original_2.png','calvin_klein_logo_original_2.png','calvin_klein_logo_original_2.png','Calvin Klein, Inc. is one of the leading fashion design and marketing studios in the world. It designs and markets women’s and men’s designer collection apparel and a range of other products that are manufactured and marketed through an extensive network.','Calvin Klein, Inc. is one of the leading fashion design and marketing studios in the world. It designs and markets women’s and men’s designer collection apparel and a range of other products that are manufactured and marketed through an extensive network of licensing agreements and other arrangements worldwide. Brands/lifestyles include Calvin Klein Collection, Calvin Klein Platinum Label, Calvin Klein Jeans and Calvin Klein Underwear. Product lines under the various Calvin Klein brands include women’s dresses and suits, men\'s dress furnishings and tailored clothing, men’s and women\'s sportswear and bridge and collection apparel, golf apparel, jeanswear, underwear, fragrances, eyewear, women’s performance apparel, hosiery, socks, footwear, swimwear, jewelry, watches, outerwear, handbags, small leather goods, and home furnishings (including furniture).\r\n\r\nPVH Corp. is one of the world\'s largest apparel companies. It owns and markets the Calvin Klein brand worldwide. It is the world\'s largest shirt and neckwear company and markets a variety of goods under its own brands, Van Heusen, Calvin Klein, Tommy Hilfiger, IZOD, Arrow and Speedo USA, and its licensed brands, including Geoffrey Beene, Kenneth Cole New York, Kenneth Cole Reaction, BCBG Max Azria, BCBG Attitude, MICHAEL Michael Kors, Sean John, Chaps, Donald J. Trump Signature Collection, JOE Joseph Abboud and Perry Ellis Portfolio.\r\n\r\nCertain Calvin Klein advertising campaigns are based on or inspired by actual events and people. The 2015 Calvin Klein Jeans advertising campaign is inspired by real stories of actual dates, but names and events may have been modified for creative purposes.','','',1),('5','Zara',1,'zara','zara','Zara_Logo.svg.png','Zara_Logo.svg.png','Zara_Logo.svg.png','Zara stores have men\'s clothing and women\'s clothing, as well as children\'s clothing.','Zara  is a Spanish clothing and accessories retailer based in Arteixo, Galicia. The company was founded in 1975 by Amancio Ortega and Rosalía Mera. It is the main brand of the Inditex group, the world\'s largest apparel retailer. The fashion group also owns brands such as Massimo Dutti, Pull and Bear, Bershka, Stradivarius, Oysho, Zara Home, and Uterqüe. Zara as of 2017 manages up to 20 clothing collections a year.','','',1);

--
-- Table structure for table `tm_brand_product`
--

CREATE TABLE `tm_brand_product` (
  `brand_id` int(10) unsigned NOT NULL COMMENT 'TM Brand',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `store_id` int(10) unsigned NOT NULL COMMENT 'Store Id',
  KEY `TM_BRAND_PRODUCT_BRAND_ID` (`brand_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='tm_brand_product';

--
-- Dumping data for table `tm_brand_product`
--

INSERT INTO `tm_brand_product` VALUES ('1','1','0'),('1','2','0'),('1','3','0'),('1','4','0'),('2','5','0'),('2','6','0'),('2','7','0'),('2','8','0'),('3','9','0'),('3','10','0'),('3','11','0'),('4','12','0'),('4','13','0'),('4','14','0'),('4','15','0'),('5','16','0'),('5','17','0');

--
-- Table structure for table `tm_brand_purchased`
--

CREATE TABLE `tm_brand_purchased` (
  `item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Item Id',
  `brand_id` int(10) unsigned NOT NULL COMMENT 'TM Brand',
  `store_id` int(10) unsigned NOT NULL COMMENT 'Store Id',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `purchased_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Purchase Date',
  `bill_name` varchar(255) DEFAULT NULL COMMENT 'Bill Name',
  `ship_name` varchar(255) DEFAULT NULL COMMENT 'Ship Name',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `amount` decimal(12,4) DEFAULT NULL COMMENT 'Amount',
  `base_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Amount',
  PRIMARY KEY (`item_id`),
  KEY `TM_BRAND_PURCHASED_BRAND_ID` (`brand_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='tm_brand_purchased';

--
-- Dumping data for table `tm_brand_purchased`
--

INSERT INTO `tm_brand_purchased` VALUES ('1','4','1','Soft Beach Bag','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','61.0000','61.0000'),('2','3','1','Olive Linen Floral Skirt','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','39.0000','39.0000'),('3','3','1','Skye Wrap Dress','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','69.0000','69.0000'),('4','3','1','Azalea Backpack','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','83.0000','83.0000'),('5','3','1','Azalea Backpack','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','68.0000','68.0000'),('6','4','1','Town X-Small','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','59.0000','59.0000'),('7','1','1','Bella Multi Print Skirts','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','55.0000','55.0000'),('8','2','1','Ditzy Tee Dress','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','55.0000','55.0000'),('9','1','1','Avery Off Shoulder Dress','0000-00-00 00:00:00','Demo Demo','Demo Demo','1.0000','65.0000','65.0000');

--
-- Table structure for table `translation`
--

CREATE TABLE `translation` (
  `key_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Key Id of Translation',
  `string` varchar(255) NOT NULL DEFAULT 'Translate String' COMMENT 'Translation String',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `translate` varchar(255) DEFAULT NULL COMMENT 'Translate',
  `locale` varchar(20) NOT NULL DEFAULT 'en_US' COMMENT 'Locale',
  `crc_string` bigint(20) NOT NULL DEFAULT '1591228201' COMMENT 'Translation String CRC32 Hash',
  PRIMARY KEY (`key_id`),
  UNIQUE KEY `TRANSLATION_STORE_ID_LOCALE_CRC_STRING_STRING` (`store_id`,`locale`,`crc_string`,`string`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Translations';

--
-- Table structure for table `ui_bookmark`
--

CREATE TABLE `ui_bookmark` (
  `bookmark_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Bookmark identifier',
  `user_id` int(10) unsigned NOT NULL COMMENT 'User Id',
  `namespace` varchar(255) NOT NULL COMMENT 'Bookmark namespace',
  `identifier` varchar(255) NOT NULL COMMENT 'Bookmark Identifier',
  `current` smallint(6) NOT NULL COMMENT 'Mark current bookmark per user and identifier',
  `title` varchar(255) DEFAULT NULL COMMENT 'Bookmark title',
  `config` longtext COMMENT 'Bookmark config',
  `created_at` datetime NOT NULL COMMENT 'Bookmark created at',
  `updated_at` datetime NOT NULL COMMENT 'Bookmark updated at',
  PRIMARY KEY (`bookmark_id`),
  KEY `UI_BOOKMARK_USER_ID_NAMESPACE_IDENTIFIER` (`user_id`,`namespace`,`identifier`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 COMMENT='Bookmark';

--
-- Dumping data for table `ui_bookmark`
--

INSERT INTO `ui_bookmark` VALUES ('1','1','cms_page_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"}},\"value\":\"Default View\"}}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('2','1','cms_page_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"columns\":{\"page_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"page_layout\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"custom_theme\":{\"visible\":false,\"sorting\":false},\"custom_root_template\":{\"visible\":false,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"custom_theme_from\":{\"visible\":false,\"sorting\":false},\"custom_theme_to\":{\"visible\":false,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"page_id\":1,\"title\":2,\"identifier\":3,\"page_layout\":4,\"store_id\":5,\"is_active\":6,\"creation_time\":7,\"update_time\":8,\"custom_theme_from\":9,\"custom_theme_to\":10,\"custom_theme\":11,\"custom_root_template\":12,\"meta_keywords\":13,\"meta_description\":14,\"actions\":15,\"meta_title\":16},\"displayMode\":\"grid\"}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('3','1','cms_block_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8},\"displayMode\":\"grid\"}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('4','1','cms_block_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8}},\"value\":\"Default View\"}}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('5','1','product_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"entity_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"sku\":{\"visible\":true,\"sorting\":false},\"price\":{\"visible\":true,\"sorting\":false},\"qty\":{\"visible\":true,\"sorting\":false},\"short_description\":{\"visible\":false,\"sorting\":false},\"special_price\":{\"visible\":false,\"sorting\":false},\"cost\":{\"visible\":false,\"sorting\":false},\"weight\":{\"visible\":false,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keyword\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"visible\":false,\"sorting\":false},\"msrp\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"type_id\":{\"visible\":true,\"sorting\":false},\"attribute_set_id\":{\"visible\":true,\"sorting\":false},\"visibility\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"websites\":{\"visible\":true,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"tax_class_id\":{\"visible\":false,\"sorting\":false},\"gift_message_available\":{\"visible\":false,\"sorting\":false},\"special_from_date\":{\"visible\":false,\"sorting\":false},\"special_to_date\":{\"visible\":false,\"sorting\":false},\"news_from_date\":{\"visible\":false,\"sorting\":false},\"news_to_date\":{\"visible\":false,\"sorting\":false},\"custom_design_from\":{\"visible\":false,\"sorting\":false},\"custom_design_to\":{\"visible\":false,\"sorting\":false},\"thumbnail\":{\"visible\":true,\"sorting\":false},\"manufacturer\":{\"visible\":false,\"sorting\":false},\"color\":{\"visible\":false,\"sorting\":false},\"brand\":{\"visible\":true,\"sorting\":false},\"season\":{\"visible\":true,\"sorting\":false},\"occasion\":{\"visible\":true,\"sorting\":false},\"sleeves\":{\"visible\":true,\"sorting\":false},\"lining_material\":{\"visible\":true,\"sorting\":false},\"neck\":{\"visible\":true,\"sorting\":false},\"fit\":{\"visible\":true,\"sorting\":false},\"wash\":{\"visible\":true,\"sorting\":false},\"product_color\":{\"visible\":true,\"sorting\":false},\"size\":{\"visible\":true,\"sorting\":false},\"custom_layout\":{\"visible\":false,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":100},\"positions\":{\"ids\":0,\"entity_id\":1,\"thumbnail\":2,\"name\":3,\"type_id\":4,\"attribute_set_id\":5,\"sku\":6,\"price\":7,\"qty\":8,\"visibility\":9,\"status\":10,\"websites\":11,\"short_description\":12,\"special_price\":13,\"special_from_date\":14,\"special_to_date\":15,\"cost\":16,\"weight\":17,\"meta_title\":18,\"meta_keyword\":19,\"meta_description\":20,\"news_from_date\":21,\"news_to_date\":22,\"custom_design\":23,\"custom_design_from\":24,\"custom_design_to\":25,\"page_layout\":26,\"country_of_manufacture\":27,\"url_key\":28,\"msrp\":29,\"tax_class_id\":30,\"gift_message_available\":31,\"actions\":32,\"custom_layout\":33},\"displayMode\":\"grid\"}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('6','1','product_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"entity_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"sku\":{\"visible\":true,\"sorting\":false},\"price\":{\"visible\":true,\"sorting\":false},\"qty\":{\"visible\":true,\"sorting\":false},\"short_description\":{\"visible\":false,\"sorting\":false},\"special_price\":{\"visible\":false,\"sorting\":false},\"cost\":{\"visible\":false,\"sorting\":false},\"weight\":{\"visible\":false,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keyword\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"visible\":false,\"sorting\":false},\"msrp\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"type_id\":{\"visible\":true,\"sorting\":false},\"attribute_set_id\":{\"visible\":true,\"sorting\":false},\"visibility\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"websites\":{\"visible\":true,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"tax_class_id\":{\"visible\":false,\"sorting\":false},\"gift_message_available\":{\"visible\":false,\"sorting\":false},\"special_from_date\":{\"visible\":false,\"sorting\":false},\"special_to_date\":{\"visible\":false,\"sorting\":false},\"news_from_date\":{\"visible\":false,\"sorting\":false},\"news_to_date\":{\"visible\":false,\"sorting\":false},\"custom_design_from\":{\"visible\":false,\"sorting\":false},\"custom_design_to\":{\"visible\":false,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}},\"value\":\"Default View\"}}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('7','1','product_attributes_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"attribute_code\":{\"visible\":true,\"sorting\":\"asc\"},\"frontend_label\":{\"visible\":true,\"sorting\":false},\"is_filterable\":{\"visible\":true,\"sorting\":false},\"is_required\":{\"visible\":true,\"sorting\":false},\"is_user_defined\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"is_global\":{\"visible\":true,\"sorting\":false},\"is_searchable\":{\"visible\":true,\"sorting\":false},\"is_comparable\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false}},\"positions\":{\"ids\":0,\"is_filterable\":1,\"attribute_code\":2,\"frontend_label\":3,\"is_required\":4,\"is_user_defined\":5,\"is_visible\":6,\"is_global\":7,\"is_searchable\":8,\"is_comparable\":9},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('8','1','product_attributes_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"attribute_code\":{\"visible\":true,\"sorting\":\"asc\"},\"frontend_label\":{\"visible\":true,\"sorting\":false},\"is_filterable\":{\"visible\":true,\"sorting\":false},\"is_required\":{\"visible\":true,\"sorting\":false},\"is_user_defined\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"is_global\":{\"visible\":true,\"sorting\":false},\"is_searchable\":{\"visible\":true,\"sorting\":false},\"is_comparable\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false}},\"positions\":{\"ids\":0,\"is_filterable\":1,\"attribute_code\":2,\"frontend_label\":3,\"is_required\":4,\"is_user_defined\":5,\"is_visible\":6,\"is_global\":7,\"is_searchable\":8,\"is_comparable\":9},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}},\"value\":\"Default View\"}}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('9','2','cms_block_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8}}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('10','2','cms_block_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8}},\"value\":\"Default View\"}}}','1970-01-01 00:00:00','1970-01-01 00:00:00'),('11','1','design_config_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"default\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('12','1','design_config_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"default\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('13','3','tm_blog_post_listing','current',0,NULL,'{\"current\":{\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('14','3','tm_blog_post_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('15','3','tm_blog_comment_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"comment_id\":{\"visible\":true,\"sorting\":\"asc\"},\"author\":{\"visible\":true,\"sorting\":false},\"content\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"comment_id\":1,\"author\":2,\"status\":3,\"creation_time\":4,\"update_time\":5,\"content\":6,\"actions\":7}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('16','3','tm_blog_comment_listing','current',0,NULL,'{\"current\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"comment_id\":{\"visible\":true,\"sorting\":\"asc\"},\"author\":{\"visible\":true,\"sorting\":false},\"content\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"comment_id\":1,\"author\":2,\"status\":3,\"creation_time\":4,\"update_time\":5,\"content\":6,\"actions\":7}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('17','3','design_config_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('18','3','design_config_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('19','4','cms_page_listing','current',0,NULL,'{\"current\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"columns\":{\"page_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"custom_theme\":{\"visible\":false,\"sorting\":false},\"custom_root_template\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"custom_theme_from\":{\"visible\":false,\"sorting\":false},\"custom_theme_to\":{\"visible\":false,\"sorting\":false}},\"positions\":{\"ids\":0,\"page_id\":1,\"title\":2,\"identifier\":3,\"page_layout\":4,\"store_id\":5,\"is_active\":6,\"creation_time\":7,\"update_time\":8,\"custom_theme_from\":9,\"custom_theme_to\":10,\"custom_theme\":11,\"custom_root_template\":12,\"meta_title\":13,\"meta_keywords\":14,\"meta_description\":15,\"actions\":16}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('20','5','design_config_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"displayMode\":\"grid\",\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('21','5','design_config_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"displayMode\":\"grid\",\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('22','5','tm_blog_post_listing','current',0,NULL,'{\"current\":{\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"displayMode\":\"grid\",\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('23','5','tm_blog_post_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('24','5','cms_page_listing','current',0,NULL,'{\"current\":{\"search\":{\"value\":\"\"},\"columns\":{\"page_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"custom_theme\":{\"visible\":false,\"sorting\":false},\"custom_root_template\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"custom_theme_from\":{\"visible\":false,\"sorting\":false},\"custom_theme_to\":{\"visible\":false,\"sorting\":false}},\"filters\":{\"applied\":{\"placeholder\":true}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"page_id\":1,\"title\":2,\"identifier\":3,\"page_layout\":4,\"store_id\":5,\"is_active\":6,\"creation_time\":7,\"update_time\":8,\"custom_theme_from\":9,\"custom_theme_to\":10,\"custom_theme\":11,\"custom_root_template\":12,\"meta_title\":13,\"meta_keywords\":14,\"meta_description\":15,\"actions\":16}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('25','5','cms_block_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"search\":{\"value\":\"\"},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('26','5','cms_block_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"search\":{\"value\":\"\"},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('27','4','cms_block_listing','current',0,NULL,'{\"current\":{\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('28','4','cms_block_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"columns\":{\"block_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"positions\":{\"ids\":0,\"block_id\":1,\"title\":2,\"identifier\":3,\"store_id\":4,\"is_active\":5,\"creation_time\":6,\"update_time\":7,\"actions\":8},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('29','4','tm_blog_post_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('30','4','tm_blog_post_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('31','4','design_config_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('32','4','design_config_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"default\":0,\"store_website_id\":1,\"store_group_id\":2,\"store_id\":3,\"theme_theme_id\":4,\"actions\":5}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('33','6','cms_page_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"page_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"page_layout\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"custom_theme\":{\"visible\":false,\"sorting\":false},\"custom_root_template\":{\"visible\":false,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"custom_theme_from\":{\"visible\":false,\"sorting\":false},\"custom_theme_to\":{\"visible\":false,\"sorting\":false}},\"search\":{\"value\":\"\"},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"page_id\":1,\"title\":2,\"identifier\":3,\"page_layout\":4,\"store_id\":5,\"is_active\":6,\"creation_time\":7,\"update_time\":8,\"custom_theme_from\":9,\"custom_theme_to\":10,\"custom_theme\":11,\"custom_root_template\":12,\"meta_title\":13,\"meta_keywords\":14,\"meta_description\":15,\"actions\":16}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('34','6','cms_page_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"page_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"page_layout\":{\"visible\":true,\"sorting\":false},\"is_active\":{\"visible\":true,\"sorting\":false},\"custom_theme\":{\"visible\":false,\"sorting\":false},\"custom_root_template\":{\"visible\":false,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"custom_theme_from\":{\"visible\":false,\"sorting\":false},\"custom_theme_to\":{\"visible\":false,\"sorting\":false}},\"search\":{\"value\":\"\"},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"page_id\":1,\"title\":2,\"identifier\":3,\"page_layout\":4,\"store_id\":5,\"is_active\":6,\"creation_time\":7,\"update_time\":8,\"custom_theme_from\":9,\"custom_theme_to\":10,\"custom_theme\":11,\"custom_root_template\":12,\"meta_title\":13,\"meta_keywords\":14,\"meta_description\":15,\"actions\":16}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('35','2','product_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"displayMode\":\"grid\",\"columns\":{\"entity_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"sku\":{\"visible\":true,\"sorting\":false},\"price\":{\"visible\":true,\"sorting\":false},\"websites\":{\"visible\":true,\"sorting\":false},\"qty\":{\"visible\":true,\"sorting\":false},\"short_description\":{\"visible\":false,\"sorting\":false},\"special_price\":{\"visible\":false,\"sorting\":false},\"cost\":{\"visible\":false,\"sorting\":false},\"weight\":{\"visible\":false,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keyword\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"visible\":false,\"sorting\":false},\"msrp\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"type_id\":{\"visible\":true,\"sorting\":false},\"attribute_set_id\":{\"visible\":true,\"sorting\":false},\"visibility\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"tax_class_id\":{\"visible\":false,\"sorting\":false},\"gift_message_available\":{\"visible\":false,\"sorting\":false},\"custom_layout\":{\"visible\":false,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"special_from_date\":{\"visible\":false,\"sorting\":false},\"special_to_date\":{\"visible\":false,\"sorting\":false},\"news_from_date\":{\"visible\":false,\"sorting\":false},\"news_to_date\":{\"visible\":false,\"sorting\":false},\"custom_design_from\":{\"visible\":false,\"sorting\":false},\"custom_design_to\":{\"visible\":false,\"sorting\":false},\"thumbnail\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":200},\"positions\":{\"ids\":0,\"entity_id\":1,\"thumbnail\":2,\"name\":3,\"type_id\":4,\"attribute_set_id\":5,\"sku\":6,\"price\":7,\"qty\":8,\"visibility\":9,\"status\":10,\"websites\":11,\"short_description\":12,\"special_price\":13,\"special_from_date\":14,\"special_to_date\":15,\"cost\":16,\"weight\":17,\"meta_title\":18,\"meta_keyword\":19,\"meta_description\":20,\"news_from_date\":21,\"news_to_date\":22,\"custom_design\":23,\"custom_design_from\":24,\"custom_design_to\":25,\"page_layout\":26,\"country_of_manufacture\":27,\"url_key\":28,\"msrp\":29,\"tax_class_id\":30,\"gift_message_available\":31,\"custom_layout\":32,\"actions\":33}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('36','2','product_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"displayMode\":\"grid\",\"columns\":{\"entity_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"sku\":{\"visible\":true,\"sorting\":false},\"price\":{\"visible\":true,\"sorting\":false},\"websites\":{\"visible\":true,\"sorting\":false},\"qty\":{\"visible\":true,\"sorting\":false},\"short_description\":{\"visible\":false,\"sorting\":false},\"special_price\":{\"visible\":false,\"sorting\":false},\"cost\":{\"visible\":false,\"sorting\":false},\"weight\":{\"visible\":false,\"sorting\":false},\"meta_title\":{\"visible\":false,\"sorting\":false},\"meta_keyword\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"visible\":false,\"sorting\":false},\"msrp\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"type_id\":{\"visible\":true,\"sorting\":false},\"attribute_set_id\":{\"visible\":true,\"sorting\":false},\"visibility\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"tax_class_id\":{\"visible\":false,\"sorting\":false},\"gift_message_available\":{\"visible\":false,\"sorting\":false},\"custom_layout\":{\"visible\":false,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"special_from_date\":{\"visible\":false,\"sorting\":false},\"special_to_date\":{\"visible\":false,\"sorting\":false},\"news_from_date\":{\"visible\":false,\"sorting\":false},\"news_to_date\":{\"visible\":false,\"sorting\":false},\"custom_design_from\":{\"visible\":false,\"sorting\":false},\"custom_design_to\":{\"visible\":false,\"sorting\":false},\"thumbnail\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"entity_id\":1,\"thumbnail\":2,\"name\":3,\"type_id\":4,\"attribute_set_id\":5,\"sku\":6,\"price\":7,\"qty\":8,\"visibility\":9,\"status\":10,\"websites\":11,\"short_description\":12,\"special_price\":13,\"special_from_date\":14,\"special_to_date\":15,\"cost\":16,\"weight\":17,\"meta_title\":18,\"meta_keyword\":19,\"meta_description\":20,\"news_from_date\":21,\"news_to_date\":22,\"custom_design\":23,\"custom_design_from\":24,\"custom_design_to\":25,\"page_layout\":26,\"country_of_manufacture\":27,\"url_key\":28,\"msrp\":29,\"tax_class_id\":30,\"gift_message_available\":31,\"custom_layout\":32,\"actions\":33}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('37','2','product_attributes_listing','current',0,NULL,'{\"current\":{\"displayMode\":\"grid\",\"columns\":{\"attribute_code\":{\"visible\":true,\"sorting\":\"asc\"},\"frontend_label\":{\"visible\":true,\"sorting\":false},\"is_filterable\":{\"visible\":true,\"sorting\":false},\"is_required\":{\"visible\":true,\"sorting\":false},\"is_user_defined\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"is_global\":{\"visible\":true,\"sorting\":false},\"is_searchable\":{\"visible\":true,\"sorting\":false},\"is_comparable\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"is_filterable\":1,\"attribute_code\":2,\"frontend_label\":3,\"is_required\":4,\"is_user_defined\":5,\"is_visible\":6,\"is_global\":7,\"is_searchable\":8,\"is_comparable\":9}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('38','2','product_attributes_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"displayMode\":\"grid\",\"columns\":{\"attribute_code\":{\"visible\":true,\"sorting\":\"asc\"},\"frontend_label\":{\"visible\":true,\"sorting\":false},\"is_filterable\":{\"visible\":true,\"sorting\":false},\"is_required\":{\"visible\":true,\"sorting\":false},\"is_user_defined\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"is_global\":{\"visible\":true,\"sorting\":false},\"is_searchable\":{\"visible\":true,\"sorting\":false},\"is_comparable\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false}},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"is_filterable\":1,\"attribute_code\":2,\"frontend_label\":3,\"is_required\":4,\"is_user_defined\":5,\"is_visible\":6,\"is_global\":7,\"is_searchable\":8,\"is_comparable\":9}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('39','2','brand_listing','current',0,NULL,'{\"current\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"brand_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"brand_id\":1,\"name\":2,\"status\":3,\"actions\":4}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('40','1','filmslider_listing','current',0,NULL,'{\"current\":{\"columns\":{\"slider_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"slider_id\":1,\"name\":2,\"store_id\":3,\"status\":4,\"actions\":5}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('41','1','filmslider_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"columns\":{\"slider_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"search\":{\"value\":\"\"},\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"slider_id\":1,\"name\":2,\"store_id\":3,\"status\":4,\"actions\":5}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('42','1','tm_blog_post_listing','current',0,NULL,'{\"current\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('43','1','tm_blog_post_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"post_id\":{\"visible\":true,\"sorting\":\"asc\"},\"title\":{\"visible\":true,\"sorting\":false},\"author\":{\"visible\":true,\"sorting\":false},\"identifier\":{\"visible\":true,\"sorting\":false},\"meta_keywords\":{\"visible\":false,\"sorting\":false},\"meta_description\":{\"visible\":false,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"is_visible\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"post_id\":1,\"title\":2,\"author\":3,\"identifier\":4,\"is_visible\":5,\"creation_time\":6,\"update_time\":7,\"meta_keywords\":8,\"meta_description\":9,\"actions\":10}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('44','1','brand_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"brand_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"brand_id\":1,\"name\":2,\"status\":3,\"actions\":4}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),('45','1','brand_listing','current',0,NULL,'{\"current\":{\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"brand_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"paging\":{\"options\":{\"20\":{\"value\":20,\"label\":20},\"30\":{\"value\":30,\"label\":30},\"50\":{\"value\":50,\"label\":50},\"100\":{\"value\":100,\"label\":100},\"200\":{\"value\":200,\"label\":200}},\"value\":20},\"positions\":{\"ids\":0,\"brand_id\":1,\"name\":2,\"status\":3,\"actions\":4}}}','0000-00-00 00:00:00','0000-00-00 00:00:00');

--
-- Table structure for table `url_rewrite`
--

CREATE TABLE `url_rewrite` (
  `url_rewrite_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rewrite Id',
  `entity_type` varchar(32) NOT NULL COMMENT 'Entity type code',
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
  `request_path` varchar(255) DEFAULT NULL COMMENT 'Request Path',
  `target_path` varchar(255) DEFAULT NULL COMMENT 'Target Path',
  `redirect_type` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Redirect Type',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  `description` varchar(255) DEFAULT NULL COMMENT 'Description',
  `is_autogenerated` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is rewrite generated automatically flag',
  `metadata` varchar(255) DEFAULT NULL COMMENT 'Meta data for url rewrite',
  PRIMARY KEY (`url_rewrite_id`),
  UNIQUE KEY `URL_REWRITE_REQUEST_PATH_STORE_ID` (`request_path`,`store_id`),
  KEY `URL_REWRITE_TARGET_PATH` (`target_path`),
  KEY `URL_REWRITE_STORE_ID_ENTITY_ID` (`store_id`,`entity_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4995 DEFAULT CHARSET=utf8 COMMENT='Url Rewrites';

--
-- Dumping data for table `url_rewrite`
--

INSERT INTO `url_rewrite` VALUES ('1','cms-page','1','no-route','cms/page/view/page_id/1',0,1,NULL,1,NULL),('2','cms-page','2','home','cms/page/view/page_id/2',0,1,NULL,1,NULL),('3','cms-page','3','enable-cookies','cms/page/view/page_id/3',0,1,NULL,1,NULL),('4','cms-page','4','privacy-policy-cookie-restriction-mode','cms/page/view/page_id/4',0,1,NULL,1,NULL),('8','cms-page','6','customer-service','cms/page/view/page_id/6',0,1,NULL,1,NULL),('11','cms-page','7','about-us','cms/page/view/page_id/7',0,1,NULL,1,NULL),('14','cms-page','8','template-settings','cms/page/view/page_id/8',0,1,NULL,1,NULL),('17','cms-page','9','shipping-delivery','cms/page/view/page_id/9',0,1,NULL,1,NULL),('20','cms-page','10','faq','cms/page/view/page_id/10',0,1,NULL,1,NULL),('23','cms-page','11','support','cms/page/view/page_id/11',0,1,NULL,1,NULL),('26','cms-page','12','guarantee','cms/page/view/page_id/12',0,1,NULL,1,NULL),('29','cms-page','13','secure-payment','cms/page/view/page_id/13',0,1,NULL,1,NULL),('32','cms-page','14','terms-conditions','cms/page/view/page_id/14',0,1,NULL,1,NULL),('35','category','3','men.html','catalog/category/view/id/3',0,1,NULL,1,NULL),('38','category','4','women.html','catalog/category/view/id/4',0,1,NULL,1,NULL),('41','category','5','kids.html','catalog/category/view/id/5',0,1,NULL,1,NULL),('44','category','6','teens.html','catalog/category/view/id/6',0,1,NULL,1,NULL),('47','category','7','accessories.html','catalog/category/view/id/7',0,1,NULL,1,NULL),('50','category','8','product-types.html','catalog/category/view/id/8',0,1,NULL,1,NULL),('53','category','9','product-types/configurable-products.html','catalog/category/view/id/9',0,1,NULL,1,NULL),('56','category','10','product-types/simple-products.html','catalog/category/view/id/10',0,1,NULL,1,NULL),('59','category','11','product-types/products-with-options.html','catalog/category/view/id/11',0,1,NULL,1,NULL),('62','category','12','men/men.html','catalog/category/view/id/12',0,1,NULL,1,NULL),('65','category','13','men/women.html','catalog/category/view/id/13',0,1,NULL,1,NULL),('68','category','14','men/kids.html','catalog/category/view/id/14',0,1,NULL,1,NULL),('71','category','15','men/teens.html','catalog/category/view/id/15',0,1,NULL,1,NULL),('74','category','16','men/accessories.html','catalog/category/view/id/16',0,1,NULL,1,NULL),('77','category','17','men/men/accessories.html','catalog/category/view/id/17',0,1,NULL,1,NULL),('80','category','18','men/men/women.html','catalog/category/view/id/18',0,1,NULL,1,NULL),('83','category','19','men/men/men.html','catalog/category/view/id/19',0,1,NULL,1,NULL),('86','category','20','men/men/teens.html','catalog/category/view/id/20',0,1,NULL,1,NULL),('89','category','21','men/men/kids.html','catalog/category/view/id/21',0,1,NULL,1,NULL),('92','category','22','men/women/accessories.html','catalog/category/view/id/22',0,1,NULL,1,NULL),('95','category','23','men/women/kids.html','catalog/category/view/id/23',0,1,NULL,1,NULL),('98','category','24','men/women/teens.html','catalog/category/view/id/24',0,1,NULL,1,NULL),('101','category','25','men/women/women.html','catalog/category/view/id/25',0,1,NULL,1,NULL),('104','category','26','men/women/men.html','catalog/category/view/id/26',0,1,NULL,1,NULL),('107','category','27','men/kids/kids.html','catalog/category/view/id/27',0,1,NULL,1,NULL),('110','category','28','men/kids/accessories.html','catalog/category/view/id/28',0,1,NULL,1,NULL),('113','category','29','men/kids/women.html','catalog/category/view/id/29',0,1,NULL,1,NULL),('116','category','30','men/kids/men.html','catalog/category/view/id/30',0,1,NULL,1,NULL),('119','category','31','men/kids/teens.html','catalog/category/view/id/31',0,1,NULL,1,NULL),('122','category','32','men/teens/accessories.html','catalog/category/view/id/32',0,1,NULL,1,NULL),('125','category','33','men/teens/teens.html','catalog/category/view/id/33',0,1,NULL,1,NULL),('128','category','34','men/teens/men.html','catalog/category/view/id/34',0,1,NULL,1,NULL),('131','category','35','men/teens/women.html','catalog/category/view/id/35',0,1,NULL,1,NULL),('134','category','36','men/teens/kids.html','catalog/category/view/id/36',0,1,NULL,1,NULL),('137','category','37','men/accessories/teens.html','catalog/category/view/id/37',0,1,NULL,1,NULL),('140','category','38','men/accessories/kids.html','catalog/category/view/id/38',0,1,NULL,1,NULL),('143','category','39','men/accessories/women.html','catalog/category/view/id/39',0,1,NULL,1,NULL),('146','category','40','men/accessories/men.html','catalog/category/view/id/40',0,1,NULL,1,NULL),('149','category','41','men/accessories/accessories.html','catalog/category/view/id/41',0,1,NULL,1,NULL),('152','product','1','torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1',0,1,NULL,1,NULL),('153','product','1','men/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('154','product','1','teens/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('155','product','1','accessories/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('156','product','1','product-types/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('157','product','1','product-types/simple-products/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('158','product','1','men/women/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('159','product','1','men/teens/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/15',0,1,NULL,1,'{\"category_id\":\"15\"}'),('160','product','1','men/accessories/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('161','product','1','men/women/kids/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/23',0,1,NULL,1,'{\"category_id\":\"23\"}'),('162','product','1','men/women/women/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('163','product','1','men/women/men/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('164','product','1','men/teens/teens/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/33',0,1,NULL,1,'{\"category_id\":\"33\"}'),('165','product','1','men/teens/women/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/35',0,1,NULL,1,'{\"category_id\":\"35\"}'),('166','product','1','men/teens/kids/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/36',0,1,NULL,1,'{\"category_id\":\"36\"}'),('167','product','1','men/accessories/kids/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('168','product','1','men/accessories/women/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('169','product','1','men/accessories/men/torn-leg-wrap-block-heel-sandals.html','catalog/product/view/id/1/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('800','product','2','avery-off-shoulder-dress.html','catalog/product/view/id/2',0,1,NULL,1,NULL),('801','product','2','men/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('802','product','2','women/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('803','product','2','kids/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('804','product','2','product-types/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('805','product','2','product-types/simple-products/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('806','product','2','men/men/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('807','product','2','men/women/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('808','product','2','men/teens/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/15',0,1,NULL,1,'{\"category_id\":\"15\"}'),('809','product','2','men/accessories/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('810','product','2','men/men/women/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/18',0,1,NULL,1,'{\"category_id\":\"18\"}'),('811','product','2','men/men/men/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('812','product','2','men/men/teens/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('813','product','2','men/women/accessories/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('814','product','2','men/women/teens/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('815','product','2','men/women/women/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('816','product','2','men/teens/men/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/34',0,1,NULL,1,'{\"category_id\":\"34\"}'),('817','product','2','men/teens/women/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/35',0,1,NULL,1,'{\"category_id\":\"35\"}'),('818','product','2','men/teens/kids/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/36',0,1,NULL,1,'{\"category_id\":\"36\"}'),('819','product','2','men/accessories/kids/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('820','product','2','men/accessories/women/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('821','product','2','men/accessories/men/avery-off-shoulder-dress.html','catalog/product/view/id/2/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('822','product','2','s.html','avery-off-shoulder-dress.html',301,1,NULL,0,'[]'),('823','product','2','men/s.html','men/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('824','product','2','women/s.html','women/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('825','product','2','kids/s.html','kids/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('826','product','2','product-types/s.html','product-types/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('827','product','2','product-types/simple-products/s.html','product-types/simple-products/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('828','product','2','men/women/s.html','men/women/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('829','product','2','men/teens/s.html','men/teens/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"15\"}'),('830','product','2','men/accessories/s.html','men/accessories/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('831','product','2','men/women/accessories/s.html','men/women/accessories/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('832','product','2','men/women/teens/s.html','men/women/teens/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('833','product','2','men/women/women/s.html','men/women/women/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('834','product','2','men/teens/men/s.html','men/teens/men/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"34\"}'),('835','product','2','men/teens/women/s.html','men/teens/women/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"35\"}'),('836','product','2','men/teens/kids/s.html','men/teens/kids/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"36\"}'),('837','product','2','men/accessories/kids/s.html','men/accessories/kids/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('838','product','2','men/accessories/women/s.html','men/accessories/women/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('839','product','2','men/accessories/men/s.html','men/accessories/men/avery-off-shoulder-dress.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('920','product','3','bella-multi-print-skirt.html','catalog/product/view/id/3',0,1,NULL,1,NULL),('921','product','3','men/bella-multi-print-skirt.html','catalog/product/view/id/3/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('922','product','3','women/bella-multi-print-skirt.html','catalog/product/view/id/3/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('923','product','3','kids/bella-multi-print-skirt.html','catalog/product/view/id/3/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('924','product','3','product-types/bella-multi-print-skirt.html','catalog/product/view/id/3/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('925','product','3','product-types/simple-products/bella-multi-print-skirt.html','catalog/product/view/id/3/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('926','product','3','men/women/bella-multi-print-skirt.html','catalog/product/view/id/3/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('927','product','3','men/teens/bella-multi-print-skirt.html','catalog/product/view/id/3/category/15',0,1,NULL,1,'{\"category_id\":\"15\"}'),('928','product','3','men/accessories/bella-multi-print-skirt.html','catalog/product/view/id/3/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('929','product','3','men/women/accessories/bella-multi-print-skirt.html','catalog/product/view/id/3/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('930','product','3','men/women/teens/bella-multi-print-skirt.html','catalog/product/view/id/3/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('931','product','3','men/women/women/bella-multi-print-skirt.html','catalog/product/view/id/3/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('932','product','3','men/teens/men/bella-multi-print-skirt.html','catalog/product/view/id/3/category/34',0,1,NULL,1,'{\"category_id\":\"34\"}'),('933','product','3','men/teens/women/bella-multi-print-skirt.html','catalog/product/view/id/3/category/35',0,1,NULL,1,'{\"category_id\":\"35\"}'),('934','product','3','men/teens/kids/bella-multi-print-skirt.html','catalog/product/view/id/3/category/36',0,1,NULL,1,'{\"category_id\":\"36\"}'),('935','product','3','men/accessories/kids/bella-multi-print-skirt.html','catalog/product/view/id/3/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('936','product','3','men/accessories/women/bella-multi-print-skirt.html','catalog/product/view/id/3/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('937','product','3','men/accessories/men/bella-multi-print-skirt.html','catalog/product/view/id/3/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('938','product','3','s-1.html','bella-multi-print-skirt.html',301,1,NULL,0,'[]'),('939','product','3','men/s-1.html','men/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('940','product','3','women/s-1.html','women/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('941','product','3','kids/s-1.html','kids/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('942','product','3','product-types/s-1.html','product-types/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('943','product','3','product-types/simple-products/s-1.html','product-types/simple-products/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('944','product','3','men/women/s-1.html','men/women/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('945','product','3','men/teens/s-1.html','men/teens/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"15\"}'),('946','product','3','men/accessories/s-1.html','men/accessories/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('947','product','3','men/women/accessories/s-1.html','men/women/accessories/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('948','product','3','men/women/teens/s-1.html','men/women/teens/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('949','product','3','men/women/women/s-1.html','men/women/women/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('950','product','3','men/teens/men/s-1.html','men/teens/men/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"34\"}'),('951','product','3','men/teens/women/s-1.html','men/teens/women/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"35\"}'),('952','product','3','men/teens/kids/s-1.html','men/teens/kids/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"36\"}'),('953','product','3','men/accessories/kids/s-1.html','men/accessories/kids/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('954','product','3','men/accessories/women/s-1.html','men/accessories/women/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('955','product','3','men/accessories/men/s-1.html','men/accessories/men/bella-multi-print-skirt.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('1028','product','4','dina-cross-vamp-block-heels.html','catalog/product/view/id/4',0,1,NULL,1,NULL),('1029','product','4','men/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('1030','product','4','women/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('1031','product','4','kids/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('1032','product','4','product-types/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('1033','product','4','product-types/simple-products/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('1034','product','4','men/women/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('1035','product','4','men/teens/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/15',0,1,NULL,1,'{\"category_id\":\"15\"}'),('1036','product','4','men/accessories/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('1037','product','4','men/women/accessories/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('1038','product','4','men/women/teens/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('1039','product','4','men/women/women/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('1040','product','4','men/teens/men/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/34',0,1,NULL,1,'{\"category_id\":\"34\"}'),('1041','product','4','men/teens/women/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/35',0,1,NULL,1,'{\"category_id\":\"35\"}'),('1042','product','4','men/teens/kids/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/36',0,1,NULL,1,'{\"category_id\":\"36\"}'),('1043','product','4','men/accessories/kids/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('1044','product','4','men/accessories/women/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('1045','product','4','men/accessories/men/dina-cross-vamp-block-heels.html','catalog/product/view/id/4/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('1046','product','4','s-2.html','dina-cross-vamp-block-heels.html',301,1,NULL,0,'[]'),('1047','product','4','men/s-2.html','men/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('1048','product','4','women/s-2.html','women/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('1049','product','4','kids/s-2.html','kids/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('1050','product','4','product-types/s-2.html','product-types/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('1051','product','4','product-types/simple-products/s-2.html','product-types/simple-products/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('1052','product','4','men/women/s-2.html','men/women/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('1053','product','4','men/teens/s-2.html','men/teens/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"15\"}'),('1054','product','4','men/accessories/s-2.html','men/accessories/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('1055','product','4','men/women/accessories/s-2.html','men/women/accessories/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('1056','product','4','men/women/teens/s-2.html','men/women/teens/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('1057','product','4','men/women/women/s-2.html','men/women/women/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('1058','product','4','men/teens/men/s-2.html','men/teens/men/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"34\"}'),('1059','product','4','men/teens/women/s-2.html','men/teens/women/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"35\"}'),('1060','product','4','men/teens/kids/s-2.html','men/teens/kids/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"36\"}'),('1061','product','4','men/accessories/kids/s-2.html','men/accessories/kids/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('1062','product','4','men/accessories/women/s-2.html','men/accessories/women/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('1063','product','4','men/accessories/men/s-2.html','men/accessories/men/dina-cross-vamp-block-heels.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('1136','product','5','ditzy-tee-dress.html','catalog/product/view/id/5',0,1,NULL,1,NULL),('1137','product','5','men/ditzy-tee-dress.html','catalog/product/view/id/5/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('1138','product','5','women/ditzy-tee-dress.html','catalog/product/view/id/5/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('1139','product','5','accessories/ditzy-tee-dress.html','catalog/product/view/id/5/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('1140','product','5','product-types/ditzy-tee-dress.html','catalog/product/view/id/5/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('1141','product','5','product-types/simple-products/ditzy-tee-dress.html','catalog/product/view/id/5/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('1142','product','5','men/men/ditzy-tee-dress.html','catalog/product/view/id/5/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('1143','product','5','men/women/ditzy-tee-dress.html','catalog/product/view/id/5/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('1144','product','5','men/teens/ditzy-tee-dress.html','catalog/product/view/id/5/category/15',0,1,NULL,1,'{\"category_id\":\"15\"}'),('1145','product','5','men/accessories/ditzy-tee-dress.html','catalog/product/view/id/5/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('1146','product','5','men/men/women/ditzy-tee-dress.html','catalog/product/view/id/5/category/18',0,1,NULL,1,'{\"category_id\":\"18\"}'),('1147','product','5','men/men/men/ditzy-tee-dress.html','catalog/product/view/id/5/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('1148','product','5','men/men/teens/ditzy-tee-dress.html','catalog/product/view/id/5/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('1149','product','5','men/women/accessories/ditzy-tee-dress.html','catalog/product/view/id/5/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('1150','product','5','men/women/teens/ditzy-tee-dress.html','catalog/product/view/id/5/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('1151','product','5','men/women/women/ditzy-tee-dress.html','catalog/product/view/id/5/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('1152','product','5','men/teens/men/ditzy-tee-dress.html','catalog/product/view/id/5/category/34',0,1,NULL,1,'{\"category_id\":\"34\"}'),('1153','product','5','men/teens/women/ditzy-tee-dress.html','catalog/product/view/id/5/category/35',0,1,NULL,1,'{\"category_id\":\"35\"}'),('1154','product','5','men/teens/kids/ditzy-tee-dress.html','catalog/product/view/id/5/category/36',0,1,NULL,1,'{\"category_id\":\"36\"}'),('1155','product','5','men/accessories/kids/ditzy-tee-dress.html','catalog/product/view/id/5/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('1156','product','5','men/accessories/women/ditzy-tee-dress.html','catalog/product/view/id/5/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('1157','product','5','men/accessories/men/ditzy-tee-dress.html','catalog/product/view/id/5/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('1158','product','5','s-3.html','ditzy-tee-dress.html',301,1,NULL,0,'[]'),('1159','product','5','men/s-3.html','men/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('1160','product','5','women/s-3.html','women/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('1161','product','5','product-types/s-3.html','product-types/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('1162','product','5','product-types/simple-products/s-3.html','product-types/simple-products/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('1163','product','5','men/women/s-3.html','men/women/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('1164','product','5','men/teens/s-3.html','men/teens/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"15\"}'),('1165','product','5','men/accessories/s-3.html','men/accessories/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('1166','product','5','men/women/accessories/s-3.html','men/women/accessories/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('1167','product','5','men/women/teens/s-3.html','men/women/teens/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('1168','product','5','men/women/women/s-3.html','men/women/women/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('1169','product','5','men/teens/men/s-3.html','men/teens/men/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"34\"}'),('1170','product','5','men/teens/women/s-3.html','men/teens/women/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"35\"}'),('1171','product','5','men/teens/kids/s-3.html','men/teens/kids/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"36\"}'),('1172','product','5','men/accessories/kids/s-3.html','men/accessories/kids/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('1173','product','5','men/accessories/women/s-3.html','men/accessories/women/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('1174','product','5','men/accessories/men/s-3.html','men/accessories/men/ditzy-tee-dress.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('1253','product','6','elouise-skirt.html','catalog/product/view/id/6',0,1,NULL,1,NULL),('1254','product','6','men/elouise-skirt.html','catalog/product/view/id/6/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('1255','product','6','women/elouise-skirt.html','catalog/product/view/id/6/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('1256','product','6','kids/elouise-skirt.html','catalog/product/view/id/6/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('1257','product','6','product-types/elouise-skirt.html','catalog/product/view/id/6/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('1258','product','6','product-types/simple-products/elouise-skirt.html','catalog/product/view/id/6/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('1259','product','6','men/women/elouise-skirt.html','catalog/product/view/id/6/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('1260','product','6','men/teens/elouise-skirt.html','catalog/product/view/id/6/category/15',0,1,NULL,1,'{\"category_id\":\"15\"}'),('1261','product','6','men/accessories/elouise-skirt.html','catalog/product/view/id/6/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('1262','product','6','men/women/accessories/elouise-skirt.html','catalog/product/view/id/6/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('1263','product','6','men/women/teens/elouise-skirt.html','catalog/product/view/id/6/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('1264','product','6','men/women/women/elouise-skirt.html','catalog/product/view/id/6/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('1265','product','6','men/teens/men/elouise-skirt.html','catalog/product/view/id/6/category/34',0,1,NULL,1,'{\"category_id\":\"34\"}'),('1266','product','6','men/teens/women/elouise-skirt.html','catalog/product/view/id/6/category/35',0,1,NULL,1,'{\"category_id\":\"35\"}'),('1267','product','6','men/teens/kids/elouise-skirt.html','catalog/product/view/id/6/category/36',0,1,NULL,1,'{\"category_id\":\"36\"}'),('1268','product','6','men/accessories/kids/elouise-skirt.html','catalog/product/view/id/6/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('1269','product','6','men/accessories/women/elouise-skirt.html','catalog/product/view/id/6/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('1270','product','6','men/accessories/men/elouise-skirt.html','catalog/product/view/id/6/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('1271','product','6','s-4.html','elouise-skirt.html',301,1,NULL,0,'[]'),('1272','product','6','men/s-4.html','men/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('1273','product','6','women/s-4.html','women/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('1274','product','6','kids/s-4.html','kids/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('1275','product','6','product-types/s-4.html','product-types/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('1276','product','6','product-types/simple-products/s-4.html','product-types/simple-products/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('1277','product','6','men/women/s-4.html','men/women/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('1278','product','6','men/teens/s-4.html','men/teens/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"15\"}'),('1279','product','6','men/accessories/s-4.html','men/accessories/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('1280','product','6','men/women/accessories/s-4.html','men/women/accessories/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('1281','product','6','men/women/teens/s-4.html','men/women/teens/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('1282','product','6','men/women/women/s-4.html','men/women/women/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('1283','product','6','men/teens/men/s-4.html','men/teens/men/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"34\"}'),('1284','product','6','men/teens/women/s-4.html','men/teens/women/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"35\"}'),('1285','product','6','men/teens/kids/s-4.html','men/teens/kids/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"36\"}'),('1286','product','6','men/accessories/kids/s-4.html','men/accessories/kids/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('1287','product','6','men/accessories/women/s-4.html','men/accessories/women/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('1288','product','6','men/accessories/men/s-4.html','men/accessories/men/elouise-skirt.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('1760','product','7','lana-flutter-mini-dress.html','catalog/product/view/id/7',0,1,NULL,1,NULL),('1761','product','7','women/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('1762','product','7','kids/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('1763','product','7','accessories/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('1764','product','7','product-types/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('1765','product','7','product-types/simple-products/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('1766','product','7','men/women/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('1767','product','7','men/kids/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('1768','product','7','men/accessories/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('1769','product','7','men/women/accessories/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('1770','product','7','men/women/kids/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/23',0,1,NULL,1,'{\"category_id\":\"23\"}'),('1771','product','7','men/women/men/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('1772','product','7','men/kids/accessories/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('1773','product','7','men/kids/women/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('1774','product','7','men/kids/men/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('1775','product','7','men/accessories/kids/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('1776','product','7','men/accessories/women/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('1777','product','7','men/accessories/men/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('1778','product','7','j.html','lana-flutter-mini-dress.html',301,1,NULL,0,'[]'),('1779','product','7','women/j.html','women/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('1780','product','7','kids/j.html','kids/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('1781','product','7','accessories/j.html','accessories/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"7\"}'),('1782','product','7','product-types/j.html','product-types/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('1783','product','7','product-types/simple-products/j.html','product-types/simple-products/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('1784','product','7','men/women/j.html','men/women/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('1785','product','7','men/kids/j.html','men/kids/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('1786','product','7','men/accessories/j.html','men/accessories/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('1787','product','7','men/women/accessories/j.html','men/women/accessories/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('1788','product','7','men/women/kids/j.html','men/women/kids/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"23\"}'),('1789','product','7','men/women/men/j.html','men/women/men/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('1790','product','7','men/kids/accessories/j.html','men/kids/accessories/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('1791','product','7','men/kids/women/j.html','men/kids/women/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('1792','product','7','men/kids/men/j.html','men/kids/men/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('1793','product','7','men/accessories/kids/j.html','men/accessories/kids/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('1794','product','7','men/accessories/women/j.html','men/accessories/women/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('1795','product','7','men/accessories/men/j.html','men/accessories/men/lana-flutter-mini-dress.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('1796','product','7','men/lana-flutter-mini-dress.html','catalog/product/view/id/7/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('1871','product','8','last-chance-dress.html','catalog/product/view/id/8',0,1,NULL,1,NULL),('1872','product','8','women/last-chance-dress.html','catalog/product/view/id/8/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('1873','product','8','kids/last-chance-dress.html','catalog/product/view/id/8/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('1874','product','8','accessories/last-chance-dress.html','catalog/product/view/id/8/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('1875','product','8','product-types/last-chance-dress.html','catalog/product/view/id/8/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('1876','product','8','product-types/simple-products/last-chance-dress.html','catalog/product/view/id/8/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('1877','product','8','men/women/last-chance-dress.html','catalog/product/view/id/8/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('1878','product','8','men/kids/last-chance-dress.html','catalog/product/view/id/8/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('1879','product','8','men/accessories/last-chance-dress.html','catalog/product/view/id/8/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('1880','product','8','men/women/accessories/last-chance-dress.html','catalog/product/view/id/8/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('1881','product','8','men/women/kids/last-chance-dress.html','catalog/product/view/id/8/category/23',0,1,NULL,1,'{\"category_id\":\"23\"}'),('1882','product','8','men/women/men/last-chance-dress.html','catalog/product/view/id/8/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('1883','product','8','men/kids/accessories/last-chance-dress.html','catalog/product/view/id/8/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('1884','product','8','men/kids/women/last-chance-dress.html','catalog/product/view/id/8/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('1885','product','8','men/kids/men/last-chance-dress.html','catalog/product/view/id/8/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('1886','product','8','men/accessories/kids/last-chance-dress.html','catalog/product/view/id/8/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('1887','product','8','men/accessories/women/last-chance-dress.html','catalog/product/view/id/8/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('1888','product','8','men/accessories/men/last-chance-dress.html','catalog/product/view/id/8/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('1889','product','8','j-1.html','last-chance-dress.html',301,1,NULL,0,'[]'),('1890','product','8','women/j-1.html','women/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('1891','product','8','kids/j-1.html','kids/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('1892','product','8','accessories/j-1.html','accessories/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"7\"}'),('1893','product','8','product-types/j-1.html','product-types/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('1894','product','8','product-types/simple-products/j-1.html','product-types/simple-products/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('1895','product','8','men/women/j-1.html','men/women/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('1896','product','8','men/kids/j-1.html','men/kids/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('1897','product','8','men/accessories/j-1.html','men/accessories/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('1898','product','8','men/women/accessories/j-1.html','men/women/accessories/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('1899','product','8','men/women/kids/j-1.html','men/women/kids/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"23\"}'),('1900','product','8','men/women/men/j-1.html','men/women/men/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('1901','product','8','men/kids/accessories/j-1.html','men/kids/accessories/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('1902','product','8','men/kids/women/j-1.html','men/kids/women/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('1903','product','8','men/kids/men/j-1.html','men/kids/men/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('1904','product','8','men/accessories/kids/j-1.html','men/accessories/kids/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('1905','product','8','men/accessories/women/j-1.html','men/accessories/women/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('1906','product','8','men/accessories/men/j-1.html','men/accessories/men/last-chance-dress.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('1907','product','8','men/last-chance-dress.html','catalog/product/view/id/8/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('1982','product','9','olive-linen-floral-skirt.html','catalog/product/view/id/9',0,1,NULL,1,NULL),('1983','product','9','women/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('1984','product','9','kids/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('1985','product','9','accessories/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('1986','product','9','product-types/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('1987','product','9','product-types/simple-products/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('1988','product','9','men/women/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('1989','product','9','men/kids/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('1990','product','9','men/accessories/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('1991','product','9','men/women/accessories/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('1992','product','9','men/women/kids/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/23',0,1,NULL,1,'{\"category_id\":\"23\"}'),('1993','product','9','men/women/men/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('1994','product','9','men/kids/accessories/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('1995','product','9','men/kids/women/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('1996','product','9','men/kids/men/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('1997','product','9','men/accessories/kids/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('1998','product','9','men/accessories/women/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('1999','product','9','men/accessories/men/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('2000','product','9','j-2.html','olive-linen-floral-skirt.html',301,1,NULL,0,'[]'),('2001','product','9','women/j-2.html','women/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('2002','product','9','kids/j-2.html','kids/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('2003','product','9','accessories/j-2.html','accessories/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"7\"}'),('2004','product','9','product-types/j-2.html','product-types/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('2005','product','9','product-types/simple-products/j-2.html','product-types/simple-products/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('2006','product','9','men/women/j-2.html','men/women/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('2007','product','9','men/kids/j-2.html','men/kids/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('2008','product','9','men/accessories/j-2.html','men/accessories/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('2009','product','9','men/women/accessories/j-2.html','men/women/accessories/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('2010','product','9','men/women/kids/j-2.html','men/women/kids/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"23\"}'),('2011','product','9','men/women/men/j-2.html','men/women/men/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('2012','product','9','men/kids/accessories/j-2.html','men/kids/accessories/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('2013','product','9','men/kids/women/j-2.html','men/kids/women/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('2014','product','9','men/kids/men/j-2.html','men/kids/men/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('2015','product','9','men/accessories/kids/j-2.html','men/accessories/kids/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('2016','product','9','men/accessories/women/j-2.html','men/accessories/women/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('2017','product','9','men/accessories/men/j-2.html','men/accessories/men/olive-linen-floral-skirt.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('2018','product','9','men/olive-linen-floral-skirt.html','catalog/product/view/id/9/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('2093','product','10','skye-wrap-dress.html','catalog/product/view/id/10',0,1,NULL,1,NULL),('2094','product','10','men/skye-wrap-dress.html','catalog/product/view/id/10/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('2095','product','10','teens/skye-wrap-dress.html','catalog/product/view/id/10/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('2096','product','10','product-types/skye-wrap-dress.html','catalog/product/view/id/10/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('2097','product','10','product-types/simple-products/skye-wrap-dress.html','catalog/product/view/id/10/category/10',0,1,NULL,1,'{\"category_id\":\"10\"}'),('2098','product','10','men/men/skye-wrap-dress.html','catalog/product/view/id/10/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('2099','product','10','men/women/skye-wrap-dress.html','catalog/product/view/id/10/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('2100','product','10','men/teens/skye-wrap-dress.html','catalog/product/view/id/10/category/15',0,1,NULL,1,'{\"category_id\":\"15\"}'),('2101','product','10','men/accessories/skye-wrap-dress.html','catalog/product/view/id/10/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('2102','product','10','men/men/women/skye-wrap-dress.html','catalog/product/view/id/10/category/18',0,1,NULL,1,'{\"category_id\":\"18\"}'),('2103','product','10','men/men/men/skye-wrap-dress.html','catalog/product/view/id/10/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('2104','product','10','men/men/kids/skye-wrap-dress.html','catalog/product/view/id/10/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('2105','product','10','men/women/accessories/skye-wrap-dress.html','catalog/product/view/id/10/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('2106','product','10','men/women/kids/skye-wrap-dress.html','catalog/product/view/id/10/category/23',0,1,NULL,1,'{\"category_id\":\"23\"}'),('2107','product','10','men/women/men/skye-wrap-dress.html','catalog/product/view/id/10/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('2108','product','10','men/kids/accessories/skye-wrap-dress.html','catalog/product/view/id/10/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('2109','product','10','men/kids/women/skye-wrap-dress.html','catalog/product/view/id/10/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('2110','product','10','men/kids/men/skye-wrap-dress.html','catalog/product/view/id/10/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('2111','product','10','men/teens/men/skye-wrap-dress.html','catalog/product/view/id/10/category/34',0,1,NULL,1,'{\"category_id\":\"34\"}'),('2112','product','10','men/teens/women/skye-wrap-dress.html','catalog/product/view/id/10/category/35',0,1,NULL,1,'{\"category_id\":\"35\"}'),('2113','product','10','men/teens/kids/skye-wrap-dress.html','catalog/product/view/id/10/category/36',0,1,NULL,1,'{\"category_id\":\"36\"}'),('2114','product','10','men/accessories/kids/skye-wrap-dress.html','catalog/product/view/id/10/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('2115','product','10','men/accessories/women/skye-wrap-dress.html','catalog/product/view/id/10/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('2116','product','10','men/accessories/men/skye-wrap-dress.html','catalog/product/view/id/10/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('2117','product','10','j-3.html','skye-wrap-dress.html',301,1,NULL,0,'[]'),('2118','product','10','product-types/j-3.html','product-types/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('2119','product','10','product-types/simple-products/j-3.html','product-types/simple-products/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"10\"}'),('2120','product','10','men/women/j-3.html','men/women/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('2121','product','10','men/accessories/j-3.html','men/accessories/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('2122','product','10','men/women/accessories/j-3.html','men/women/accessories/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('2123','product','10','men/women/kids/j-3.html','men/women/kids/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"23\"}'),('2124','product','10','men/women/men/j-3.html','men/women/men/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('2125','product','10','men/kids/accessories/j-3.html','men/kids/accessories/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('2126','product','10','men/kids/women/j-3.html','men/kids/women/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('2127','product','10','men/kids/men/j-3.html','men/kids/men/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('2128','product','10','men/accessories/kids/j-3.html','men/accessories/kids/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('2129','product','10','men/accessories/women/j-3.html','men/accessories/women/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('2130','product','10','men/accessories/men/j-3.html','men/accessories/men/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('2131','product','10','men/j-3.html','men/skye-wrap-dress.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('2132','product','10','men/kids/skye-wrap-dress.html','catalog/product/view/id/10/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('3032','product','11','azalea-backpack.html','catalog/product/view/id/11',0,1,NULL,1,NULL),('3033','product','11','men/azalea-backpack.html','catalog/product/view/id/11/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('3034','product','11','women/azalea-backpack.html','catalog/product/view/id/11/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('3035','product','11','kids/azalea-backpack.html','catalog/product/view/id/11/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('3036','product','11','accessories/azalea-backpack.html','catalog/product/view/id/11/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('3037','product','11','product-types/azalea-backpack.html','catalog/product/view/id/11/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('3038','product','11','product-types/products-with-options/azalea-backpack.html','catalog/product/view/id/11/category/11',0,1,NULL,1,'{\"category_id\":\"11\"}'),('3039','product','11','men/men/azalea-backpack.html','catalog/product/view/id/11/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('3040','product','11','men/women/azalea-backpack.html','catalog/product/view/id/11/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('3041','product','11','men/kids/azalea-backpack.html','catalog/product/view/id/11/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('3042','product','11','men/accessories/azalea-backpack.html','catalog/product/view/id/11/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('3043','product','11','men/men/men/azalea-backpack.html','catalog/product/view/id/11/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('3044','product','11','men/men/teens/azalea-backpack.html','catalog/product/view/id/11/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('3045','product','11','men/men/kids/azalea-backpack.html','catalog/product/view/id/11/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('3046','product','11','men/women/women/azalea-backpack.html','catalog/product/view/id/11/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('3047','product','11','men/women/men/azalea-backpack.html','catalog/product/view/id/11/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('3048','product','11','men/kids/kids/azalea-backpack.html','catalog/product/view/id/11/category/27',0,1,NULL,1,'{\"category_id\":\"27\"}'),('3049','product','11','men/kids/women/azalea-backpack.html','catalog/product/view/id/11/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('3050','product','11','men/kids/men/azalea-backpack.html','catalog/product/view/id/11/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('3051','product','11','men/accessories/women/azalea-backpack.html','catalog/product/view/id/11/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('3052','product','11','men/accessories/men/azalea-backpack.html','catalog/product/view/id/11/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('3053','product','11','o.html','azalea-backpack.html',301,1,NULL,0,'[]'),('3054','product','11','men/o.html','men/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('3055','product','11','women/o.html','women/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('3056','product','11','kids/o.html','kids/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('3057','product','11','accessories/o.html','accessories/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"7\"}'),('3058','product','11','product-types/o.html','product-types/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('3059','product','11','men/men/o.html','men/men/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('3060','product','11','men/women/o.html','men/women/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('3061','product','11','men/kids/o.html','men/kids/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('3062','product','11','men/accessories/o.html','men/accessories/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('3063','product','11','men/men/men/o.html','men/men/men/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"19\"}'),('3064','product','11','men/men/teens/o.html','men/men/teens/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('3065','product','11','men/men/kids/o.html','men/men/kids/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('3066','product','11','men/women/women/o.html','men/women/women/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('3067','product','11','men/women/men/o.html','men/women/men/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('3068','product','11','men/kids/kids/o.html','men/kids/kids/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"27\"}'),('3069','product','11','men/kids/women/o.html','men/kids/women/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('3070','product','11','men/kids/men/o.html','men/kids/men/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('3071','product','11','men/accessories/women/o.html','men/accessories/women/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('3072','product','11','men/accessories/men/o.html','men/accessories/men/azalea-backpack.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('3155','product','12','black-label-superbreak-backpack.html','catalog/product/view/id/12',0,1,NULL,1,NULL),('3156','product','12','men/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('3157','product','12','women/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('3158','product','12','kids/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('3159','product','12','accessories/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('3160','product','12','product-types/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('3161','product','12','product-types/products-with-options/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/11',0,1,NULL,1,'{\"category_id\":\"11\"}'),('3162','product','12','men/men/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('3163','product','12','men/women/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('3164','product','12','men/kids/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('3165','product','12','men/accessories/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('3166','product','12','men/men/men/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('3167','product','12','men/men/teens/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('3168','product','12','men/men/kids/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('3169','product','12','men/women/women/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('3170','product','12','men/women/men/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('3171','product','12','men/kids/kids/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/27',0,1,NULL,1,'{\"category_id\":\"27\"}'),('3172','product','12','men/kids/women/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('3173','product','12','men/kids/men/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('3174','product','12','men/accessories/women/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('3175','product','12','men/accessories/men/black-label-superbreak-backpack.html','catalog/product/view/id/12/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('3176','product','12','o-1.html','black-label-superbreak-backpack.html',301,1,NULL,0,'[]'),('3177','product','12','men/o-1.html','men/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('3178','product','12','women/o-1.html','women/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('3179','product','12','kids/o-1.html','kids/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('3180','product','12','accessories/o-1.html','accessories/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"7\"}'),('3181','product','12','product-types/o-1.html','product-types/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('3182','product','12','men/men/o-1.html','men/men/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('3183','product','12','men/women/o-1.html','men/women/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('3184','product','12','men/kids/o-1.html','men/kids/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('3185','product','12','men/accessories/o-1.html','men/accessories/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('3186','product','12','men/men/men/o-1.html','men/men/men/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"19\"}'),('3187','product','12','men/men/teens/o-1.html','men/men/teens/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('3188','product','12','men/men/kids/o-1.html','men/men/kids/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('3189','product','12','men/women/women/o-1.html','men/women/women/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('3190','product','12','men/women/men/o-1.html','men/women/men/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('3191','product','12','men/kids/kids/o-1.html','men/kids/kids/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"27\"}'),('3192','product','12','men/kids/women/o-1.html','men/kids/women/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('3193','product','12','men/kids/men/o-1.html','men/kids/men/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('3194','product','12','men/accessories/women/o-1.html','men/accessories/women/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('3195','product','12','men/accessories/men/o-1.html','men/accessories/men/black-label-superbreak-backpack.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('3278','product','13','packable-duffle.html','catalog/product/view/id/13',0,1,NULL,1,NULL),('3279','product','13','men/packable-duffle.html','catalog/product/view/id/13/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('3280','product','13','women/packable-duffle.html','catalog/product/view/id/13/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('3281','product','13','kids/packable-duffle.html','catalog/product/view/id/13/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('3282','product','13','accessories/packable-duffle.html','catalog/product/view/id/13/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('3283','product','13','product-types/packable-duffle.html','catalog/product/view/id/13/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('3284','product','13','product-types/products-with-options/packable-duffle.html','catalog/product/view/id/13/category/11',0,1,NULL,1,'{\"category_id\":\"11\"}'),('3285','product','13','men/men/packable-duffle.html','catalog/product/view/id/13/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('3286','product','13','men/women/packable-duffle.html','catalog/product/view/id/13/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('3287','product','13','men/kids/packable-duffle.html','catalog/product/view/id/13/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('3288','product','13','men/accessories/packable-duffle.html','catalog/product/view/id/13/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('3289','product','13','men/men/men/packable-duffle.html','catalog/product/view/id/13/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('3290','product','13','men/men/teens/packable-duffle.html','catalog/product/view/id/13/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('3291','product','13','men/men/kids/packable-duffle.html','catalog/product/view/id/13/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('3292','product','13','men/women/women/packable-duffle.html','catalog/product/view/id/13/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('3293','product','13','men/women/men/packable-duffle.html','catalog/product/view/id/13/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('3294','product','13','men/kids/kids/packable-duffle.html','catalog/product/view/id/13/category/27',0,1,NULL,1,'{\"category_id\":\"27\"}'),('3295','product','13','men/kids/women/packable-duffle.html','catalog/product/view/id/13/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('3296','product','13','men/kids/men/packable-duffle.html','catalog/product/view/id/13/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('3297','product','13','men/accessories/women/packable-duffle.html','catalog/product/view/id/13/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('3298','product','13','men/accessories/men/packable-duffle.html','catalog/product/view/id/13/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('3299','product','13','o-2.html','packable-duffle.html',301,1,NULL,0,'[]'),('3300','product','13','men/o-2.html','men/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('3301','product','13','women/o-2.html','women/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('3302','product','13','kids/o-2.html','kids/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('3303','product','13','accessories/o-2.html','accessories/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"7\"}'),('3304','product','13','product-types/o-2.html','product-types/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('3305','product','13','men/men/o-2.html','men/men/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('3306','product','13','men/women/o-2.html','men/women/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('3307','product','13','men/kids/o-2.html','men/kids/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('3308','product','13','men/accessories/o-2.html','men/accessories/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('3309','product','13','men/men/men/o-2.html','men/men/men/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"19\"}'),('3310','product','13','men/men/teens/o-2.html','men/men/teens/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('3311','product','13','men/men/kids/o-2.html','men/men/kids/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('3312','product','13','men/women/women/o-2.html','men/women/women/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('3313','product','13','men/women/men/o-2.html','men/women/men/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('3314','product','13','men/kids/kids/o-2.html','men/kids/kids/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"27\"}'),('3315','product','13','men/kids/women/o-2.html','men/kids/women/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('3316','product','13','men/kids/men/o-2.html','men/kids/men/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('3317','product','13','men/accessories/women/o-2.html','men/accessories/women/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('3318','product','13','men/accessories/men/o-2.html','men/accessories/men/packable-duffle.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('3401','product','14','soft-beach-bag.html','catalog/product/view/id/14',0,1,NULL,1,NULL),('3402','product','14','men/soft-beach-bag.html','catalog/product/view/id/14/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('3403','product','14','women/soft-beach-bag.html','catalog/product/view/id/14/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('3404','product','14','kids/soft-beach-bag.html','catalog/product/view/id/14/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('3405','product','14','accessories/soft-beach-bag.html','catalog/product/view/id/14/category/7',0,1,NULL,1,'{\"category_id\":\"7\"}'),('3406','product','14','product-types/soft-beach-bag.html','catalog/product/view/id/14/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('3407','product','14','product-types/products-with-options/soft-beach-bag.html','catalog/product/view/id/14/category/11',0,1,NULL,1,'{\"category_id\":\"11\"}'),('3408','product','14','men/men/soft-beach-bag.html','catalog/product/view/id/14/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('3409','product','14','men/women/soft-beach-bag.html','catalog/product/view/id/14/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('3410','product','14','men/kids/soft-beach-bag.html','catalog/product/view/id/14/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('3411','product','14','men/accessories/soft-beach-bag.html','catalog/product/view/id/14/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('3412','product','14','men/men/men/soft-beach-bag.html','catalog/product/view/id/14/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('3413','product','14','men/men/teens/soft-beach-bag.html','catalog/product/view/id/14/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('3414','product','14','men/men/kids/soft-beach-bag.html','catalog/product/view/id/14/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('3415','product','14','men/women/women/soft-beach-bag.html','catalog/product/view/id/14/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('3416','product','14','men/women/men/soft-beach-bag.html','catalog/product/view/id/14/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('3417','product','14','men/kids/kids/soft-beach-bag.html','catalog/product/view/id/14/category/27',0,1,NULL,1,'{\"category_id\":\"27\"}'),('3418','product','14','men/kids/women/soft-beach-bag.html','catalog/product/view/id/14/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('3419','product','14','men/kids/men/soft-beach-bag.html','catalog/product/view/id/14/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('3420','product','14','men/accessories/women/soft-beach-bag.html','catalog/product/view/id/14/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('3421','product','14','men/accessories/men/soft-beach-bag.html','catalog/product/view/id/14/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('3422','product','14','o-3.html','soft-beach-bag.html',301,1,NULL,0,'[]'),('3423','product','14','men/o-3.html','men/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('3424','product','14','women/o-3.html','women/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('3425','product','14','kids/o-3.html','kids/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('3426','product','14','accessories/o-3.html','accessories/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"7\"}'),('3427','product','14','product-types/o-3.html','product-types/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('3428','product','14','men/men/o-3.html','men/men/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('3429','product','14','men/women/o-3.html','men/women/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('3430','product','14','men/kids/o-3.html','men/kids/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('3431','product','14','men/accessories/o-3.html','men/accessories/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('3432','product','14','men/men/men/o-3.html','men/men/men/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"19\"}'),('3433','product','14','men/men/teens/o-3.html','men/men/teens/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('3434','product','14','men/men/kids/o-3.html','men/men/kids/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('3435','product','14','men/women/women/o-3.html','men/women/women/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('3436','product','14','men/women/men/o-3.html','men/women/men/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('3437','product','14','men/kids/kids/o-3.html','men/kids/kids/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"27\"}'),('3438','product','14','men/kids/women/o-3.html','men/kids/women/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('3439','product','14','men/kids/men/o-3.html','men/kids/men/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('3440','product','14','men/accessories/women/o-3.html','men/accessories/women/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('3441','product','14','men/accessories/men/o-3.html','men/accessories/men/soft-beach-bag.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('3524','product','15','town-x-small.html','catalog/product/view/id/15',0,1,NULL,1,NULL),('3525','product','15','men/town-x-small.html','catalog/product/view/id/15/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('3526','product','15','kids/town-x-small.html','catalog/product/view/id/15/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('3527','product','15','teens/town-x-small.html','catalog/product/view/id/15/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('3528','product','15','product-types/town-x-small.html','catalog/product/view/id/15/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('3529','product','15','product-types/products-with-options/town-x-small.html','catalog/product/view/id/15/category/11',0,1,NULL,1,'{\"category_id\":\"11\"}'),('3530','product','15','men/men/town-x-small.html','catalog/product/view/id/15/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('3531','product','15','men/women/town-x-small.html','catalog/product/view/id/15/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('3532','product','15','men/kids/town-x-small.html','catalog/product/view/id/15/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('3533','product','15','men/accessories/town-x-small.html','catalog/product/view/id/15/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('3534','product','15','men/men/men/town-x-small.html','catalog/product/view/id/15/category/19',0,1,NULL,1,'{\"category_id\":\"19\"}'),('3535','product','15','men/men/teens/town-x-small.html','catalog/product/view/id/15/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('3536','product','15','men/men/kids/town-x-small.html','catalog/product/view/id/15/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}');
INSERT INTO `url_rewrite` VALUES ('3537','product','15','men/women/women/town-x-small.html','catalog/product/view/id/15/category/25',0,1,NULL,1,'{\"category_id\":\"25\"}'),('3538','product','15','men/women/men/town-x-small.html','catalog/product/view/id/15/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('3539','product','15','men/kids/kids/town-x-small.html','catalog/product/view/id/15/category/27',0,1,NULL,1,'{\"category_id\":\"27\"}'),('3540','product','15','men/kids/women/town-x-small.html','catalog/product/view/id/15/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('3541','product','15','men/kids/men/town-x-small.html','catalog/product/view/id/15/category/30',0,1,NULL,1,'{\"category_id\":\"30\"}'),('3542','product','15','men/accessories/women/town-x-small.html','catalog/product/view/id/15/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('3543','product','15','men/accessories/men/town-x-small.html','catalog/product/view/id/15/category/40',0,1,NULL,1,'{\"category_id\":\"40\"}'),('3544','product','15','o-4.html','town-x-small.html',301,1,NULL,0,'[]'),('3545','product','15','men/o-4.html','men/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('3546','product','15','kids/o-4.html','kids/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('3547','product','15','product-types/o-4.html','product-types/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('3548','product','15','men/men/o-4.html','men/men/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('3549','product','15','men/women/o-4.html','men/women/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('3550','product','15','men/kids/o-4.html','men/kids/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('3551','product','15','men/accessories/o-4.html','men/accessories/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('3552','product','15','men/men/men/o-4.html','men/men/men/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"19\"}'),('3553','product','15','men/men/teens/o-4.html','men/men/teens/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('3554','product','15','men/men/kids/o-4.html','men/men/kids/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('3555','product','15','men/women/women/o-4.html','men/women/women/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"25\"}'),('3556','product','15','men/women/men/o-4.html','men/women/men/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('3557','product','15','men/kids/kids/o-4.html','men/kids/kids/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"27\"}'),('3558','product','15','men/kids/women/o-4.html','men/kids/women/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('3559','product','15','men/kids/men/o-4.html','men/kids/men/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"30\"}'),('3560','product','15','men/accessories/women/o-4.html','men/accessories/women/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('3561','product','15','men/accessories/men/o-4.html','men/accessories/men/town-x-small.html',301,1,NULL,0,'{\"category_id\":\"40\"}'),('4397','product','16','burnout-smock-dress.html','catalog/product/view/id/16',0,1,NULL,1,NULL),('4398','product','16','men/burnout-smock-dress.html','catalog/product/view/id/16/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('4399','product','16','women/burnout-smock-dress.html','catalog/product/view/id/16/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('4400','product','16','kids/burnout-smock-dress.html','catalog/product/view/id/16/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('4401','product','16','teens/burnout-smock-dress.html','catalog/product/view/id/16/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('4402','product','16','product-types/burnout-smock-dress.html','catalog/product/view/id/16/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('4403','product','16','product-types/configurable-products/burnout-smock-dress.html','catalog/product/view/id/16/category/9',0,1,NULL,1,'{\"category_id\":\"9\"}'),('4404','product','16','men/men/burnout-smock-dress.html','catalog/product/view/id/16/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('4405','product','16','men/women/burnout-smock-dress.html','catalog/product/view/id/16/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('4406','product','16','men/kids/burnout-smock-dress.html','catalog/product/view/id/16/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('4407','product','16','men/accessories/burnout-smock-dress.html','catalog/product/view/id/16/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('4408','product','16','men/men/accessories/burnout-smock-dress.html','catalog/product/view/id/16/category/17',0,1,NULL,1,'{\"category_id\":\"17\"}'),('4409','product','16','men/men/teens/burnout-smock-dress.html','catalog/product/view/id/16/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('4410','product','16','men/men/kids/burnout-smock-dress.html','catalog/product/view/id/16/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('4411','product','16','men/women/accessories/burnout-smock-dress.html','catalog/product/view/id/16/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('4412','product','16','men/women/teens/burnout-smock-dress.html','catalog/product/view/id/16/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('4413','product','16','men/women/men/burnout-smock-dress.html','catalog/product/view/id/16/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('4414','product','16','men/kids/accessories/burnout-smock-dress.html','catalog/product/view/id/16/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('4415','product','16','men/kids/women/burnout-smock-dress.html','catalog/product/view/id/16/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('4416','product','16','men/kids/teens/burnout-smock-dress.html','catalog/product/view/id/16/category/31',0,1,NULL,1,'{\"category_id\":\"31\"}'),('4417','product','16','men/accessories/teens/burnout-smock-dress.html','catalog/product/view/id/16/category/37',0,1,NULL,1,'{\"category_id\":\"37\"}'),('4418','product','16','men/accessories/kids/burnout-smock-dress.html','catalog/product/view/id/16/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('4419','product','16','men/accessories/women/burnout-smock-dress.html','catalog/product/view/id/16/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('4420','product','16','c.html','burnout-smock-dress.html',301,1,NULL,0,'[]'),('4421','product','16','men/c.html','men/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('4422','product','16','women/c.html','women/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('4423','product','16','kids/c.html','kids/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('4424','product','16','teens/c.html','teens/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"6\"}'),('4425','product','16','product-types/c.html','product-types/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('4426','product','16','product-types/configurable-products/c.html','product-types/configurable-products/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"9\"}'),('4427','product','16','men/men/c.html','men/men/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('4428','product','16','men/women/c.html','men/women/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('4429','product','16','men/kids/c.html','men/kids/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('4430','product','16','men/accessories/c.html','men/accessories/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('4431','product','16','men/men/accessories/c.html','men/men/accessories/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"17\"}'),('4432','product','16','men/men/teens/c.html','men/men/teens/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('4433','product','16','men/men/kids/c.html','men/men/kids/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('4434','product','16','men/women/accessories/c.html','men/women/accessories/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('4435','product','16','men/women/teens/c.html','men/women/teens/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('4436','product','16','men/women/men/c.html','men/women/men/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('4437','product','16','men/kids/accessories/c.html','men/kids/accessories/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('4438','product','16','men/kids/women/c.html','men/kids/women/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('4439','product','16','men/kids/teens/c.html','men/kids/teens/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"31\"}'),('4440','product','16','men/accessories/teens/c.html','men/accessories/teens/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"37\"}'),('4441','product','16','men/accessories/kids/c.html','men/accessories/kids/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('4442','product','16','men/accessories/women/c.html','men/accessories/women/burnout-smock-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('4535','product','17','mia-high-neck-dress.html','catalog/product/view/id/17',0,1,NULL,1,NULL),('4536','product','17','men/mia-high-neck-dress.html','catalog/product/view/id/17/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('4537','product','17','women/mia-high-neck-dress.html','catalog/product/view/id/17/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('4538','product','17','kids/mia-high-neck-dress.html','catalog/product/view/id/17/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('4539','product','17','teens/mia-high-neck-dress.html','catalog/product/view/id/17/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('4540','product','17','product-types/mia-high-neck-dress.html','catalog/product/view/id/17/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('4541','product','17','product-types/configurable-products/mia-high-neck-dress.html','catalog/product/view/id/17/category/9',0,1,NULL,1,'{\"category_id\":\"9\"}'),('4542','product','17','men/men/mia-high-neck-dress.html','catalog/product/view/id/17/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('4543','product','17','men/women/mia-high-neck-dress.html','catalog/product/view/id/17/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('4544','product','17','men/kids/mia-high-neck-dress.html','catalog/product/view/id/17/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('4545','product','17','men/accessories/mia-high-neck-dress.html','catalog/product/view/id/17/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('4546','product','17','men/men/accessories/mia-high-neck-dress.html','catalog/product/view/id/17/category/17',0,1,NULL,1,'{\"category_id\":\"17\"}'),('4547','product','17','men/men/teens/mia-high-neck-dress.html','catalog/product/view/id/17/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('4548','product','17','men/men/kids/mia-high-neck-dress.html','catalog/product/view/id/17/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('4549','product','17','men/women/accessories/mia-high-neck-dress.html','catalog/product/view/id/17/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('4550','product','17','men/women/teens/mia-high-neck-dress.html','catalog/product/view/id/17/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('4551','product','17','men/women/men/mia-high-neck-dress.html','catalog/product/view/id/17/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('4552','product','17','men/kids/accessories/mia-high-neck-dress.html','catalog/product/view/id/17/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('4553','product','17','men/kids/women/mia-high-neck-dress.html','catalog/product/view/id/17/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('4554','product','17','men/kids/teens/mia-high-neck-dress.html','catalog/product/view/id/17/category/31',0,1,NULL,1,'{\"category_id\":\"31\"}'),('4555','product','17','men/accessories/teens/mia-high-neck-dress.html','catalog/product/view/id/17/category/37',0,1,NULL,1,'{\"category_id\":\"37\"}'),('4556','product','17','men/accessories/kids/mia-high-neck-dress.html','catalog/product/view/id/17/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('4557','product','17','men/accessories/women/mia-high-neck-dress.html','catalog/product/view/id/17/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('4558','product','17','c-1.html','mia-high-neck-dress.html',301,1,NULL,0,'[]'),('4559','product','17','men/c-1.html','men/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('4560','product','17','women/c-1.html','women/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('4561','product','17','kids/c-1.html','kids/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('4562','product','17','teens/c-1.html','teens/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"6\"}'),('4563','product','17','product-types/c-1.html','product-types/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('4564','product','17','product-types/configurable-products/c-1.html','product-types/configurable-products/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"9\"}'),('4565','product','17','men/men/c-1.html','men/men/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('4566','product','17','men/women/c-1.html','men/women/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('4567','product','17','men/kids/c-1.html','men/kids/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('4568','product','17','men/accessories/c-1.html','men/accessories/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('4569','product','17','men/men/accessories/c-1.html','men/men/accessories/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"17\"}'),('4570','product','17','men/men/teens/c-1.html','men/men/teens/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('4571','product','17','men/men/kids/c-1.html','men/men/kids/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('4572','product','17','men/women/accessories/c-1.html','men/women/accessories/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('4573','product','17','men/women/teens/c-1.html','men/women/teens/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('4574','product','17','men/women/men/c-1.html','men/women/men/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('4575','product','17','men/kids/accessories/c-1.html','men/kids/accessories/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('4576','product','17','men/kids/women/c-1.html','men/kids/women/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('4577','product','17','men/kids/teens/c-1.html','men/kids/teens/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"31\"}'),('4578','product','17','men/accessories/teens/c-1.html','men/accessories/teens/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"37\"}'),('4579','product','17','men/accessories/kids/c-1.html','men/accessories/kids/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('4580','product','17','men/accessories/women/c-1.html','men/accessories/women/mia-high-neck-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('4673','product','18','mixed-bouquet-skirt.html','catalog/product/view/id/18',0,1,NULL,1,NULL),('4674','product','18','men/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('4675','product','18','women/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('4676','product','18','kids/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('4677','product','18','teens/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('4678','product','18','product-types/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('4679','product','18','product-types/configurable-products/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/9',0,1,NULL,1,'{\"category_id\":\"9\"}'),('4680','product','18','men/men/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('4681','product','18','men/women/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('4682','product','18','men/kids/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('4683','product','18','men/accessories/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('4684','product','18','men/men/accessories/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/17',0,1,NULL,1,'{\"category_id\":\"17\"}'),('4685','product','18','men/men/teens/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('4686','product','18','men/men/kids/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('4687','product','18','men/women/accessories/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('4688','product','18','men/women/teens/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('4689','product','18','men/women/men/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('4690','product','18','men/kids/accessories/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('4691','product','18','men/kids/women/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('4692','product','18','men/kids/teens/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/31',0,1,NULL,1,'{\"category_id\":\"31\"}'),('4693','product','18','men/accessories/teens/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/37',0,1,NULL,1,'{\"category_id\":\"37\"}'),('4694','product','18','men/accessories/kids/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('4695','product','18','men/accessories/women/mixed-bouquet-skirt.html','catalog/product/view/id/18/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('4696','product','18','c-2.html','mixed-bouquet-skirt.html',301,1,NULL,0,'[]'),('4697','product','18','men/c-2.html','men/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('4698','product','18','women/c-2.html','women/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('4699','product','18','kids/c-2.html','kids/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('4700','product','18','teens/c-2.html','teens/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"6\"}'),('4701','product','18','product-types/c-2.html','product-types/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('4702','product','18','product-types/configurable-products/c-2.html','product-types/configurable-products/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"9\"}'),('4703','product','18','men/men/c-2.html','men/men/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('4704','product','18','men/women/c-2.html','men/women/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('4705','product','18','men/kids/c-2.html','men/kids/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('4706','product','18','men/accessories/c-2.html','men/accessories/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('4707','product','18','men/men/accessories/c-2.html','men/men/accessories/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"17\"}'),('4708','product','18','men/men/teens/c-2.html','men/men/teens/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('4709','product','18','men/men/kids/c-2.html','men/men/kids/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('4710','product','18','men/women/accessories/c-2.html','men/women/accessories/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('4711','product','18','men/women/teens/c-2.html','men/women/teens/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('4712','product','18','men/women/men/c-2.html','men/women/men/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('4713','product','18','men/kids/accessories/c-2.html','men/kids/accessories/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('4714','product','18','men/kids/women/c-2.html','men/kids/women/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('4715','product','18','men/kids/teens/c-2.html','men/kids/teens/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"31\"}'),('4716','product','18','men/accessories/teens/c-2.html','men/accessories/teens/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"37\"}'),('4717','product','18','men/accessories/kids/c-2.html','men/accessories/kids/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('4718','product','18','men/accessories/women/c-2.html','men/accessories/women/mixed-bouquet-skirt.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('4811','product','19','violetta-ruffle-dress.html','catalog/product/view/id/19',0,1,NULL,1,NULL),('4812','product','19','men/violetta-ruffle-dress.html','catalog/product/view/id/19/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('4813','product','19','women/violetta-ruffle-dress.html','catalog/product/view/id/19/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('4814','product','19','kids/violetta-ruffle-dress.html','catalog/product/view/id/19/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('4815','product','19','teens/violetta-ruffle-dress.html','catalog/product/view/id/19/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('4816','product','19','product-types/violetta-ruffle-dress.html','catalog/product/view/id/19/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('4817','product','19','product-types/configurable-products/violetta-ruffle-dress.html','catalog/product/view/id/19/category/9',0,1,NULL,1,'{\"category_id\":\"9\"}'),('4818','product','19','men/men/violetta-ruffle-dress.html','catalog/product/view/id/19/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('4819','product','19','men/women/violetta-ruffle-dress.html','catalog/product/view/id/19/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('4820','product','19','men/kids/violetta-ruffle-dress.html','catalog/product/view/id/19/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('4821','product','19','men/accessories/violetta-ruffle-dress.html','catalog/product/view/id/19/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('4822','product','19','men/men/accessories/violetta-ruffle-dress.html','catalog/product/view/id/19/category/17',0,1,NULL,1,'{\"category_id\":\"17\"}'),('4823','product','19','men/men/teens/violetta-ruffle-dress.html','catalog/product/view/id/19/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('4824','product','19','men/men/kids/violetta-ruffle-dress.html','catalog/product/view/id/19/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('4825','product','19','men/women/accessories/violetta-ruffle-dress.html','catalog/product/view/id/19/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('4826','product','19','men/women/teens/violetta-ruffle-dress.html','catalog/product/view/id/19/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('4827','product','19','men/women/men/violetta-ruffle-dress.html','catalog/product/view/id/19/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('4828','product','19','men/kids/accessories/violetta-ruffle-dress.html','catalog/product/view/id/19/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('4829','product','19','men/kids/women/violetta-ruffle-dress.html','catalog/product/view/id/19/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('4830','product','19','men/kids/teens/violetta-ruffle-dress.html','catalog/product/view/id/19/category/31',0,1,NULL,1,'{\"category_id\":\"31\"}'),('4831','product','19','men/accessories/teens/violetta-ruffle-dress.html','catalog/product/view/id/19/category/37',0,1,NULL,1,'{\"category_id\":\"37\"}'),('4832','product','19','men/accessories/kids/violetta-ruffle-dress.html','catalog/product/view/id/19/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('4833','product','19','men/accessories/women/violetta-ruffle-dress.html','catalog/product/view/id/19/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('4834','product','19','c-3.html','violetta-ruffle-dress.html',301,1,NULL,0,'[]'),('4835','product','19','men/c-3.html','men/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('4836','product','19','women/c-3.html','women/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('4837','product','19','kids/c-3.html','kids/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('4838','product','19','teens/c-3.html','teens/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"6\"}'),('4839','product','19','product-types/c-3.html','product-types/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('4840','product','19','product-types/configurable-products/c-3.html','product-types/configurable-products/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"9\"}'),('4841','product','19','men/men/c-3.html','men/men/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('4842','product','19','men/women/c-3.html','men/women/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('4843','product','19','men/kids/c-3.html','men/kids/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('4844','product','19','men/accessories/c-3.html','men/accessories/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('4845','product','19','men/men/accessories/c-3.html','men/men/accessories/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"17\"}'),('4846','product','19','men/men/teens/c-3.html','men/men/teens/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('4847','product','19','men/men/kids/c-3.html','men/men/kids/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('4848','product','19','men/women/accessories/c-3.html','men/women/accessories/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('4849','product','19','men/women/teens/c-3.html','men/women/teens/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('4850','product','19','men/women/men/c-3.html','men/women/men/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('4851','product','19','men/kids/accessories/c-3.html','men/kids/accessories/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('4852','product','19','men/kids/women/c-3.html','men/kids/women/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('4853','product','19','men/kids/teens/c-3.html','men/kids/teens/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"31\"}'),('4854','product','19','men/accessories/teens/c-3.html','men/accessories/teens/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"37\"}'),('4855','product','19','men/accessories/kids/c-3.html','men/accessories/kids/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('4856','product','19','men/accessories/women/c-3.html','men/accessories/women/violetta-ruffle-dress.html',301,1,NULL,0,'{\"category_id\":\"39\"}'),('4949','product','20','yes-darling-skirt.html','catalog/product/view/id/20',0,1,NULL,1,NULL),('4950','product','20','men/yes-darling-skirt.html','catalog/product/view/id/20/category/3',0,1,NULL,1,'{\"category_id\":\"3\"}'),('4951','product','20','women/yes-darling-skirt.html','catalog/product/view/id/20/category/4',0,1,NULL,1,'{\"category_id\":\"4\"}'),('4952','product','20','kids/yes-darling-skirt.html','catalog/product/view/id/20/category/5',0,1,NULL,1,'{\"category_id\":\"5\"}'),('4953','product','20','teens/yes-darling-skirt.html','catalog/product/view/id/20/category/6',0,1,NULL,1,'{\"category_id\":\"6\"}'),('4954','product','20','product-types/yes-darling-skirt.html','catalog/product/view/id/20/category/8',0,1,NULL,1,'{\"category_id\":\"8\"}'),('4955','product','20','product-types/configurable-products/yes-darling-skirt.html','catalog/product/view/id/20/category/9',0,1,NULL,1,'{\"category_id\":\"9\"}'),('4956','product','20','men/men/yes-darling-skirt.html','catalog/product/view/id/20/category/12',0,1,NULL,1,'{\"category_id\":\"12\"}'),('4957','product','20','men/women/yes-darling-skirt.html','catalog/product/view/id/20/category/13',0,1,NULL,1,'{\"category_id\":\"13\"}'),('4958','product','20','men/kids/yes-darling-skirt.html','catalog/product/view/id/20/category/14',0,1,NULL,1,'{\"category_id\":\"14\"}'),('4959','product','20','men/accessories/yes-darling-skirt.html','catalog/product/view/id/20/category/16',0,1,NULL,1,'{\"category_id\":\"16\"}'),('4960','product','20','men/men/accessories/yes-darling-skirt.html','catalog/product/view/id/20/category/17',0,1,NULL,1,'{\"category_id\":\"17\"}'),('4961','product','20','men/men/teens/yes-darling-skirt.html','catalog/product/view/id/20/category/20',0,1,NULL,1,'{\"category_id\":\"20\"}'),('4962','product','20','men/men/kids/yes-darling-skirt.html','catalog/product/view/id/20/category/21',0,1,NULL,1,'{\"category_id\":\"21\"}'),('4963','product','20','men/women/accessories/yes-darling-skirt.html','catalog/product/view/id/20/category/22',0,1,NULL,1,'{\"category_id\":\"22\"}'),('4964','product','20','men/women/teens/yes-darling-skirt.html','catalog/product/view/id/20/category/24',0,1,NULL,1,'{\"category_id\":\"24\"}'),('4965','product','20','men/women/men/yes-darling-skirt.html','catalog/product/view/id/20/category/26',0,1,NULL,1,'{\"category_id\":\"26\"}'),('4966','product','20','men/kids/accessories/yes-darling-skirt.html','catalog/product/view/id/20/category/28',0,1,NULL,1,'{\"category_id\":\"28\"}'),('4967','product','20','men/kids/women/yes-darling-skirt.html','catalog/product/view/id/20/category/29',0,1,NULL,1,'{\"category_id\":\"29\"}'),('4968','product','20','men/kids/teens/yes-darling-skirt.html','catalog/product/view/id/20/category/31',0,1,NULL,1,'{\"category_id\":\"31\"}'),('4969','product','20','men/accessories/teens/yes-darling-skirt.html','catalog/product/view/id/20/category/37',0,1,NULL,1,'{\"category_id\":\"37\"}'),('4970','product','20','men/accessories/kids/yes-darling-skirt.html','catalog/product/view/id/20/category/38',0,1,NULL,1,'{\"category_id\":\"38\"}'),('4971','product','20','men/accessories/women/yes-darling-skirt.html','catalog/product/view/id/20/category/39',0,1,NULL,1,'{\"category_id\":\"39\"}'),('4972','product','20','c-4.html','yes-darling-skirt.html',301,1,NULL,0,'[]'),('4973','product','20','men/c-4.html','men/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"3\"}'),('4974','product','20','women/c-4.html','women/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"4\"}'),('4975','product','20','kids/c-4.html','kids/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"5\"}'),('4976','product','20','teens/c-4.html','teens/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"6\"}'),('4977','product','20','product-types/c-4.html','product-types/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"8\"}'),('4978','product','20','product-types/configurable-products/c-4.html','product-types/configurable-products/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"9\"}'),('4979','product','20','men/men/c-4.html','men/men/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"12\"}'),('4980','product','20','men/women/c-4.html','men/women/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"13\"}'),('4981','product','20','men/kids/c-4.html','men/kids/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"14\"}'),('4982','product','20','men/accessories/c-4.html','men/accessories/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"16\"}'),('4983','product','20','men/men/accessories/c-4.html','men/men/accessories/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"17\"}'),('4984','product','20','men/men/teens/c-4.html','men/men/teens/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"20\"}'),('4985','product','20','men/men/kids/c-4.html','men/men/kids/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"21\"}'),('4986','product','20','men/women/accessories/c-4.html','men/women/accessories/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"22\"}'),('4987','product','20','men/women/teens/c-4.html','men/women/teens/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"24\"}'),('4988','product','20','men/women/men/c-4.html','men/women/men/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"26\"}'),('4989','product','20','men/kids/accessories/c-4.html','men/kids/accessories/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"28\"}'),('4990','product','20','men/kids/women/c-4.html','men/kids/women/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"29\"}'),('4991','product','20','men/kids/teens/c-4.html','men/kids/teens/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"31\"}'),('4992','product','20','men/accessories/teens/c-4.html','men/accessories/teens/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"37\"}'),('4993','product','20','men/accessories/kids/c-4.html','men/accessories/kids/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"38\"}'),('4994','product','20','men/accessories/women/c-4.html','men/accessories/women/yes-darling-skirt.html',301,1,NULL,0,'{\"category_id\":\"39\"}');

--
-- Table structure for table `variable`
--

CREATE TABLE `variable` (
  `variable_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Variable Id',
  `code` varchar(255) DEFAULT NULL COMMENT 'Variable Code',
  `name` varchar(255) DEFAULT NULL COMMENT 'Variable Name',
  PRIMARY KEY (`variable_id`),
  UNIQUE KEY `VARIABLE_CODE` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variables';

--
-- Table structure for table `variable_value`
--

CREATE TABLE `variable_value` (
  `value_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Variable Value Id',
  `variable_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Variable Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `plain_value` text COMMENT 'Plain Text Value',
  `html_value` text COMMENT 'Html Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `VARIABLE_VALUE_VARIABLE_ID_STORE_ID` (`variable_id`,`store_id`),
  KEY `VARIABLE_VALUE_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variable Value';

--
-- Table structure for table `vault_payment_token`
--

CREATE TABLE `vault_payment_token` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer Id',
  `public_hash` varchar(128) NOT NULL COMMENT 'Hash code for using on frontend',
  `payment_method_code` varchar(128) NOT NULL COMMENT 'Payment method code',
  `type` varchar(128) NOT NULL COMMENT 'Type',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `expires_at` timestamp NULL DEFAULT NULL COMMENT 'Expires At',
  `gateway_token` varchar(255) NOT NULL COMMENT 'Gateway Token',
  `details` text COMMENT 'Details',
  `is_active` tinyint(1) NOT NULL COMMENT 'Is active flag',
  `is_visible` tinyint(1) NOT NULL COMMENT 'Is visible flag',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `VAULT_PAYMENT_TOKEN_HASH_UNIQUE_INDEX_PUBLIC_HASH` (`public_hash`),
  UNIQUE KEY `UNQ_54DCE14AEAEA03B587F9EF723EB10A10` (`payment_method_code`,`customer_id`,`gateway_token`),
  KEY `VAULT_PAYMENT_TOKEN_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Vault tokens of payment';

--
-- Table structure for table `vault_payment_token_order_payment_link`
--

CREATE TABLE `vault_payment_token_order_payment_link` (
  `order_payment_id` int(10) unsigned NOT NULL COMMENT 'Order payment Id',
  `payment_token_id` int(10) unsigned NOT NULL COMMENT 'Payment token Id',
  PRIMARY KEY (`order_payment_id`,`payment_token_id`),
  KEY `FK_4ED894655446D385894580BECA993862` (`payment_token_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Order payments to vault token';

--
-- Table structure for table `weee_tax`
--

CREATE TABLE `weee_tax` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value Id',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website Id',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Id',
  `country` varchar(2) DEFAULT NULL COMMENT 'Country',
  `value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Value',
  `state` int(11) NOT NULL DEFAULT '0' COMMENT 'State',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute Id',
  PRIMARY KEY (`value_id`),
  KEY `WEEE_TAX_WEBSITE_ID` (`website_id`),
  KEY `WEEE_TAX_ENTITY_ID` (`entity_id`),
  KEY `WEEE_TAX_COUNTRY` (`country`),
  KEY `WEEE_TAX_ATTRIBUTE_ID` (`attribute_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Weee Tax';

--
-- Table structure for table `widget`
--

CREATE TABLE `widget` (
  `widget_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Widget Id',
  `widget_code` varchar(255) DEFAULT NULL COMMENT 'Widget code for template directive',
  `widget_type` varchar(255) DEFAULT NULL COMMENT 'Widget Type',
  `parameters` text COMMENT 'Parameters',
  PRIMARY KEY (`widget_id`),
  KEY `WIDGET_WIDGET_CODE` (`widget_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Preconfigured Widgets';

--
-- Table structure for table `widget_instance`
--

CREATE TABLE `widget_instance` (
  `instance_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Instance Id',
  `instance_type` varchar(255) DEFAULT NULL COMMENT 'Instance Type',
  `theme_id` int(10) unsigned NOT NULL COMMENT 'Theme id',
  `title` varchar(255) DEFAULT NULL COMMENT 'Widget Title',
  `store_ids` varchar(255) NOT NULL DEFAULT '0' COMMENT 'Store ids',
  `widget_parameters` text COMMENT 'Widget parameters',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Sort order',
  PRIMARY KEY (`instance_id`),
  KEY `WIDGET_INSTANCE_THEME_ID_THEME_THEME_ID` (`theme_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Instances of Widget for Package Theme';

--
-- Dumping data for table `widget_instance`
--

INSERT INTO `widget_instance` VALUES ('1','Magento\\Cms\\Block\\Widget\\Block','5','banner_box','0','{\"block_id\":\"12\"}',1),('2','TemplateMonster\\FilmSlider\\Block\\Widget\\FilmSlider','5','Home Slider','0','{\"title\":\"\",\"slider_id\":\"1\"}',1),('4','TemplateMonster\\FeaturedProduct\\Block\\FeaturedProduct\\Widget\\Product','5','Featured products','0','{\"widget_status\":\"1\",\"product_types\":[\"new_product\",\"viewed_product\",\"bestseller_product\",\"manual_product\"],\"product_ids\":\"1,2,3,4,5,6,7,8\",\"conditions\":{\"1\":{\"new_child\":\"\"}},\"css_class\":\"\",\"cache_lifetime\":\"0\",\"product_image_width\":\"310\",\"product_image_height\":\"420\",\"product_name_length\":\"30\",\"number_per_view\":\"8\",\"show_carousel\":\"0\",\"number_to_display\":\"\",\"number_per_row\":\"4\",\"use_arrows\":\"0\",\"prev_button\":\"\",\"next_button\":\"\",\"use_pagination\":\"0\",\"show_label\":\"0\",\"is_banner\":\"0\",\"banner_content\":\"\",\"hover_type\":\"0\",\"carousel_slides_count\":\"\",\"gallery_slides_count\":\"\",\"thumb_width\":\"\",\"thumb_height\":\"\",\"json_data\":\"{\'manual_product\':{\'title\':\'Featured Products\',\'label\':\'Manual\'},\'viewed_product\':{\'title\':\'Most Viewed\',\'label\':\'Most Viewed\'},\'bestseller_product\':{\'title\':\'Best Seller\',\'label\':\'Bestseller\'},\'new_product\':{\'title\':\'New Arrivals\',\'label\':\'New\'} }\"}',2),('5','TemplateMonster\\Blog\\Block\\Widget\\PostList','5','Latest News','0','{\"widget_status\":\"1\",\"title\":\"Latest News\",\"post_title_length\":\"\",\"post_desc_length\":\"120\",\"post_amount\":\"3\",\"post_amount_per_row\":\"3\",\"is_enable_carousel\":\"0\",\"post_amount_per_view\":\"\"}',5);

--
-- Table structure for table `widget_instance_page`
--

CREATE TABLE `widget_instance_page` (
  `page_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Page Id',
  `instance_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Id',
  `page_group` varchar(25) DEFAULT NULL COMMENT 'Block Group Type',
  `layout_handle` varchar(255) DEFAULT NULL COMMENT 'Layout Handle',
  `block_reference` varchar(255) DEFAULT NULL COMMENT 'Container',
  `page_for` varchar(25) DEFAULT NULL COMMENT 'For instance entities',
  `entities` text COMMENT 'Catalog entities (comma separated)',
  `page_template` varchar(255) DEFAULT NULL COMMENT 'Path to widget template',
  PRIMARY KEY (`page_id`),
  KEY `WIDGET_INSTANCE_PAGE_INSTANCE_ID` (`instance_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='Instance of Widget on Page';

--
-- Dumping data for table `widget_instance_page`
--

INSERT INTO `widget_instance_page` VALUES ('1','1','pages','cms_index_index','content','all','','widget/static_block/default.phtml'),('2','2','pages','cms_index_index','page.top','all','',''),('4','4','pages','cms_index_index','content','all','','widget/products-grid.phtml'),('5','5','pages','cms_index_index','page.bottom','all','','widget/post_grid.phtml');

--
-- Table structure for table `widget_instance_page_layout`
--

CREATE TABLE `widget_instance_page_layout` (
  `page_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Page Id',
  `layout_update_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Layout Update Id',
  UNIQUE KEY `WIDGET_INSTANCE_PAGE_LAYOUT_LAYOUT_UPDATE_ID_PAGE_ID` (`layout_update_id`,`page_id`),
  KEY `WIDGET_INSTANCE_PAGE_LAYOUT_PAGE_ID` (`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Layout updates';

--
-- Dumping data for table `widget_instance_page_layout`
--

INSERT INTO `widget_instance_page_layout` VALUES ('1','1'),('2','3'),('4','5'),('5','18');

--
-- Table structure for table `wishlist`
--

CREATE TABLE `wishlist` (
  `wishlist_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Wishlist ID',
  `customer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer ID',
  `shared` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Sharing flag (0 or 1)',
  `sharing_code` varchar(32) DEFAULT NULL COMMENT 'Sharing encrypted code',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Last updated date',
  PRIMARY KEY (`wishlist_id`),
  UNIQUE KEY `WISHLIST_CUSTOMER_ID` (`customer_id`),
  KEY `WISHLIST_SHARED` (`shared`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Wishlist main Table';

--
-- Dumping data for table `wishlist`
--

INSERT INTO `wishlist` VALUES ('1','1',0,'19e84e8e03559838e2da954947edb711','2016-03-15 21:35:17'),('2','2',0,'c8113c34929b3e7646e837b3a8824ce3','2017-10-23 18:00:19'),('3','3',0,'9fc597b02e4011c81f44e11d452b632f','2017-11-30 11:45:58');

--
-- Table structure for table `wishlist_item`
--

CREATE TABLE `wishlist_item` (
  `wishlist_item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Wishlist item ID',
  `wishlist_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Wishlist ID',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `added_at` timestamp NULL DEFAULT NULL COMMENT 'Add date and time',
  `description` text COMMENT 'Short description of wish list item',
  `qty` decimal(12,4) NOT NULL COMMENT 'Qty',
  PRIMARY KEY (`wishlist_item_id`),
  KEY `WISHLIST_ITEM_WISHLIST_ID` (`wishlist_id`),
  KEY `WISHLIST_ITEM_PRODUCT_ID` (`product_id`),
  KEY `WISHLIST_ITEM_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Wishlist items';

--
-- Table structure for table `wishlist_item_option`
--

CREATE TABLE `wishlist_item_option` (
  `option_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Id',
  `wishlist_item_id` int(10) unsigned NOT NULL COMMENT 'Wishlist Item Id',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `code` varchar(255) NOT NULL COMMENT 'Code',
  `value` text COMMENT 'Value',
  PRIMARY KEY (`option_id`),
  KEY `FK_A014B30B04B72DD0EAB3EECD779728D6` (`wishlist_item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Wishlist Item Option Table';

ALTER TABLE `admin_passwords`
  ADD CONSTRAINT `ADMIN_PASSWORDS_USER_ID_ADMIN_USER_USER_ID` FOREIGN KEY (`user_id`) REFERENCES `admin_user` (`user_id`) ON DELETE CASCADE;

ALTER TABLE `admin_user_session`
  ADD CONSTRAINT `ADMIN_USER_SESSION_USER_ID_ADMIN_USER_USER_ID` FOREIGN KEY (`user_id`) REFERENCES `admin_user` (`user_id`) ON DELETE CASCADE;

ALTER TABLE `authorization_rule`
  ADD CONSTRAINT `AUTHORIZATION_RULE_ROLE_ID_AUTHORIZATION_ROLE_ROLE_ID` FOREIGN KEY (`role_id`) REFERENCES `authorization_role` (`role_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_category_entity_datetime`
  ADD CONSTRAINT `CATALOG_CATEGORY_ENTITY_DATETIME_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_DTIME_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_DTIME_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_category_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_category_entity_decimal`
  ADD CONSTRAINT `CATALOG_CATEGORY_ENTITY_DECIMAL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_DEC_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_DEC_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_category_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_category_entity_int`
  ADD CONSTRAINT `CATALOG_CATEGORY_ENTITY_INT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_INT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_INT_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_category_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_category_entity_text`
  ADD CONSTRAINT `CATALOG_CATEGORY_ENTITY_TEXT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_TEXT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_TEXT_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_category_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_category_entity_varchar`
  ADD CONSTRAINT `CATALOG_CATEGORY_ENTITY_VARCHAR_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_VCHR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_ENTT_VCHR_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_category_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_category_product`
  ADD CONSTRAINT `CAT_CTGR_PRD_CTGR_ID_CAT_CTGR_ENTT_ENTT_ID` FOREIGN KEY (`category_id`) REFERENCES `catalog_category_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_CTGR_PRD_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_compare_item`
  ADD CONSTRAINT `CATALOG_COMPARE_ITEM_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CATALOG_COMPARE_ITEM_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CATALOG_COMPARE_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `catalog_eav_attribute`
  ADD CONSTRAINT `CATALOG_EAV_ATTRIBUTE_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_bundle_option`
  ADD CONSTRAINT `CAT_PRD_BNDL_OPT_PARENT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`parent_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_bundle_option_value`
  ADD CONSTRAINT `CAT_PRD_BNDL_OPT_VAL_OPT_ID_CAT_PRD_BNDL_OPT_OPT_ID` FOREIGN KEY (`option_id`) REFERENCES `catalog_product_bundle_option` (`option_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_bundle_price_index`
  ADD CONSTRAINT `CAT_PRD_BNDL_PRICE_IDX_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_BNDL_PRICE_IDX_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_BNDL_PRICE_IDX_WS_ID_STORE_WS_WS_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_bundle_selection`
  ADD CONSTRAINT `CAT_PRD_BNDL_SELECTION_OPT_ID_CAT_PRD_BNDL_OPT_OPT_ID` FOREIGN KEY (`option_id`) REFERENCES `catalog_product_bundle_option` (`option_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_BNDL_SELECTION_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_bundle_selection_price`
  ADD CONSTRAINT `CAT_PRD_BNDL_SELECTION_PRICE_WS_ID_STORE_WS_WS_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_DCF37523AA05D770A70AA4ED7C2616E4` FOREIGN KEY (`selection_id`) REFERENCES `catalog_product_bundle_selection` (`selection_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity`
  ADD CONSTRAINT `CAT_PRD_ENTT_ATTR_SET_ID_EAV_ATTR_SET_ATTR_SET_ID` FOREIGN KEY (`attribute_set_id`) REFERENCES `eav_attribute_set` (`attribute_set_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_datetime`
  ADD CONSTRAINT `CATALOG_PRODUCT_ENTITY_DATETIME_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_DTIME_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_DTIME_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_decimal`
  ADD CONSTRAINT `CATALOG_PRODUCT_ENTITY_DECIMAL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_DEC_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_DEC_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_gallery`
  ADD CONSTRAINT `CATALOG_PRODUCT_ENTITY_GALLERY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_GLR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_GLR_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_int`
  ADD CONSTRAINT `CATALOG_PRODUCT_ENTITY_INT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_INT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_INT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_media_gallery`
  ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_media_gallery_value`
  ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_VAL_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_VAL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_VAL_VAL_ID_CAT_PRD_ENTT_MDA_GLR_VAL_ID` FOREIGN KEY (`value_id`) REFERENCES `catalog_product_entity_media_gallery` (`value_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_media_gallery_value_to_entity`
  ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_VAL_TO_ENTT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_A6C6C8FAA386736921D3A7C4B50B1185` FOREIGN KEY (`value_id`) REFERENCES `catalog_product_entity_media_gallery` (`value_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_media_gallery_value_video`
  ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_VAL_VIDEO_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_6FDF205946906B0E653E60AA769899F8` FOREIGN KEY (`value_id`) REFERENCES `catalog_product_entity_media_gallery` (`value_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_text`
  ADD CONSTRAINT `CATALOG_PRODUCT_ENTITY_TEXT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_TEXT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_TEXT_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_tier_price`
  ADD CONSTRAINT `CAT_PRD_ENTT_TIER_PRICE_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_TIER_PRICE_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_TIER_PRICE_WS_ID_STORE_WS_WS_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_entity_varchar`
  ADD CONSTRAINT `CATALOG_PRODUCT_ENTITY_VARCHAR_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_VCHR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_ENTT_VCHR_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_frontend_action`
  ADD CONSTRAINT `CAT_PRD_FRONTEND_ACTION_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_index_tier_price`
  ADD CONSTRAINT `CAT_PRD_IDX_TIER_PRICE_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_IDX_TIER_PRICE_ENTT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_IDX_TIER_PRICE_WS_ID_STORE_WS_WS_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_index_website`
  ADD CONSTRAINT `CAT_PRD_IDX_WS_WS_ID_STORE_WS_WS_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_link`
  ADD CONSTRAINT `CATALOG_PRODUCT_LINK_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_LNK_LNKED_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`linked_product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_LNK_LNK_TYPE_ID_CAT_PRD_LNK_TYPE_LNK_TYPE_ID` FOREIGN KEY (`link_type_id`) REFERENCES `catalog_product_link_type` (`link_type_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_link_attribute`
  ADD CONSTRAINT `CAT_PRD_LNK_ATTR_LNK_TYPE_ID_CAT_PRD_LNK_TYPE_LNK_TYPE_ID` FOREIGN KEY (`link_type_id`) REFERENCES `catalog_product_link_type` (`link_type_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_link_attribute_decimal`
  ADD CONSTRAINT `CAT_PRD_LNK_ATTR_DEC_LNK_ID_CAT_PRD_LNK_LNK_ID` FOREIGN KEY (`link_id`) REFERENCES `catalog_product_link` (`link_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_AB2EFA9A14F7BCF1D5400056203D14B6` FOREIGN KEY (`product_link_attribute_id`) REFERENCES `catalog_product_link_attribute` (`product_link_attribute_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_link_attribute_int`
  ADD CONSTRAINT `CAT_PRD_LNK_ATTR_INT_LNK_ID_CAT_PRD_LNK_LNK_ID` FOREIGN KEY (`link_id`) REFERENCES `catalog_product_link` (`link_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_D6D878F8BA2A4282F8DDED7E6E3DE35C` FOREIGN KEY (`product_link_attribute_id`) REFERENCES `catalog_product_link_attribute` (`product_link_attribute_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_link_attribute_varchar`
  ADD CONSTRAINT `CAT_PRD_LNK_ATTR_VCHR_LNK_ID_CAT_PRD_LNK_LNK_ID` FOREIGN KEY (`link_id`) REFERENCES `catalog_product_link` (`link_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_DEE9C4DA61CFCC01DFCF50F0D79CEA51` FOREIGN KEY (`product_link_attribute_id`) REFERENCES `catalog_product_link_attribute` (`product_link_attribute_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_option`
  ADD CONSTRAINT `CAT_PRD_OPT_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_option_price`
  ADD CONSTRAINT `CATALOG_PRODUCT_OPTION_PRICE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_OPT_PRICE_OPT_ID_CAT_PRD_OPT_OPT_ID` FOREIGN KEY (`option_id`) REFERENCES `catalog_product_option` (`option_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_option_title`
  ADD CONSTRAINT `CATALOG_PRODUCT_OPTION_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_OPT_TTL_OPT_ID_CAT_PRD_OPT_OPT_ID` FOREIGN KEY (`option_id`) REFERENCES `catalog_product_option` (`option_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_option_type_price`
  ADD CONSTRAINT `CATALOG_PRODUCT_OPTION_TYPE_PRICE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_B523E3378E8602F376CC415825576B7F` FOREIGN KEY (`option_type_id`) REFERENCES `catalog_product_option_type_value` (`option_type_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_option_type_title`
  ADD CONSTRAINT `CATALOG_PRODUCT_OPTION_TYPE_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_C085B9CF2C2A302E8043FDEA1937D6A2` FOREIGN KEY (`option_type_id`) REFERENCES `catalog_product_option_type_value` (`option_type_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_option_type_value`
  ADD CONSTRAINT `CAT_PRD_OPT_TYPE_VAL_OPT_ID_CAT_PRD_OPT_OPT_ID` FOREIGN KEY (`option_id`) REFERENCES `catalog_product_option` (`option_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_relation`
  ADD CONSTRAINT `CAT_PRD_RELATION_CHILD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`child_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_RELATION_PARENT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`parent_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_super_attribute`
  ADD CONSTRAINT `CAT_PRD_SPR_ATTR_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_super_attribute_label`
  ADD CONSTRAINT `CATALOG_PRODUCT_SUPER_ATTRIBUTE_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_309442281DF7784210ED82B2CC51E5D5` FOREIGN KEY (`product_super_attribute_id`) REFERENCES `catalog_product_super_attribute` (`product_super_attribute_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_super_link`
  ADD CONSTRAINT `CAT_PRD_SPR_LNK_PARENT_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`parent_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_SPR_LNK_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_product_website`
  ADD CONSTRAINT `CATALOG_PRODUCT_WEBSITE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_PRD_WS_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `catalog_url_rewrite_product_category`
  ADD CONSTRAINT `CAT_URL_REWRITE_PRD_CTGR_CTGR_ID_CAT_CTGR_ENTT_ENTT_ID` FOREIGN KEY (`category_id`) REFERENCES `catalog_category_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CAT_URL_REWRITE_PRD_CTGR_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_BB79E64705D7F17FE181F23144528FC8` FOREIGN KEY (`url_rewrite_id`) REFERENCES `url_rewrite` (`url_rewrite_id`) ON DELETE CASCADE;

ALTER TABLE `cataloginventory_stock_item`
  ADD CONSTRAINT `CATINV_STOCK_ITEM_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CATINV_STOCK_ITEM_STOCK_ID_CATINV_STOCK_STOCK_ID` FOREIGN KEY (`stock_id`) REFERENCES `cataloginventory_stock` (`stock_id`) ON DELETE CASCADE;

ALTER TABLE `catalogrule_customer_group`
  ADD CONSTRAINT `CATALOGRULE_CUSTOMER_GROUP_RULE_ID_CATALOGRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `catalogrule` (`rule_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CATRULE_CSTR_GROUP_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) ON DELETE CASCADE;

ALTER TABLE `catalogrule_website`
  ADD CONSTRAINT `CATALOGRULE_WEBSITE_RULE_ID_CATALOGRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `catalogrule` (`rule_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CATALOGRULE_WEBSITE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `checkout_agreement_store`
  ADD CONSTRAINT `CHECKOUT_AGREEMENT_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CHKT_AGRT_STORE_AGRT_ID_CHKT_AGRT_AGRT_ID` FOREIGN KEY (`agreement_id`) REFERENCES `checkout_agreement` (`agreement_id`) ON DELETE CASCADE;

ALTER TABLE `cms_block_store`
  ADD CONSTRAINT `CMS_BLOCK_STORE_BLOCK_ID_CMS_BLOCK_BLOCK_ID` FOREIGN KEY (`block_id`) REFERENCES `cms_block` (`block_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CMS_BLOCK_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `cms_page_store`
  ADD CONSTRAINT `CMS_PAGE_STORE_PAGE_ID_CMS_PAGE_PAGE_ID` FOREIGN KEY (`page_id`) REFERENCES `cms_page` (`page_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CMS_PAGE_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `customer_address_entity`
  ADD CONSTRAINT `CUSTOMER_ADDRESS_ENTITY_PARENT_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_address_entity_datetime`
  ADD CONSTRAINT `CSTR_ADDR_ENTT_DTIME_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CSTR_ADDR_ENTT_DTIME_ENTT_ID_CSTR_ADDR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_address_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_address_entity_decimal`
  ADD CONSTRAINT `CSTR_ADDR_ENTT_DEC_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CSTR_ADDR_ENTT_DEC_ENTT_ID_CSTR_ADDR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_address_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_address_entity_int`
  ADD CONSTRAINT `CSTR_ADDR_ENTT_INT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CSTR_ADDR_ENTT_INT_ENTT_ID_CSTR_ADDR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_address_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_address_entity_text`
  ADD CONSTRAINT `CSTR_ADDR_ENTT_TEXT_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CSTR_ADDR_ENTT_TEXT_ENTT_ID_CSTR_ADDR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_address_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_address_entity_varchar`
  ADD CONSTRAINT `CSTR_ADDR_ENTT_VCHR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CSTR_ADDR_ENTT_VCHR_ENTT_ID_CSTR_ADDR_ENTT_ENTT_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_address_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_eav_attribute`
  ADD CONSTRAINT `CUSTOMER_EAV_ATTRIBUTE_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE;

ALTER TABLE `customer_eav_attribute_website`
  ADD CONSTRAINT `CSTR_EAV_ATTR_WS_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CSTR_EAV_ATTR_WS_WS_ID_STORE_WS_WS_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `customer_entity`
  ADD CONSTRAINT `CUSTOMER_ENTITY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL,
  ADD CONSTRAINT `CUSTOMER_ENTITY_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE SET NULL;

ALTER TABLE `customer_entity_datetime`
  ADD CONSTRAINT `CUSTOMER_ENTITY_DATETIME_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CUSTOMER_ENTITY_DATETIME_ENTITY_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_entity_decimal`
  ADD CONSTRAINT `CUSTOMER_ENTITY_DECIMAL_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CUSTOMER_ENTITY_DECIMAL_ENTITY_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_entity_int`
  ADD CONSTRAINT `CUSTOMER_ENTITY_INT_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CUSTOMER_ENTITY_INT_ENTITY_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_entity_text`
  ADD CONSTRAINT `CUSTOMER_ENTITY_TEXT_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CUSTOMER_ENTITY_TEXT_ENTITY_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_entity_varchar`
  ADD CONSTRAINT `CUSTOMER_ENTITY_VARCHAR_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `CUSTOMER_ENTITY_VARCHAR_ENTITY_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `customer_form_attribute`
  ADD CONSTRAINT `CUSTOMER_FORM_ATTRIBUTE_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE;

ALTER TABLE `design_change`
  ADD CONSTRAINT `DESIGN_CHANGE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `directory_country_region_name`
  ADD CONSTRAINT `DIR_COUNTRY_REGION_NAME_REGION_ID_DIR_COUNTRY_REGION_REGION_ID` FOREIGN KEY (`region_id`) REFERENCES `directory_country_region` (`region_id`) ON DELETE CASCADE;

ALTER TABLE `downloadable_link`
  ADD CONSTRAINT `DOWNLOADABLE_LINK_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `downloadable_link_price`
  ADD CONSTRAINT `DOWNLOADABLE_LINK_PRICE_LINK_ID_DOWNLOADABLE_LINK_LINK_ID` FOREIGN KEY (`link_id`) REFERENCES `downloadable_link` (`link_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `DOWNLOADABLE_LINK_PRICE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `downloadable_link_purchased`
  ADD CONSTRAINT `DL_LNK_PURCHASED_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE SET NULL,
  ADD CONSTRAINT `DOWNLOADABLE_LINK_PURCHASED_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE SET NULL;

ALTER TABLE `downloadable_link_purchased_item`
  ADD CONSTRAINT `DL_LNK_PURCHASED_ITEM_ORDER_ITEM_ID_SALES_ORDER_ITEM_ITEM_ID` FOREIGN KEY (`order_item_id`) REFERENCES `sales_order_item` (`item_id`) ON DELETE SET NULL,
  ADD CONSTRAINT `DL_LNK_PURCHASED_ITEM_PURCHASED_ID_DL_LNK_PURCHASED_PURCHASED_ID` FOREIGN KEY (`purchased_id`) REFERENCES `downloadable_link_purchased` (`purchased_id`) ON DELETE CASCADE;

ALTER TABLE `downloadable_link_title`
  ADD CONSTRAINT `DOWNLOADABLE_LINK_TITLE_LINK_ID_DOWNLOADABLE_LINK_LINK_ID` FOREIGN KEY (`link_id`) REFERENCES `downloadable_link` (`link_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `DOWNLOADABLE_LINK_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `downloadable_sample`
  ADD CONSTRAINT `DOWNLOADABLE_SAMPLE_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `downloadable_sample_title`
  ADD CONSTRAINT `DL_SAMPLE_TTL_SAMPLE_ID_DL_SAMPLE_SAMPLE_ID` FOREIGN KEY (`sample_id`) REFERENCES `downloadable_sample` (`sample_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `DOWNLOADABLE_SAMPLE_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_attribute`
  ADD CONSTRAINT `EAV_ATTRIBUTE_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE;

ALTER TABLE `eav_attribute_group`
  ADD CONSTRAINT `EAV_ATTR_GROUP_ATTR_SET_ID_EAV_ATTR_SET_ATTR_SET_ID` FOREIGN KEY (`attribute_set_id`) REFERENCES `eav_attribute_set` (`attribute_set_id`) ON DELETE CASCADE;

ALTER TABLE `eav_attribute_label`
  ADD CONSTRAINT `EAV_ATTRIBUTE_LABEL_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ATTRIBUTE_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_attribute_option`
  ADD CONSTRAINT `EAV_ATTRIBUTE_OPTION_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE;

ALTER TABLE `eav_attribute_option_swatch`
  ADD CONSTRAINT `EAV_ATTRIBUTE_OPTION_SWATCH_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ATTR_OPT_SWATCH_OPT_ID_EAV_ATTR_OPT_OPT_ID` FOREIGN KEY (`option_id`) REFERENCES `eav_attribute_option` (`option_id`) ON DELETE CASCADE;

ALTER TABLE `eav_attribute_option_value`
  ADD CONSTRAINT `EAV_ATTRIBUTE_OPTION_VALUE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ATTR_OPT_VAL_OPT_ID_EAV_ATTR_OPT_OPT_ID` FOREIGN KEY (`option_id`) REFERENCES `eav_attribute_option` (`option_id`) ON DELETE CASCADE;

ALTER TABLE `eav_attribute_set`
  ADD CONSTRAINT `EAV_ATTRIBUTE_SET_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity`
  ADD CONSTRAINT `EAV_ENTITY_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity_attribute`
  ADD CONSTRAINT `EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTT_ATTR_ATTR_GROUP_ID_EAV_ATTR_GROUP_ATTR_GROUP_ID` FOREIGN KEY (`attribute_group_id`) REFERENCES `eav_attribute_group` (`attribute_group_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity_datetime`
  ADD CONSTRAINT `EAV_ENTITY_DATETIME_ENTITY_ID_EAV_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `eav_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_DATETIME_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTT_DTIME_ENTT_TYPE_ID_EAV_ENTT_TYPE_ENTT_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity_decimal`
  ADD CONSTRAINT `EAV_ENTITY_DECIMAL_ENTITY_ID_EAV_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `eav_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_DECIMAL_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_DECIMAL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity_int`
  ADD CONSTRAINT `EAV_ENTITY_INT_ENTITY_ID_EAV_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `eav_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_INT_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_INT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity_store`
  ADD CONSTRAINT `EAV_ENTITY_STORE_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity_text`
  ADD CONSTRAINT `EAV_ENTITY_TEXT_ENTITY_ID_EAV_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `eav_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_TEXT_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_TEXT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_entity_varchar`
  ADD CONSTRAINT `EAV_ENTITY_VARCHAR_ENTITY_ID_EAV_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `eav_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_VARCHAR_ENTITY_TYPE_ID_EAV_ENTITY_TYPE_ENTITY_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_ENTITY_VARCHAR_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_form_element`
  ADD CONSTRAINT `EAV_FORM_ELEMENT_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_FORM_ELEMENT_FIELDSET_ID_EAV_FORM_FIELDSET_FIELDSET_ID` FOREIGN KEY (`fieldset_id`) REFERENCES `eav_form_fieldset` (`fieldset_id`) ON DELETE SET NULL,
  ADD CONSTRAINT `EAV_FORM_ELEMENT_TYPE_ID_EAV_FORM_TYPE_TYPE_ID` FOREIGN KEY (`type_id`) REFERENCES `eav_form_type` (`type_id`) ON DELETE CASCADE;

ALTER TABLE `eav_form_fieldset`
  ADD CONSTRAINT `EAV_FORM_FIELDSET_TYPE_ID_EAV_FORM_TYPE_TYPE_ID` FOREIGN KEY (`type_id`) REFERENCES `eav_form_type` (`type_id`) ON DELETE CASCADE;

ALTER TABLE `eav_form_fieldset_label`
  ADD CONSTRAINT `EAV_FORM_FIELDSET_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_FORM_FSET_LBL_FSET_ID_EAV_FORM_FSET_FSET_ID` FOREIGN KEY (`fieldset_id`) REFERENCES `eav_form_fieldset` (`fieldset_id`) ON DELETE CASCADE;

ALTER TABLE `eav_form_type`
  ADD CONSTRAINT `EAV_FORM_TYPE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `eav_form_type_entity`
  ADD CONSTRAINT `EAV_FORM_TYPE_ENTITY_TYPE_ID_EAV_FORM_TYPE_TYPE_ID` FOREIGN KEY (`type_id`) REFERENCES `eav_form_type` (`type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `EAV_FORM_TYPE_ENTT_ENTT_TYPE_ID_EAV_ENTT_TYPE_ENTT_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `eav_entity_type` (`entity_type_id`) ON DELETE CASCADE;

ALTER TABLE `film_slider_item`
  ADD CONSTRAINT `FILM_SLIDER_ITEM_PARENT_ID_FILM_SLIDER_SLIDER_ID` FOREIGN KEY (`parent_id`) REFERENCES `film_slider` (`slider_id`) ON DELETE CASCADE;

ALTER TABLE `film_slider_store`
  ADD CONSTRAINT `FILM_SLIDER_STORE_SLIDER_ID_FILM_SLIDER_SLIDER_ID` FOREIGN KEY (`slider_id`) REFERENCES `film_slider` (`slider_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FILM_SLIDER_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `googleoptimizer_code`
  ADD CONSTRAINT `GOOGLEOPTIMIZER_CODE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `integration`
  ADD CONSTRAINT `INTEGRATION_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID` FOREIGN KEY (`consumer_id`) REFERENCES `oauth_consumer` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `layout_link`
  ADD CONSTRAINT `LAYOUT_LINK_LAYOUT_UPDATE_ID_LAYOUT_UPDATE_LAYOUT_UPDATE_ID` FOREIGN KEY (`layout_update_id`) REFERENCES `layout_update` (`layout_update_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `LAYOUT_LINK_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `LAYOUT_LINK_THEME_ID_THEME_THEME_ID` FOREIGN KEY (`theme_id`) REFERENCES `theme` (`theme_id`) ON DELETE CASCADE;

ALTER TABLE `newsletter_problem`
  ADD CONSTRAINT `NEWSLETTER_PROBLEM_QUEUE_ID_NEWSLETTER_QUEUE_QUEUE_ID` FOREIGN KEY (`queue_id`) REFERENCES `newsletter_queue` (`queue_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `NLTTR_PROBLEM_SUBSCRIBER_ID_NLTTR_SUBSCRIBER_SUBSCRIBER_ID` FOREIGN KEY (`subscriber_id`) REFERENCES `newsletter_subscriber` (`subscriber_id`) ON DELETE CASCADE;

ALTER TABLE `newsletter_queue`
  ADD CONSTRAINT `NEWSLETTER_QUEUE_TEMPLATE_ID_NEWSLETTER_TEMPLATE_TEMPLATE_ID` FOREIGN KEY (`template_id`) REFERENCES `newsletter_template` (`template_id`) ON DELETE CASCADE;

ALTER TABLE `newsletter_queue_link`
  ADD CONSTRAINT `NEWSLETTER_QUEUE_LINK_QUEUE_ID_NEWSLETTER_QUEUE_QUEUE_ID` FOREIGN KEY (`queue_id`) REFERENCES `newsletter_queue` (`queue_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `NLTTR_QUEUE_LNK_SUBSCRIBER_ID_NLTTR_SUBSCRIBER_SUBSCRIBER_ID` FOREIGN KEY (`subscriber_id`) REFERENCES `newsletter_subscriber` (`subscriber_id`) ON DELETE CASCADE;

ALTER TABLE `newsletter_queue_store_link`
  ADD CONSTRAINT `NEWSLETTER_QUEUE_STORE_LINK_QUEUE_ID_NEWSLETTER_QUEUE_QUEUE_ID` FOREIGN KEY (`queue_id`) REFERENCES `newsletter_queue` (`queue_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `NEWSLETTER_QUEUE_STORE_LINK_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `newsletter_subscriber`
  ADD CONSTRAINT `NEWSLETTER_SUBSCRIBER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `oauth_nonce`
  ADD CONSTRAINT `OAUTH_NONCE_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID` FOREIGN KEY (`consumer_id`) REFERENCES `oauth_consumer` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `oauth_token`
  ADD CONSTRAINT `OAUTH_TOKEN_ADMIN_ID_ADMIN_USER_USER_ID` FOREIGN KEY (`admin_id`) REFERENCES `admin_user` (`user_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `OAUTH_TOKEN_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID` FOREIGN KEY (`consumer_id`) REFERENCES `oauth_consumer` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `OAUTH_TOKEN_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `parallax_block_store`
  ADD CONSTRAINT `PARALLAX_BLOCK_STORE_BLOCK_ID_PARALLAX_BLOCK_BLOCK_ID` FOREIGN KEY (`block_id`) REFERENCES `parallax_block` (`block_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PARALLAX_BLOCK_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `paypal_billing_agreement`
  ADD CONSTRAINT `PAYPAL_BILLING_AGREEMENT_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PAYPAL_BILLING_AGREEMENT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `paypal_billing_agreement_order`
  ADD CONSTRAINT `PAYPAL_BILLING_AGREEMENT_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PAYPAL_BILLING_AGRT_ORDER_AGRT_ID_PAYPAL_BILLING_AGRT_AGRT_ID` FOREIGN KEY (`agreement_id`) REFERENCES `paypal_billing_agreement` (`agreement_id`) ON DELETE CASCADE;

ALTER TABLE `paypal_cert`
  ADD CONSTRAINT `PAYPAL_CERT_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `paypal_settlement_report_row`
  ADD CONSTRAINT `FK_E183E488F593E0DE10C6EBFFEBAC9B55` FOREIGN KEY (`report_id`) REFERENCES `paypal_settlement_report` (`report_id`) ON DELETE CASCADE;

ALTER TABLE `persistent_session`
  ADD CONSTRAINT `PERSISTENT_SESSION_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PERSISTENT_SESSION_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `product_alert_price`
  ADD CONSTRAINT `PRODUCT_ALERT_PRICE_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PRODUCT_ALERT_PRICE_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PRODUCT_ALERT_PRICE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `product_alert_stock`
  ADD CONSTRAINT `PRODUCT_ALERT_STOCK_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PRODUCT_ALERT_STOCK_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `PRODUCT_ALERT_STOCK_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `quote`
  ADD CONSTRAINT `QUOTE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `quote_address`
  ADD CONSTRAINT `QUOTE_ADDRESS_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `quote_address_item`
  ADD CONSTRAINT `QUOTE_ADDRESS_ITEM_QUOTE_ADDRESS_ID_QUOTE_ADDRESS_ADDRESS_ID` FOREIGN KEY (`quote_address_id`) REFERENCES `quote_address` (`address_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`quote_item_id`) REFERENCES `quote_item` (`item_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `QUOTE_ADDR_ITEM_PARENT_ITEM_ID_QUOTE_ADDR_ITEM_ADDR_ITEM_ID` FOREIGN KEY (`parent_item_id`) REFERENCES `quote_address_item` (`address_item_id`) ON DELETE CASCADE;

ALTER TABLE `quote_id_mask`
  ADD CONSTRAINT `QUOTE_ID_MASK_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `quote_item`
  ADD CONSTRAINT `QUOTE_ITEM_PARENT_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`parent_item_id`) REFERENCES `quote_item` (`item_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `QUOTE_ITEM_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `QUOTE_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `quote_item_option`
  ADD CONSTRAINT `QUOTE_ITEM_OPTION_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`item_id`) REFERENCES `quote_item` (`item_id`) ON DELETE CASCADE;

ALTER TABLE `quote_payment`
  ADD CONSTRAINT `QUOTE_PAYMENT_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `quote_shipping_rate`
  ADD CONSTRAINT `QUOTE_SHIPPING_RATE_ADDRESS_ID_QUOTE_ADDRESS_ADDRESS_ID` FOREIGN KEY (`address_id`) REFERENCES `quote_address` (`address_id`) ON DELETE CASCADE;

ALTER TABLE `rating`
  ADD CONSTRAINT `RATING_ENTITY_ID_RATING_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `rating_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `rating_option`
  ADD CONSTRAINT `RATING_OPTION_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `rating` (`rating_id`) ON DELETE CASCADE;

ALTER TABLE `rating_option_vote`
  ADD CONSTRAINT `RATING_OPTION_VOTE_OPTION_ID_RATING_OPTION_OPTION_ID` FOREIGN KEY (`option_id`) REFERENCES `rating_option` (`option_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `RATING_OPTION_VOTE_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `review` (`review_id`) ON DELETE CASCADE;

ALTER TABLE `rating_option_vote_aggregated`
  ADD CONSTRAINT `RATING_OPTION_VOTE_AGGREGATED_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `rating` (`rating_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `RATING_OPTION_VOTE_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `rating_store`
  ADD CONSTRAINT `RATING_STORE_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `rating` (`rating_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `RATING_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `rating_title`
  ADD CONSTRAINT `RATING_TITLE_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `rating` (`rating_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `RATING_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `report_compared_product_index`
  ADD CONSTRAINT `REPORT_CMPD_PRD_IDX_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_CMPD_PRD_IDX_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_COMPARED_PRODUCT_INDEX_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `report_event`
  ADD CONSTRAINT `REPORT_EVENT_EVENT_TYPE_ID_REPORT_EVENT_TYPES_EVENT_TYPE_ID` FOREIGN KEY (`event_type_id`) REFERENCES `report_event_types` (`event_type_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_EVENT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `report_viewed_product_aggregated_daily`
  ADD CONSTRAINT `REPORT_VIEWED_PRD_AGGRED_DAILY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `report_viewed_product_aggregated_monthly`
  ADD CONSTRAINT `REPORT_VIEWED_PRD_AGGRED_MONTHLY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `report_viewed_product_aggregated_yearly`
  ADD CONSTRAINT `REPORT_VIEWED_PRD_AGGRED_YEARLY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `report_viewed_product_index`
  ADD CONSTRAINT `REPORT_VIEWED_PRD_IDX_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_VIEWED_PRD_IDX_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REPORT_VIEWED_PRODUCT_INDEX_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `review`
  ADD CONSTRAINT `REVIEW_ENTITY_ID_REVIEW_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `review_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REVIEW_STATUS_ID_REVIEW_STATUS_STATUS_ID` FOREIGN KEY (`status_id`) REFERENCES `review_status` (`status_id`) ON DELETE NO ACTION;

ALTER TABLE `review_detail`
  ADD CONSTRAINT `REVIEW_DETAIL_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE SET NULL,
  ADD CONSTRAINT `REVIEW_DETAIL_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `review` (`review_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REVIEW_DETAIL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `review_entity_summary`
  ADD CONSTRAINT `REVIEW_ENTITY_SUMMARY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `review_store`
  ADD CONSTRAINT `REVIEW_STORE_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `review` (`review_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `REVIEW_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `sales_bestsellers_aggregated_daily`
  ADD CONSTRAINT `SALES_BESTSELLERS_AGGREGATED_DAILY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `sales_bestsellers_aggregated_monthly`
  ADD CONSTRAINT `SALES_BESTSELLERS_AGGREGATED_MONTHLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `sales_bestsellers_aggregated_yearly`
  ADD CONSTRAINT `SALES_BESTSELLERS_AGGREGATED_YEARLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `sales_creditmemo`
  ADD CONSTRAINT `SALES_CREDITMEMO_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALES_CREDITMEMO_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_creditmemo_comment`
  ADD CONSTRAINT `SALES_CREDITMEMO_COMMENT_PARENT_ID_SALES_CREDITMEMO_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_creditmemo` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_creditmemo_item`
  ADD CONSTRAINT `SALES_CREDITMEMO_ITEM_PARENT_ID_SALES_CREDITMEMO_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_creditmemo` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_invoice`
  ADD CONSTRAINT `SALES_INVOICE_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALES_INVOICE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_invoice_comment`
  ADD CONSTRAINT `SALES_INVOICE_COMMENT_PARENT_ID_SALES_INVOICE_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_invoice` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_invoice_item`
  ADD CONSTRAINT `SALES_INVOICE_ITEM_PARENT_ID_SALES_INVOICE_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_invoice` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_invoiced_aggregated`
  ADD CONSTRAINT `SALES_INVOICED_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_invoiced_aggregated_order`
  ADD CONSTRAINT `SALES_INVOICED_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_order`
  ADD CONSTRAINT `SALES_ORDER_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE SET NULL,
  ADD CONSTRAINT `SALES_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_order_address`
  ADD CONSTRAINT `SALES_ORDER_ADDRESS_PARENT_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_order_aggregated_created`
  ADD CONSTRAINT `SALES_ORDER_AGGREGATED_CREATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_order_aggregated_updated`
  ADD CONSTRAINT `SALES_ORDER_AGGREGATED_UPDATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_order_item`
  ADD CONSTRAINT `SALES_ORDER_ITEM_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALES_ORDER_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_order_payment`
  ADD CONSTRAINT `SALES_ORDER_PAYMENT_PARENT_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_order_status_history`
  ADD CONSTRAINT `SALES_ORDER_STATUS_HISTORY_PARENT_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_order_status_label`
  ADD CONSTRAINT `SALES_ORDER_STATUS_LABEL_STATUS_SALES_ORDER_STATUS_STATUS` FOREIGN KEY (`status`) REFERENCES `sales_order_status` (`status`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALES_ORDER_STATUS_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `sales_order_status_state`
  ADD CONSTRAINT `SALES_ORDER_STATUS_STATE_STATUS_SALES_ORDER_STATUS_STATUS` FOREIGN KEY (`status`) REFERENCES `sales_order_status` (`status`) ON DELETE CASCADE;

ALTER TABLE `sales_order_tax_item`
  ADD 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,
  ADD 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,
  ADD 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;

ALTER TABLE `sales_payment_transaction`
  ADD CONSTRAINT `FK_B99FF1A06402D725EBDB0F3A7ECD47A2` FOREIGN KEY (`parent_id`) REFERENCES `sales_payment_transaction` (`transaction_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALES_PAYMENT_TRANSACTION_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALES_PAYMENT_TRANSACTION_PAYMENT_ID_SALES_ORDER_PAYMENT_ENTT_ID` FOREIGN KEY (`payment_id`) REFERENCES `sales_order_payment` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_refunded_aggregated`
  ADD CONSTRAINT `SALES_REFUNDED_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_refunded_aggregated_order`
  ADD CONSTRAINT `SALES_REFUNDED_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_sequence_profile`
  ADD CONSTRAINT `SALES_SEQUENCE_PROFILE_META_ID_SALES_SEQUENCE_META_META_ID` FOREIGN KEY (`meta_id`) REFERENCES `sales_sequence_meta` (`meta_id`) ON DELETE CASCADE;

ALTER TABLE `sales_shipment`
  ADD CONSTRAINT `SALES_SHIPMENT_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALES_SHIPMENT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_shipment_comment`
  ADD CONSTRAINT `SALES_SHIPMENT_COMMENT_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_shipment` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_shipment_item`
  ADD CONSTRAINT `SALES_SHIPMENT_ITEM_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_shipment` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_shipment_track`
  ADD CONSTRAINT `SALES_SHIPMENT_TRACK_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `sales_shipment` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `sales_shipping_aggregated`
  ADD CONSTRAINT `SALES_SHIPPING_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `sales_shipping_aggregated_order`
  ADD CONSTRAINT `SALES_SHIPPING_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL;

ALTER TABLE `salesrule_coupon`
  ADD CONSTRAINT `SALESRULE_COUPON_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_coupon_aggregated`
  ADD CONSTRAINT `SALESRULE_COUPON_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_coupon_aggregated_order`
  ADD CONSTRAINT `SALESRULE_COUPON_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_coupon_aggregated_updated`
  ADD CONSTRAINT `SALESRULE_COUPON_AGGREGATED_UPDATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_coupon_usage`
  ADD CONSTRAINT `SALESRULE_COUPON_USAGE_COUPON_ID_SALESRULE_COUPON_COUPON_ID` FOREIGN KEY (`coupon_id`) REFERENCES `salesrule_coupon` (`coupon_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALESRULE_COUPON_USAGE_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_customer`
  ADD CONSTRAINT `SALESRULE_CUSTOMER_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALESRULE_CUSTOMER_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_customer_group`
  ADD 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,
  ADD CONSTRAINT `SALESRULE_CUSTOMER_GROUP_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_label`
  ADD CONSTRAINT `SALESRULE_LABEL_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALESRULE_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_product_attribute`
  ADD CONSTRAINT `SALESRULE_PRD_ATTR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD 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,
  ADD CONSTRAINT `SALESRULE_PRODUCT_ATTRIBUTE_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALESRULE_PRODUCT_ATTRIBUTE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `salesrule_website`
  ADD CONSTRAINT `SALESRULE_WEBSITE_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `salesrule` (`rule_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SALESRULE_WEBSITE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `search_query`
  ADD CONSTRAINT `SEARCH_QUERY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `search_synonyms`
  ADD CONSTRAINT `SEARCH_SYNONYMS_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `SEARCH_SYNONYMS_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `signifyd_case`
  ADD CONSTRAINT `SIGNIFYD_CASE_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE SET NULL;

ALTER TABLE `sitemap`
  ADD CONSTRAINT `SITEMAP_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `social_login_provider`
  ADD CONSTRAINT `SOCIAL_LOGIN_PROVIDER_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `store`
  ADD CONSTRAINT `STORE_GROUP_ID_STORE_GROUP_GROUP_ID` FOREIGN KEY (`group_id`) REFERENCES `store_group` (`group_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `STORE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `store_group`
  ADD CONSTRAINT `STORE_GROUP_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `tax_calculation`
  ADD 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,
  ADD 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,
  ADD 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,
  ADD 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;

ALTER TABLE `tax_calculation_rate_title`
  ADD CONSTRAINT `FK_37FB965F786AD5897BB3AE90470C42AB` FOREIGN KEY (`tax_calculation_rate_id`) REFERENCES `tax_calculation_rate` (`tax_calculation_rate_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `TAX_CALCULATION_RATE_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `tax_order_aggregated_created`
  ADD CONSTRAINT `TAX_ORDER_AGGREGATED_CREATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `tax_order_aggregated_updated`
  ADD CONSTRAINT `TAX_ORDER_AGGREGATED_UPDATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `theme_file`
  ADD CONSTRAINT `THEME_FILE_THEME_ID_THEME_THEME_ID` FOREIGN KEY (`theme_id`) REFERENCES `theme` (`theme_id`) ON DELETE CASCADE;

ALTER TABLE `tm_blog_category_store`
  ADD CONSTRAINT `TM_BLOG_CATEGORY_STORE_CATEGORY_ID_TM_BLOG_CATEGORY_CATEGORY_ID` FOREIGN KEY (`category_id`) REFERENCES `tm_blog_category` (`category_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `TM_BLOG_CATEGORY_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `tm_blog_comment`
  ADD CONSTRAINT `TM_BLOG_COMMENT_POST_ID_TM_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `tm_blog_post` (`post_id`) ON DELETE CASCADE;

ALTER TABLE `tm_blog_post_category`
  ADD CONSTRAINT `TM_BLOG_POST_CATEGORY_CATEGORY_ID_TM_BLOG_CATEGORY_CATEGORY_ID` FOREIGN KEY (`category_id`) REFERENCES `tm_blog_category` (`category_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `TM_BLOG_POST_CATEGORY_POST_ID_TM_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `tm_blog_post` (`post_id`) ON DELETE CASCADE;

ALTER TABLE `tm_blog_post_related_post`
  ADD CONSTRAINT `TM_BLOG_POST_RELATED_POST_POST_ID_TM_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `tm_blog_post` (`post_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `TM_BLOG_POST_RELATED_POST_RELATED_ID_TM_BLOG_POST_POST_ID` FOREIGN KEY (`related_id`) REFERENCES `tm_blog_post` (`post_id`) ON DELETE CASCADE;

ALTER TABLE `tm_blog_post_related_product`
  ADD CONSTRAINT `TM_BLOG_POST_RELATED_PRD_RELATED_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`related_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `TM_BLOG_POST_RELATED_PRODUCT_POST_ID_TM_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `tm_blog_post` (`post_id`) ON DELETE CASCADE;

ALTER TABLE `tm_blog_post_store`
  ADD CONSTRAINT `TM_BLOG_POST_STORE_POST_ID_TM_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `tm_blog_post` (`post_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `TM_BLOG_POST_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `tm_brand_product`
  ADD CONSTRAINT `TM_BRAND_PRODUCT_BRAND_ID_TM_BRAND_BRAND_ID` FOREIGN KEY (`brand_id`) REFERENCES `tm_brand` (`brand_id`) ON DELETE CASCADE;

ALTER TABLE `tm_brand_purchased`
  ADD CONSTRAINT `TM_BRAND_PURCHASED_BRAND_ID_TM_BRAND_BRAND_ID` FOREIGN KEY (`brand_id`) REFERENCES `tm_brand` (`brand_id`) ON DELETE CASCADE;

ALTER TABLE `translation`
  ADD CONSTRAINT `TRANSLATION_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE;

ALTER TABLE `ui_bookmark`
  ADD CONSTRAINT `UI_BOOKMARK_USER_ID_ADMIN_USER_USER_ID` FOREIGN KEY (`user_id`) REFERENCES `admin_user` (`user_id`) ON DELETE CASCADE;

ALTER TABLE `variable_value`
  ADD CONSTRAINT `VARIABLE_VALUE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `VARIABLE_VALUE_VARIABLE_ID_VARIABLE_VARIABLE_ID` FOREIGN KEY (`variable_id`) REFERENCES `variable` (`variable_id`) ON DELETE CASCADE;

ALTER TABLE `vault_payment_token`
  ADD CONSTRAINT `VAULT_PAYMENT_TOKEN_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `vault_payment_token_order_payment_link`
  ADD CONSTRAINT `FK_4ED894655446D385894580BECA993862` FOREIGN KEY (`payment_token_id`) REFERENCES `vault_payment_token` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `FK_CF37B9D854256534BE23C818F6291CA2` FOREIGN KEY (`order_payment_id`) REFERENCES `sales_order_payment` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `weee_tax`
  ADD CONSTRAINT `WEEE_TAX_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `WEEE_TAX_COUNTRY_DIRECTORY_COUNTRY_COUNTRY_ID` FOREIGN KEY (`country`) REFERENCES `directory_country` (`country_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `WEEE_TAX_ENTITY_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `WEEE_TAX_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `store_website` (`website_id`) ON DELETE CASCADE;

ALTER TABLE `widget_instance`
  ADD CONSTRAINT `WIDGET_INSTANCE_THEME_ID_THEME_THEME_ID` FOREIGN KEY (`theme_id`) REFERENCES `theme` (`theme_id`) ON DELETE CASCADE;

ALTER TABLE `widget_instance_page`
  ADD CONSTRAINT `WIDGET_INSTANCE_PAGE_INSTANCE_ID_WIDGET_INSTANCE_INSTANCE_ID` FOREIGN KEY (`instance_id`) REFERENCES `widget_instance` (`instance_id`) ON DELETE CASCADE;

ALTER TABLE `widget_instance_page_layout`
  ADD CONSTRAINT `WIDGET_INSTANCE_PAGE_LAYOUT_PAGE_ID_WIDGET_INSTANCE_PAGE_PAGE_ID` FOREIGN KEY (`page_id`) REFERENCES `widget_instance_page` (`page_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `WIDGET_INSTANCE_PAGE_LYT_LYT_UPDATE_ID_LYT_UPDATE_LYT_UPDATE_ID` FOREIGN KEY (`layout_update_id`) REFERENCES `layout_update` (`layout_update_id`) ON DELETE CASCADE;

ALTER TABLE `wishlist`
  ADD CONSTRAINT `WISHLIST_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE;

ALTER TABLE `wishlist_item`
  ADD CONSTRAINT `WISHLIST_ITEM_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `WISHLIST_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL,
  ADD CONSTRAINT `WISHLIST_ITEM_WISHLIST_ID_WISHLIST_WISHLIST_ID` FOREIGN KEY (`wishlist_id`) REFERENCES `wishlist` (`wishlist_id`) ON DELETE CASCADE;

ALTER TABLE `wishlist_item_option`
  ADD CONSTRAINT `FK_A014B30B04B72DD0EAB3EECD779728D6` FOREIGN KEY (`wishlist_item_id`) REFERENCES `wishlist_item` (`wishlist_item_id`) ON DELETE CASCADE;


