-- Table structure for table `mag2_eav_entity_varchar`
--

CREATE TABLE `mag2_eav_entity_varchar` (
  `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value Id',
  `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type Id',
  `attribute_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attribute Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Id',
  `value` varchar(255) DEFAULT NULL COMMENT 'Attribute Value',
  PRIMARY KEY (`value_id`),
  UNIQUE KEY `MAG2_EAV_ENTITY_VARCHAR_ENTITY_ID_ATTRIBUTE_ID_STORE_ID` (`entity_id`,`attribute_id`,`store_id`),
  KEY `MAG2_EAV_ENTITY_VARCHAR_STORE_ID` (`store_id`),
  KEY `MAG2_EAV_ENTITY_VARCHAR_ATTRIBUTE_ID_VALUE` (`attribute_id`,`value`),
  KEY `MAG2_EAV_ENTITY_VARCHAR_ENTITY_TYPE_ID_VALUE` (`entity_type_id`,`value`),
  CONSTRAINT `MAG2_EAV_ENTITY_VARCHAR_ENTITY_ID_EAV_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `mag2_eav_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_EAV_ENTITY_VARCHAR_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_EAV_ENTT_VCHR_ENTT_TYPE_ID_EAV_ENTT_TYPE_ENTT_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `mag2_eav_entity_type` (`entity_type_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Eav Entity Value Prefix';

--
-- Dumping data for table `mag2_eav_entity_varchar`
--


--
-- Table structure for table `mag2_eav_form_element`
--

CREATE TABLE `mag2_eav_form_element` (
  `element_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Element Id',
  `type_id` smallint(5) unsigned NOT NULL COMMENT 'Type Id',
  `fieldset_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Fieldset Id',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute Id',
  `sort_order` int(11) NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  PRIMARY KEY (`element_id`),
  UNIQUE KEY `MAG2_EAV_FORM_ELEMENT_TYPE_ID_ATTRIBUTE_ID` (`type_id`,`attribute_id`),
  KEY `MAG2_EAV_FORM_ELEMENT_FIELDSET_ID` (`fieldset_id`),
  KEY `MAG2_EAV_FORM_ELEMENT_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `MAG2_EAV_FORM_ELEMENT_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `mag2_eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_EAV_FORM_ELEMENT_FIELDSET_ID_EAV_FORM_FIELDSET_FIELDSET_ID` FOREIGN KEY (`fieldset_id`) REFERENCES `mag2_eav_form_fieldset` (`fieldset_id`) ON DELETE SET NULL,
  CONSTRAINT `MAG2_EAV_FORM_ELEMENT_TYPE_ID_EAV_FORM_TYPE_TYPE_ID` FOREIGN KEY (`type_id`) REFERENCES `mag2_eav_form_type` (`type_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8 COMMENT='Eav Form Element';

--
-- Dumping data for table `mag2_eav_form_element`
--

INSERT INTO `mag2_eav_form_element` VALUES (1,1,NULL,23,0),(2,1,NULL,25,1),(3,1,NULL,27,2),(4,1,NULL,9,3),(5,1,NULL,28,4),(6,1,NULL,29,5),(7,1,NULL,31,6),(8,1,NULL,33,7),(9,1,NULL,30,8),(10,1,NULL,34,9),(11,1,NULL,35,10),(12,2,NULL,23,0),(13,2,NULL,25,1),(14,2,NULL,27,2),(15,2,NULL,9,3),(16,2,NULL,28,4),(17,2,NULL,29,5),(18,2,NULL,31,6),(19,2,NULL,33,7),(20,2,NULL,30,8),(21,2,NULL,34,9),(22,2,NULL,35,10),(23,3,NULL,23,0),(24,3,NULL,25,1),(25,3,NULL,27,2),(26,3,NULL,28,3),(27,3,NULL,29,4),(28,3,NULL,31,5),(29,3,NULL,33,6),(30,3,NULL,30,7),(31,3,NULL,34,8),(32,3,NULL,35,9),(33,4,NULL,23,0),(34,4,NULL,25,1),(35,4,NULL,27,2),(36,4,NULL,28,3),(37,4,NULL,29,4),(38,4,NULL,31,5),(39,4,NULL,33,6),(40,4,NULL,30,7),(41,4,NULL,34,8),(42,4,NULL,35,9);

--
-- Table structure for table `mag2_eav_form_fieldset`
--

CREATE TABLE `mag2_eav_form_fieldset` (
  `fieldset_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Fieldset Id',
  `type_id` smallint(5) unsigned NOT NULL COMMENT 'Type Id',
  `code` varchar(64) NOT NULL COMMENT 'Code',
  `sort_order` int(11) NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  PRIMARY KEY (`fieldset_id`),
  UNIQUE KEY `MAG2_EAV_FORM_FIELDSET_TYPE_ID_CODE` (`type_id`,`code`),
  CONSTRAINT `MAG2_EAV_FORM_FIELDSET_TYPE_ID_EAV_FORM_TYPE_TYPE_ID` FOREIGN KEY (`type_id`) REFERENCES `mag2_eav_form_type` (`type_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Eav Form Fieldset';

--
-- Dumping data for table `mag2_eav_form_fieldset`
--


--
-- Table structure for table `mag2_eav_form_fieldset_label`
--

CREATE TABLE `mag2_eav_form_fieldset_label` (
  `fieldset_id` smallint(5) unsigned NOT NULL COMMENT 'Fieldset Id',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  `label` varchar(255) NOT NULL COMMENT 'Label',
  PRIMARY KEY (`fieldset_id`,`store_id`),
  KEY `MAG2_EAV_FORM_FIELDSET_LABEL_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_EAV_FORM_FIELDSET_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_EAV_FORM_FSET_LBL_FSET_ID_EAV_FORM_FSET_FSET_ID` FOREIGN KEY (`fieldset_id`) REFERENCES `mag2_eav_form_fieldset` (`fieldset_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Eav Form Fieldset Label';

--
-- Dumping data for table `mag2_eav_form_fieldset_label`
--


--
-- Table structure for table `mag2_eav_form_type`
--

CREATE TABLE `mag2_eav_form_type` (
  `type_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Type Id',
  `code` varchar(64) NOT NULL COMMENT 'Code',
  `label` varchar(255) NOT NULL COMMENT 'Label',
  `is_system` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is System',
  `theme` varchar(64) DEFAULT NULL COMMENT 'Theme',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  PRIMARY KEY (`type_id`),
  UNIQUE KEY `MAG2_EAV_FORM_TYPE_CODE_THEME_STORE_ID` (`code`,`theme`,`store_id`),
  KEY `MAG2_EAV_FORM_TYPE_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_EAV_FORM_TYPE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Eav Form Type';

--
-- Dumping data for table `mag2_eav_form_type`
--

INSERT INTO `mag2_eav_form_type` VALUES (1,'checkout_onepage_register','checkout_onepage_register',1,'',0),(2,'checkout_onepage_register_guest','checkout_onepage_register_guest',1,'',0),(3,'checkout_onepage_billing_address','checkout_onepage_billing_address',1,'',0),(4,'checkout_onepage_shipping_address','checkout_onepage_shipping_address',1,'',0);

--
-- Table structure for table `mag2_eav_form_type_entity`
--

CREATE TABLE `mag2_eav_form_type_entity` (
  `type_id` smallint(5) unsigned NOT NULL COMMENT 'Type Id',
  `entity_type_id` smallint(5) unsigned NOT NULL COMMENT 'Entity Type Id',
  PRIMARY KEY (`type_id`,`entity_type_id`),
  KEY `MAG2_EAV_FORM_TYPE_ENTITY_ENTITY_TYPE_ID` (`entity_type_id`),
  CONSTRAINT `MAG2_EAV_FORM_TYPE_ENTITY_TYPE_ID_EAV_FORM_TYPE_TYPE_ID` FOREIGN KEY (`type_id`) REFERENCES `mag2_eav_form_type` (`type_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_EAV_FORM_TYPE_ENTT_ENTT_TYPE_ID_EAV_ENTT_TYPE_ENTT_TYPE_ID` FOREIGN KEY (`entity_type_id`) REFERENCES `mag2_eav_entity_type` (`entity_type_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Eav Form Type Entity';

--
-- Dumping data for table `mag2_eav_form_type_entity`
--

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

--
-- Table structure for table `mag2_email_abandoned_cart`
--

CREATE TABLE `mag2_email_abandoned_cart` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `quote_id` int(10) unsigned DEFAULT NULL COMMENT 'Quote Id',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer ID',
  `email` varchar(255) NOT NULL DEFAULT '' COMMENT 'Email',
  `is_active` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Quote Active',
  `quote_updated_at` timestamp NULL DEFAULT NULL COMMENT 'Quote updated at',
  `abandoned_cart_number` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Abandoned Cart number',
  `items_count` smallint(5) unsigned DEFAULT '0' COMMENT 'Quote items count',
  `items_ids` varchar(255) DEFAULT NULL COMMENT 'Quote item ids',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated at',
  PRIMARY KEY (`id`),
  KEY `MAG2_EMAIL_ABANDONED_CART_QUOTE_ID` (`quote_id`),
  KEY `MAG2_EMAIL_ABANDONED_CART_STORE_ID` (`store_id`),
  KEY `MAG2_EMAIL_ABANDONED_CART_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_EMAIL_ABANDONED_CART_EMAIL` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Abandoned Carts Table';

--
-- Dumping data for table `mag2_email_abandoned_cart`
--


--
-- Table structure for table `mag2_email_automation`
--

CREATE TABLE `mag2_email_automation` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `automation_type` varchar(255) DEFAULT NULL COMMENT 'Automation Type',
  `store_name` varchar(255) DEFAULT NULL COMMENT 'Automation Type',
  `enrolment_status` varchar(255) NOT NULL COMMENT 'Entrolment Status',
  `email` varchar(255) DEFAULT NULL COMMENT 'Email',
  `type_id` varchar(255) DEFAULT NULL COMMENT 'Type ID',
  `program_id` varchar(255) DEFAULT NULL COMMENT 'Program ID',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `message` varchar(255) NOT NULL COMMENT 'Message',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`id`),
  KEY `MAG2_EMAIL_AUTOMATION_AUTOMATION_TYPE` (`automation_type`),
  KEY `MAG2_EMAIL_AUTOMATION_ENROLMENT_STATUS` (`enrolment_status`),
  KEY `MAG2_EMAIL_AUTOMATION_TYPE_ID` (`type_id`),
  KEY `MAG2_EMAIL_AUTOMATION_EMAIL` (`email`),
  KEY `MAG2_EMAIL_AUTOMATION_PROGRAM_ID` (`program_id`),
  KEY `MAG2_EMAIL_AUTOMATION_CREATED_AT` (`created_at`),
  KEY `MAG2_EMAIL_AUTOMATION_UPDATED_AT` (`updated_at`),
  KEY `MAG2_EMAIL_AUTOMATION_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Automation Status';

--
-- Dumping data for table `mag2_email_automation`
--


--
-- Table structure for table `mag2_email_campaign`
--

CREATE TABLE `mag2_email_campaign` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `campaign_id` int(10) unsigned NOT NULL COMMENT 'Campaign ID',
  `email` varchar(255) NOT NULL DEFAULT '' COMMENT 'Contact Email',
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer ID',
  `sent_at` timestamp NULL DEFAULT NULL COMMENT 'Send Date',
  `order_increment_id` varchar(50) NOT NULL COMMENT 'Order Increment ID',
  `quote_id` int(10) unsigned NOT NULL COMMENT 'Sales Quote ID',
  `message` varchar(255) NOT NULL DEFAULT '' COMMENT 'Error Message',
  `checkout_method` varchar(255) NOT NULL DEFAULT '' COMMENT 'Checkout Method Used',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `event_name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Event Name',
  `send_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Send Id',
  `send_status` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Campaign send status',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`id`),
  KEY `MAG2_EMAIL_CAMPAIGN_STORE_ID` (`store_id`),
  KEY `MAG2_EMAIL_CAMPAIGN_CAMPAIGN_ID` (`campaign_id`),
  KEY `MAG2_EMAIL_CAMPAIGN_EMAIL` (`email`),
  KEY `MAG2_EMAIL_CAMPAIGN_SEND_ID` (`send_id`),
  KEY `MAG2_EMAIL_CAMPAIGN_SEND_STATUS` (`send_status`),
  KEY `MAG2_EMAIL_CAMPAIGN_CREATED_AT` (`created_at`),
  KEY `MAG2_EMAIL_CAMPAIGN_UPDATED_AT` (`updated_at`),
  KEY `MAG2_EMAIL_CAMPAIGN_SENT_AT` (`sent_at`),
  KEY `MAG2_EMAIL_CAMPAIGN_EVENT_NAME` (`event_name`),
  KEY `MAG2_EMAIL_CAMPAIGN_MESSAGE` (`message`),
  KEY `MAG2_EMAIL_CAMPAIGN_QUOTE_ID` (`quote_id`),
  KEY `MAG2_EMAIL_CAMPAIGN_CUSTOMER_ID` (`customer_id`),
  CONSTRAINT `MAG2_EMAIL_CAMPAIGN_STORE_ID_CORE/STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Connector Campaigns';

--
-- Dumping data for table `mag2_email_campaign`
--


--
-- Table structure for table `mag2_email_catalog`
--

CREATE TABLE `mag2_email_catalog` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product Id',
  `imported` smallint(5) unsigned DEFAULT NULL COMMENT 'Product Imported',
  `modified` smallint(5) unsigned DEFAULT NULL COMMENT 'Product Modified',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`id`),
  KEY `MAG2_EMAIL_CATALOG_PRODUCT_ID` (`product_id`),
  KEY `MAG2_EMAIL_CATALOG_IMPORTED` (`imported`),
  KEY `MAG2_EMAIL_CATALOG_MODIFIED` (`modified`),
  KEY `MAG2_EMAIL_CATALOG_CREATED_AT` (`created_at`),
  KEY `MAG2_EMAIL_CATALOG_UPDATED_AT` (`updated_at`),
  CONSTRAINT `MAG2_EMAIL_CATALOG_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2131 DEFAULT CHARSET=utf8 COMMENT='Connector Catalog';

--
-- Dumping data for table `mag2_email_catalog`
--

INSERT INTO `mag2_email_catalog` VALUES (2100,1,NULL,NULL,'2021-11-15 20:09:29','2021-11-15 20:09:29'),(2105,9,NULL,NULL,'2021-11-16 20:58:45','2021-11-16 20:58:45'),(2106,10,NULL,NULL,'2021-11-16 21:04:25','2021-11-16 21:04:25'),(2107,11,NULL,NULL,'2021-11-16 21:14:34','2021-11-16 21:14:34'),(2109,15,NULL,NULL,'2021-11-17 00:29:54','2021-11-17 00:29:54'),(2110,16,NULL,NULL,'2021-11-17 00:33:02','2021-11-17 00:33:02'),(2111,17,NULL,NULL,'2021-11-17 00:35:52','2021-11-17 00:35:52'),(2112,18,NULL,NULL,'2021-11-17 00:39:16','2021-11-17 00:39:16'),(2114,20,NULL,NULL,'2021-11-17 01:12:49','2021-11-17 01:12:49'),(2115,21,NULL,NULL,'2021-11-17 01:16:06','2021-11-17 01:16:06'),(2116,22,NULL,NULL,'2021-11-17 01:19:21','2021-11-17 01:19:21'),(2117,23,NULL,NULL,'2021-11-17 06:29:04','2021-11-17 06:29:04'),(2118,24,NULL,NULL,'2021-11-17 06:31:44','2021-11-17 06:31:44'),(2119,25,NULL,NULL,'2021-11-17 06:37:16','2021-11-17 06:37:16'),(2120,26,NULL,NULL,'2021-11-17 06:39:57','2021-11-17 06:39:57'),(2121,27,NULL,NULL,'2021-11-17 06:42:41','2021-11-17 06:42:41'),(2122,28,NULL,NULL,'2021-11-17 06:44:53','2021-11-17 06:44:53'),(2123,29,NULL,NULL,'2021-11-17 06:47:54','2021-11-17 06:47:54'),(2124,30,NULL,NULL,'2021-11-17 06:50:02','2021-11-17 06:50:02'),(2125,31,NULL,NULL,'2021-11-17 17:21:54','2021-11-17 17:21:54'),(2126,32,NULL,NULL,'2021-11-17 17:21:57','2021-11-17 17:21:57'),(2127,33,NULL,NULL,'2021-11-17 17:29:00','2021-11-17 17:29:00'),(2128,34,NULL,NULL,'2021-11-17 17:31:30','2021-11-17 17:31:30'),(2129,35,NULL,NULL,'2021-11-17 17:33:28','2021-11-17 17:33:28'),(2130,36,NULL,NULL,'2021-11-17 17:33:29','2021-11-17 17:33:29');

--
-- Table structure for table `mag2_email_contact`
--

CREATE TABLE `mag2_email_contact` (
  `email_contact_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `is_guest` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Guest',
  `contact_id` varchar(15) DEFAULT NULL COMMENT 'Connector Contact ID',
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer ID',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `email` varchar(255) NOT NULL DEFAULT '' COMMENT 'Customer Email',
  `is_subscriber` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Subscriber',
  `subscriber_status` smallint(5) unsigned DEFAULT NULL COMMENT 'Subscriber status',
  `email_imported` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Imported',
  `subscriber_imported` smallint(5) unsigned DEFAULT NULL COMMENT 'Subscriber Imported',
  `suppressed` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Suppressed',
  PRIMARY KEY (`email_contact_id`),
  KEY `MAG2_EMAIL_CONTACT_EMAIL_CONTACT_ID` (`email_contact_id`),
  KEY `MAG2_EMAIL_CONTACT_IS_GUEST` (`is_guest`),
  KEY `MAG2_EMAIL_CONTACT_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_EMAIL_CONTACT_WEBSITE_ID` (`website_id`),
  KEY `MAG2_EMAIL_CONTACT_IS_SUBSCRIBER` (`is_subscriber`),
  KEY `MAG2_EMAIL_CONTACT_SUBSCRIBER_STATUS` (`subscriber_status`),
  KEY `MAG2_EMAIL_CONTACT_EMAIL_IMPORTED` (`email_imported`),
  KEY `MAG2_EMAIL_CONTACT_SUBSCRIBER_IMPORTED` (`subscriber_imported`),
  KEY `MAG2_EMAIL_CONTACT_SUPPRESSED` (`suppressed`),
  KEY `MAG2_EMAIL_CONTACT_EMAIL` (`email`),
  KEY `MAG2_EMAIL_CONTACT_CONTACT_ID` (`contact_id`),
  CONSTRAINT `MAG2_EMAIL_CONTACT_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Connector Contacts';

--
-- Dumping data for table `mag2_email_contact`
--

INSERT INTO `mag2_email_contact` VALUES (1,NULL,NULL,1,1,1,'roni_cost@example.com',NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `mag2_email_importer`
--

CREATE TABLE `mag2_email_importer` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `import_type` varchar(255) NOT NULL DEFAULT '' COMMENT 'Import Type',
  `website_id` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Website Id',
  `import_status` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Import Status',
  `import_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'Import Id',
  `import_data` mediumblob NOT NULL COMMENT 'Import Data',
  `import_mode` varchar(255) NOT NULL DEFAULT '' COMMENT 'Import Mode',
  `import_file` text NOT NULL COMMENT 'Import File',
  `message` varchar(255) NOT NULL DEFAULT '' COMMENT 'Error Message',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  `import_started` timestamp NULL DEFAULT NULL COMMENT 'Import Started',
  `import_finished` timestamp NULL DEFAULT NULL COMMENT 'Import Finished',
  PRIMARY KEY (`id`),
  KEY `MAG2_EMAIL_IMPORTER_IMPORT_TYPE` (`import_type`),
  KEY `MAG2_EMAIL_IMPORTER_WEBSITE_ID` (`website_id`),
  KEY `MAG2_EMAIL_IMPORTER_IMPORT_STATUS` (`import_status`),
  KEY `MAG2_EMAIL_IMPORTER_IMPORT_MODE` (`import_mode`),
  KEY `MAG2_EMAIL_IMPORTER_CREATED_AT` (`created_at`),
  KEY `MAG2_EMAIL_IMPORTER_UPDATED_AT` (`updated_at`),
  KEY `MAG2_EMAIL_IMPORTER_IMPORT_ID` (`import_id`),
  KEY `MAG2_EMAIL_IMPORTER_IMPORT_STARTED` (`import_started`),
  KEY `MAG2_EMAIL_IMPORTER_IMPORT_FINISHED` (`import_finished`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Email Importer';

--
-- Dumping data for table `mag2_email_importer`
--


--
-- Table structure for table `mag2_email_order`
--

CREATE TABLE `mag2_email_order` (
  `email_order_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `order_status` varchar(255) NOT NULL COMMENT 'Order Status',
  `quote_id` int(10) unsigned NOT NULL COMMENT 'Sales Quote ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `email_imported` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Order Imported',
  `modified` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Order Modified',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`email_order_id`),
  KEY `MAG2_EMAIL_ORDER_STORE_ID` (`store_id`),
  KEY `MAG2_EMAIL_ORDER_QUOTE_ID` (`quote_id`),
  KEY `MAG2_EMAIL_ORDER_EMAIL_IMPORTED` (`email_imported`),
  KEY `MAG2_EMAIL_ORDER_ORDER_STATUS` (`order_status`),
  KEY `MAG2_EMAIL_ORDER_MODIFIED` (`modified`),
  KEY `MAG2_EMAIL_ORDER_UPDATED_AT` (`updated_at`),
  KEY `MAG2_EMAIL_ORDER_CREATED_AT` (`created_at`),
  KEY `MAG2_EMAIL_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID` (`order_id`),
  CONSTRAINT `MAG2_EMAIL_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_EMAIL_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Transactional Order Data';

--
-- Dumping data for table `mag2_email_order`
--

INSERT INTO `mag2_email_order` VALUES (1,1,'processing',1,1,NULL,NULL,'2021-11-10 08:17:26','2021-11-10 08:17:27'),(2,2,'closed',2,1,NULL,NULL,'2021-11-10 08:17:27','2021-11-10 08:17:28');

--
-- Table structure for table `mag2_email_review`
--

CREATE TABLE `mag2_email_review` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `review_id` int(10) unsigned NOT NULL COMMENT 'Review Id',
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  `review_imported` smallint(5) unsigned DEFAULT NULL COMMENT 'Review Imported',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`id`),
  KEY `MAG2_EMAIL_REVIEW_REVIEW_ID` (`review_id`),
  KEY `MAG2_EMAIL_REVIEW_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_EMAIL_REVIEW_STORE_ID` (`store_id`),
  KEY `MAG2_EMAIL_REVIEW_REVIEW_IMPORTED` (`review_imported`),
  KEY `MAG2_EMAIL_REVIEW_CREATED_AT` (`created_at`),
  KEY `MAG2_EMAIL_REVIEW_UPDATED_AT` (`updated_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Connector Reviews';

--
-- Dumping data for table `mag2_email_review`
--


--
-- Table structure for table `mag2_email_rules`
--

CREATE TABLE `mag2_email_rules` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `name` varchar(255) NOT NULL DEFAULT '' COMMENT 'Rule Name',
  `website_ids` varchar(255) NOT NULL DEFAULT '0' COMMENT 'Website Id',
  `type` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Rule Type',
  `status` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Status',
  `combination` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Rule Condition',
  `conditions` blob NOT NULL COMMENT 'Rule Conditions',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Connector Rules';

--
-- Dumping data for table `mag2_email_rules`
--


--
-- Table structure for table `mag2_email_template`
--

CREATE TABLE `mag2_email_template` (
  `template_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Template ID',
  `template_code` varchar(150) NOT NULL COMMENT 'Template Name',
  `template_text` text NOT NULL COMMENT 'Template Content',
  `template_styles` text COMMENT 'Templste Styles',
  `template_type` int(10) unsigned DEFAULT NULL COMMENT 'Template Type',
  `template_subject` varchar(200) NOT NULL COMMENT 'Template Subject',
  `template_sender_name` varchar(200) DEFAULT NULL COMMENT 'Template Sender Name',
  `template_sender_email` varchar(200) DEFAULT NULL COMMENT 'Template Sender Email',
  `added_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date of Template Creation',
  `modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date of Template Modification',
  `orig_template_code` varchar(200) DEFAULT NULL COMMENT 'Original Template Code',
  `orig_template_variables` text COMMENT 'Original Template Variables',
  PRIMARY KEY (`template_id`),
  UNIQUE KEY `MAG2_EMAIL_TEMPLATE_TEMPLATE_CODE` (`template_code`),
  KEY `MAG2_EMAIL_TEMPLATE_ADDED_AT` (`added_at`),
  KEY `MAG2_EMAIL_TEMPLATE_MODIFIED_AT` (`modified_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Email Templates';

--
-- Dumping data for table `mag2_email_template`
--


--
-- Table structure for table `mag2_email_wishlist`
--

CREATE TABLE `mag2_email_wishlist` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key',
  `wishlist_id` int(10) unsigned NOT NULL COMMENT 'Wishlist Id',
  `item_count` int(10) unsigned NOT NULL COMMENT 'Item Count',
  `customer_id` smallint(5) unsigned NOT NULL COMMENT 'Customer ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store Id',
  `wishlist_imported` smallint(5) unsigned DEFAULT NULL COMMENT 'Wishlist Imported',
  `wishlist_modified` smallint(5) unsigned DEFAULT NULL COMMENT 'Wishlist Modified',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Creation Time',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
  PRIMARY KEY (`id`),
  KEY `MAG2_EMAIL_WISHLIST_WISHLIST_ID` (`wishlist_id`),
  KEY `MAG2_EMAIL_WISHLIST_ITEM_COUNT` (`item_count`),
  KEY `MAG2_EMAIL_WISHLIST_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_EMAIL_WISHLIST_WISHLIST_MODIFIED` (`wishlist_modified`),
  KEY `MAG2_EMAIL_WISHLIST_WISHLIST_IMPORTED` (`wishlist_imported`),
  KEY `MAG2_EMAIL_WISHLIST_CREATED_AT` (`created_at`),
  KEY `MAG2_EMAIL_WISHLIST_UPDATED_AT` (`updated_at`),
  KEY `MAG2_EMAIL_WISHLIST_STORE_ID` (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Connector Wishlist';

--
-- Dumping data for table `mag2_email_wishlist`
--


--
-- Table structure for table `mag2_flag`
--

CREATE TABLE `mag2_flag` (
  `flag_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Flag Id',
  `flag_code` varchar(255) NOT NULL COMMENT 'Flag Code',
  `state` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Flag State',
  `flag_data` text COMMENT 'Flag Data',
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Date of Last Flag Update',
  PRIMARY KEY (`flag_id`),
  KEY `MAG2_FLAG_LAST_UPDATE` (`last_update`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Flag';

--
-- Dumping data for table `mag2_flag`
--

INSERT INTO `mag2_flag` VALUES (1,'analytics_link_attempts_reverse_counter',0,'24','2021-11-10 08:15:09'),(2,'catalog_website_attribute_is_sync_required',0,'2','2021-11-10 12:04:39');

--
-- Table structure for table `mag2_gift_message`
--

CREATE TABLE `mag2_gift_message` (
  `gift_message_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'GiftMessage Id',
  `customer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer id',
  `sender` varchar(255) DEFAULT NULL COMMENT 'Sender',
  `recipient` varchar(255) DEFAULT NULL COMMENT 'Registrant',
  `message` text COMMENT 'Message',
  PRIMARY KEY (`gift_message_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Gift Message';

--
-- Dumping data for table `mag2_gift_message`
--


--
-- Table structure for table `mag2_googleoptimizer_code`
--

CREATE TABLE `mag2_googleoptimizer_code` (
  `code_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Google experiment code id',
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Optimized entity id product id or catalog id',
  `entity_type` varchar(50) DEFAULT NULL COMMENT 'Optimized entity type',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store id',
  `experiment_script` text COMMENT 'Google experiment script',
  PRIMARY KEY (`code_id`),
  UNIQUE KEY `MAG2_GOOGLEOPTIMIZER_CODE_STORE_ID_ENTITY_ID_ENTITY_TYPE` (`store_id`,`entity_id`,`entity_type`),
  CONSTRAINT `MAG2_GOOGLEOPTIMIZER_CODE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Google Experiment code';

--
-- Dumping data for table `mag2_googleoptimizer_code`
--


--
-- Table structure for table `mag2_import_history`
--

CREATE TABLE `mag2_import_history` (
  `history_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'History record Id',
  `started_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Started at',
  `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'User ID',
  `imported_file` varchar(255) DEFAULT NULL COMMENT 'Imported file',
  `execution_time` varchar(255) DEFAULT NULL COMMENT 'Execution time',
  `summary` varchar(255) DEFAULT NULL COMMENT 'Summary',
  `error_file` varchar(255) NOT NULL COMMENT 'Imported file with errors',
  PRIMARY KEY (`history_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Import history table';

--
-- Dumping data for table `mag2_import_history`
--

INSERT INTO `mag2_import_history` VALUES (1,'2021-11-10 08:15:24',0,NULL,'00:00:20','Created: 1994, Updated: 0, Deleted: 0',''),(2,'2021-11-10 12:50:18',2,'1636548618_catalog_product_20211107_082618.csv','Validation',NULL,'1636548618_catalog_product_20211107_082618_error_report.csv');

--
-- Table structure for table `mag2_importexport_importdata`
--

CREATE TABLE `mag2_importexport_importdata` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Id',
  `entity` varchar(50) NOT NULL COMMENT 'Entity',
  `behavior` varchar(10) NOT NULL DEFAULT 'append' COMMENT 'Behavior',
  `data` longtext COMMENT 'Data',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COMMENT='Import Data Table';

--
-- Dumping data for table `mag2_importexport_importdata`
--

INSERT INTO `mag2_importexport_importdata` VALUES (21,'catalog_product','append','{\"1\":{\"sku\":\"10003\",\"store_view_code\":\"ar\",\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":null,\"product_websites\":null,\"name\":\"\\u0634\\u0627\\u0645\\u064a\\u0648 \\u0645\\u0648\\u064a\\u0633\\u062a\\u0634\\u0648\\u0631 \\u0644\\u0648\\u0643 1000 \\u0645\\u0644\",\"description\":\"<p>\\u0634\\u0627\\u0645\\u0628\\u0648 \\u0644\\u0644\\u0634\\u0639\\u0631 \\u0627\\u0644\\u0645\\u062c\\u0639\\u062f \\u0627\\u0644\\u0645\\u062e\\u0635\\u0628 \\u0628\\u0632\\u064a\\u0648\\u062a \\u0633\\u0628\\u0639\\u0629 \\u0648 \\u062d\\u0645\\u0627\\u064a\\u0629 \\u0627\\u0644\\u0644\\u0648\\u0646 \\u060c \\u0627\\u0644\\u0645\\u0643\\u0648\\u0646 \\u0627\\u0644\\u0646\\u0634\\u0637 \\u0627\\u0644\\u062c\\u062f\\u064a\\u062f \\u0644\\u0644\\u0648\\u0646 \\u0645\\u0634\\u0631\\u0642 \\u0648\\u062f\\u0627\\u0626\\u0645. \\u064a\\u0646\\u0638\\u0641 \\u0628\\u0644\\u0637\\u0641 \\u0648\\u064a\\u0639\\u0637\\u064a \\u062a\\u0623\\u062b\\u064a\\u0631\\u064b\\u0627 \\u0633\\u0644\\u0633\\u064b\\u0627 \\u0648\\u0645\\u0642\\u0627\\u0648\\u0645\\u064b\\u0627 \\u0644\\u0644\\u062a\\u062c\\u0639\\u062f.<\\/p>\",\"short_description\":null,\"weight\":null,\"product_online\":null,\"tax_class_name\":null,\"visibility\":null,\"price\":null,\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":null,\"meta_title\":null,\"meta_keywords\":null,\"meta_description\":null,\"base_image\":null,\"base_image_label\":null,\"small_image\":null,\"small_image_label\":null,\"thumbnail_image\":null,\"thumbnail_image_label\":null,\"swatch_image\":null,\"swatch_image_label\":null,\"created_at\":null,\"updated_at\":null,\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":null,\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":null,\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":null,\"country_of_manufacture\":null,\"additional_attributes\":null,\"qty\":null,\"out_of_stock_qty\":null,\"use_config_min_qty\":null,\"is_qty_decimal\":null,\"allow_backorders\":null,\"use_config_backorders\":null,\"min_cart_qty\":null,\"use_config_min_sale_qty\":null,\"max_cart_qty\":null,\"use_config_max_sale_qty\":null,\"is_in_stock\":null,\"notify_on_stock_below\":null,\"use_config_notify_stock_qty\":null,\"manage_stock\":null,\"use_config_manage_stock\":null,\"use_config_qty_increments\":null,\"qty_increments\":null,\"use_config_enable_qty_inc\":null,\"enable_qty_increments\":null,\"is_decimal_divided\":null,\"website_id\":null,\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":null,\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":null,\"image_label\":null,\"thumbnail\":null,\"thumbnail_label\":null,\"_media_image\":null,\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":\"ar\",\"_attribute_set\":\"Default\",\"_product_websites\":null,\"status\":null,\"news_from_date\":null,\"news_to_date\":null,\"options_container\":null,\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":null,\"backorders\":null,\"min_sale_qty\":null,\"max_sale_qty\":null,\"notify_stock_qty\":null,\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":null,\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null},\"5\":{\"sku\":\"10005-2\",\"store_view_code\":\"ar\",\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":null,\"product_websites\":null,\"name\":\"\\u0642\\u0646\\u0627\\u0639 \\u0645\\u062d\\u0633\\u0646 \\u0644\\u0644\\u0634\\u0639\\u0631 500 \\u0645\\u0644 \",\"description\":\"<p>\\u0642\\u0646\\u0627\\u0639 \\u0645\\u064f\\u062d\\u0633\\u0651\\u0646 \\u0633\\u0639\\u0629 500 \\u0645\\u0644 \\u0645\\u064f\\u0642\\u0648\\u0651\\u0649 \\u0628\\u062a\\u0642\\u0646\\u064a\\u0629 AMINO BOND COMPLEX \\u060c \\u0648\\u0647\\u064a \\u062a\\u0631\\u0643\\u064a\\u0628\\u0629 \\u0641\\u0631\\u064a\\u062f\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u0623\\u062d\\u0645\\u0627\\u0636 \\u0627\\u0644\\u0623\\u0645\\u064a\\u0646\\u064a\\u0629 \\u0648\\u0627\\u0644\\u0643\\u064a\\u0631\\u0627\\u062a\\u064a\\u0646 \\u0627\\u0644\\u0645\\u062a\\u062d\\u0644\\u0644 \\u0628\\u0627\\u0644\\u0645\\u0627\\u0621 \\u0648\\u0627\\u0644\\u0645\\u0643\\u0648\\u0646\\u0627\\u062a \\u0627\\u0644\\u0646\\u0634\\u0637\\u0629 \\u060c \\u0644\\u0644\\u062d\\u0635\\u0648\\u0644 \\u0639\\u0644\\u0649 \\u062a\\u0623\\u062b\\u064a\\u0631 \\u0633\\u0644\\u0633 \\u0648\\u0645\\u0642\\u0627\\u0648\\u0645 \\u0644\\u0644\\u062a\\u062c\\u0639\\u062f.<\\/p>\\r\\n\",\"short_description\":null,\"weight\":null,\"product_online\":null,\"tax_class_name\":null,\"visibility\":null,\"price\":null,\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":null,\"meta_title\":null,\"meta_keywords\":null,\"meta_description\":null,\"base_image\":null,\"base_image_label\":null,\"small_image\":null,\"small_image_label\":null,\"thumbnail_image\":null,\"thumbnail_image_label\":null,\"swatch_image\":null,\"swatch_image_label\":null,\"created_at\":null,\"updated_at\":null,\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":null,\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":null,\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":null,\"country_of_manufacture\":null,\"additional_attributes\":null,\"qty\":null,\"out_of_stock_qty\":null,\"use_config_min_qty\":null,\"is_qty_decimal\":null,\"allow_backorders\":null,\"use_config_backorders\":null,\"min_cart_qty\":null,\"use_config_min_sale_qty\":null,\"max_cart_qty\":null,\"use_config_max_sale_qty\":null,\"is_in_stock\":null,\"notify_on_stock_below\":null,\"use_config_notify_stock_qty\":null,\"manage_stock\":null,\"use_config_manage_stock\":null,\"use_config_qty_increments\":null,\"qty_increments\":null,\"use_config_enable_qty_inc\":null,\"enable_qty_increments\":null,\"is_decimal_divided\":null,\"website_id\":null,\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":null,\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":null,\"image_label\":null,\"thumbnail\":null,\"thumbnail_label\":null,\"_media_image\":null,\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":\"ar\",\"_attribute_set\":\"Default\",\"_product_websites\":null,\"status\":null,\"news_from_date\":null,\"news_to_date\":null,\"options_container\":null,\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":null,\"backorders\":null,\"min_sale_qty\":null,\"max_sale_qty\":null,\"notify_stock_qty\":null,\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":null,\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null},\"7\":{\"sku\":\"10003-1\",\"store_view_code\":\"ar\",\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":null,\"product_websites\":null,\"name\":\"\\u0634\\u0627\\u0645\\u0628\\u0648 \\u0645\\u064a\\u0633\\u062a\\u0634\\u0648\\u0631 \\u0644\\u0648\\u0643 250 \\u0645\\u0644\",\"description\":\"<p><span>\\u0634\\u0627\\u0645\\u0628\\u0648 \\u0644\\u0644\\u0634\\u0639\\u0631 \\u0627\\u0644\\u0645\\u062c\\u0639\\u062f \\u0627\\u0644\\u0645\\u062e\\u0635\\u0628 \\u0628\\u0632\\u064a\\u0648\\u062a \\u0633\\u0628\\u0639\\u0629 \\u0648 \\u062d\\u0645\\u0627\\u064a\\u0629 \\u0627\\u0644\\u0644\\u0648\\u0646 \\u060c \\u0627\\u0644\\u0645\\u0643\\u0648\\u0646 \\u0627\\u0644\\u0646\\u0634\\u0637 \\u0627\\u0644\\u062c\\u062f\\u064a\\u062f \\u0644\\u0644\\u0648\\u0646 \\u0645\\u0634\\u0631\\u0642 \\u0648\\u062f\\u0627\\u0626\\u0645. \\u064a\\u0646\\u0638\\u0641 \\u0628\\u0644\\u0637\\u0641 \\u0648\\u064a\\u0639\\u0637\\u064a \\u062a\\u0623\\u062b\\u064a\\u0631\\u064b\\u0627 \\u0633\\u0644\\u0633\\u064b\\u0627 \\u0648\\u0645\\u0642\\u0627\\u0648\\u0645\\u064b\\u0627 \\u0644\\u0644\\u062a\\u062c\\u0639\\u062f.<p><span>\",\"short_description\":null,\"weight\":null,\"product_online\":null,\"tax_class_name\":null,\"visibility\":null,\"price\":null,\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":null,\"meta_title\":null,\"meta_keywords\":null,\"meta_description\":null,\"base_image\":null,\"base_image_label\":null,\"small_image\":null,\"small_image_label\":null,\"thumbnail_image\":null,\"thumbnail_image_label\":null,\"swatch_image\":null,\"swatch_image_label\":null,\"created_at\":null,\"updated_at\":null,\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":null,\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":null,\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":null,\"country_of_manufacture\":null,\"additional_attributes\":null,\"qty\":null,\"out_of_stock_qty\":null,\"use_config_min_qty\":null,\"is_qty_decimal\":null,\"allow_backorders\":null,\"use_config_backorders\":null,\"min_cart_qty\":null,\"use_config_min_sale_qty\":null,\"max_cart_qty\":null,\"use_config_max_sale_qty\":null,\"is_in_stock\":null,\"notify_on_stock_below\":null,\"use_config_notify_stock_qty\":null,\"manage_stock\":null,\"use_config_manage_stock\":null,\"use_config_qty_increments\":null,\"qty_increments\":null,\"use_config_enable_qty_inc\":null,\"enable_qty_increments\":null,\"is_decimal_divided\":null,\"website_id\":null,\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":null,\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":null,\"image_label\":null,\"thumbnail\":null,\"thumbnail_label\":null,\"_media_image\":null,\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":\"ar\",\"_attribute_set\":\"Default\",\"_product_websites\":null,\"status\":null,\"news_from_date\":null,\"news_to_date\":null,\"options_container\":null,\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":null,\"backorders\":null,\"min_sale_qty\":null,\"max_sale_qty\":null,\"notify_stock_qty\":null,\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":null,\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null},\"11\":{\"sku\":\"10011-3\",\"store_view_code\":\"default\",\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":null,\"product_websites\":null,\"name\":null,\"description\":\"<p>Frizz free leave in cream, fortified with Amino Bond Complex.<\\/p>\",\"short_description\":null,\"weight\":null,\"product_online\":null,\"tax_class_name\":null,\"visibility\":null,\"price\":null,\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":null,\"meta_title\":null,\"meta_keywords\":null,\"meta_description\":null,\"base_image\":null,\"base_image_label\":null,\"small_image\":null,\"small_image_label\":null,\"thumbnail_image\":null,\"thumbnail_image_label\":null,\"swatch_image\":null,\"swatch_image_label\":null,\"created_at\":null,\"updated_at\":null,\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":null,\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":null,\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":null,\"country_of_manufacture\":null,\"additional_attributes\":null,\"qty\":null,\"out_of_stock_qty\":null,\"use_config_min_qty\":null,\"is_qty_decimal\":null,\"allow_backorders\":null,\"use_config_backorders\":null,\"min_cart_qty\":null,\"use_config_min_sale_qty\":null,\"max_cart_qty\":null,\"use_config_max_sale_qty\":null,\"is_in_stock\":null,\"notify_on_stock_below\":null,\"use_config_notify_stock_qty\":null,\"manage_stock\":null,\"use_config_manage_stock\":null,\"use_config_qty_increments\":null,\"qty_increments\":null,\"use_config_enable_qty_inc\":null,\"enable_qty_increments\":null,\"is_decimal_divided\":null,\"website_id\":null,\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":null,\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":null,\"image_label\":null,\"thumbnail\":null,\"thumbnail_label\":null,\"_media_image\":null,\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":\"default\",\"_attribute_set\":\"Default\",\"_product_websites\":null,\"status\":null,\"news_from_date\":null,\"news_to_date\":null,\"options_container\":null,\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":null,\"backorders\":null,\"min_sale_qty\":null,\"max_sale_qty\":null,\"notify_stock_qty\":null,\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":null,\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null},\"12\":{\"sku\":\"10011-3\",\"store_view_code\":\"ar\",\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":null,\"product_websites\":null,\"name\":\"\\u0643\\u0631\\u064a\\u0645 \\u0627\\u0643\\u0633\\u062a\\u0646\\u062f\\u0631 \\u0644\\u0644\\u0634\\u0639\\u0631 90 \\u0645\\u0644\",\"description\":\"<p><span>\\u0625\\u062c\\u0627\\u0632\\u0629 \\u062e\\u0627\\u0644\\u064a\\u0629 \\u0645\\u0646 \\u0627\\u0644\\u062a\\u062c\\u0639\\u062f \\u0628\\u0627\\u0644\\u0643\\u0631\\u064a\\u0645\\u0629 \\u060c \\u0645\\u0639\\u0632\\u0632 \\u0628\\u0645\\u0631\\u0643\\u0628 \\u0623\\u0645\\u064a\\u0646\\u0648 \\u0628\\u0648\\u0646\\u062f.<p><span>\",\"short_description\":null,\"weight\":null,\"product_online\":null,\"tax_class_name\":null,\"visibility\":null,\"price\":null,\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":null,\"meta_title\":null,\"meta_keywords\":null,\"meta_description\":null,\"base_image\":null,\"base_image_label\":null,\"small_image\":null,\"small_image_label\":null,\"thumbnail_image\":null,\"thumbnail_image_label\":null,\"swatch_image\":null,\"swatch_image_label\":null,\"created_at\":null,\"updated_at\":null,\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":null,\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":null,\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":null,\"country_of_manufacture\":null,\"additional_attributes\":null,\"qty\":null,\"out_of_stock_qty\":null,\"use_config_min_qty\":null,\"is_qty_decimal\":null,\"allow_backorders\":null,\"use_config_backorders\":null,\"min_cart_qty\":null,\"use_config_min_sale_qty\":null,\"max_cart_qty\":null,\"use_config_max_sale_qty\":null,\"is_in_stock\":null,\"notify_on_stock_below\":null,\"use_config_notify_stock_qty\":null,\"manage_stock\":null,\"use_config_manage_stock\":null,\"use_config_qty_increments\":null,\"qty_increments\":null,\"use_config_enable_qty_inc\":null,\"enable_qty_increments\":null,\"is_decimal_divided\":null,\"website_id\":null,\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":null,\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":null,\"image_label\":null,\"thumbnail\":null,\"thumbnail_label\":null,\"_media_image\":null,\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":\"ar\",\"_attribute_set\":\"Default\",\"_product_websites\":null,\"status\":null,\"news_from_date\":null,\"news_to_date\":null,\"options_container\":null,\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":null,\"backorders\":null,\"min_sale_qty\":null,\"max_sale_qty\":null,\"notify_stock_qty\":null,\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":null,\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null},\"13\":{\"sku\":\"10006-2\",\"store_view_code\":null,\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":\"Default Category\\/Serum,Default Category\\/Mobile Categories (Don\'t Delete)\\/Home Banner List (Mobile)\\/Serum:421:0\",\"product_websites\":\"base\",\"name\":\"Shimmer 30 ML\",\"description\":\"<p>Anti-frizz Serum with Aragn Oil and Amino Bond Complex<\\/p>\\r\\n\",\"short_description\":null,\"weight\":null,\"product_online\":\"1\",\"tax_class_name\":\"0\",\"visibility\":\"Catalog, Search\",\"price\":\"11.0000\",\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":\"shimmer-30-ml\",\"meta_title\":\"Shimmer 30 ML\",\"meta_keywords\":\"Shimmer 30 ML\",\"meta_description\":\"Shimmer 30 ML \\r\\n\\r\\nAnti-frizz Serum with Aragn Oil and Amino Bond Complex\\r\\n\\r\\n\",\"base_image\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"base_image_label\":null,\"small_image\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"small_image_label\":null,\"thumbnail_image\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"thumbnail_image_label\":null,\"swatch_image\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"swatch_image_label\":null,\"created_at\":\"12\\/28\\/20, 11:14 AM\",\"updated_at\":\"1\\/20\\/21, 3:36 PM\",\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":\"Block after Info Column\",\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":\"Use config\",\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":\"Use config\",\"country_of_manufacture\":null,\"additional_attributes\":\"barcode=10006-2,brand=Nika,charachters_collection=A,color=Multi,gender=Women,img_hover=\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg,manufacturer= ,supplier=N\\/A,thm_featured=No\",\"qty\":\"719.0000\",\"out_of_stock_qty\":\"0.0000\",\"use_config_min_qty\":\"1\",\"is_qty_decimal\":\"0\",\"allow_backorders\":\"0\",\"use_config_backorders\":\"1\",\"min_cart_qty\":\"1.0000\",\"use_config_min_sale_qty\":\"1\",\"max_cart_qty\":\"10000.0000\",\"use_config_max_sale_qty\":\"1\",\"is_in_stock\":\"1\",\"notify_on_stock_below\":\"1.0000\",\"use_config_notify_stock_qty\":\"1\",\"manage_stock\":\"1\",\"use_config_manage_stock\":\"1\",\"use_config_qty_increments\":\"1\",\"qty_increments\":\"1.0000\",\"use_config_enable_qty_inc\":\"1\",\"enable_qty_increments\":\"0\",\"is_decimal_divided\":\"0\",\"website_id\":\"0\",\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"image_label\":null,\"thumbnail\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"thumbnail_label\":null,\"_media_image\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":null,\"_attribute_set\":\"Default\",\"_product_websites\":\"base\",\"status\":\"1\",\"news_from_date\":null,\"news_to_date\":null,\"options_container\":\"Block after Info Column\",\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":\"0.0000\",\"backorders\":\"0\",\"min_sale_qty\":\"1.0000\",\"max_sale_qty\":\"10000.0000\",\"notify_stock_qty\":\"1.0000\",\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":\"Shimmer 30 ML\",\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null,\"barcode\":\"10006-2\",\"brand\":\"Nika\",\"charachters_collection\":\"A\",\"color\":\"Multi\",\"gender\":\"Women\",\"img_hover\":\"\\/a\\/r\\/artboard_1_copy_12_2x-100.jpg\",\"manufacturer\":\" \",\"supplier\":\"N\\/A\",\"thm_featured\":\"No\"},\"14\":{\"sku\":\"10006-2\",\"store_view_code\":\"ar\",\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":null,\"product_websites\":null,\"name\":\"\\u0633\\u064a\\u0631\\u0645 \\u0634\\u064a\\u0645\\u0631 30 \\u0645\\u0644\",\"description\":\"<p><span>\\u0633\\u064a\\u0631\\u0648\\u0645 \\u0645\\u0636\\u0627\\u062f \\u0644\\u0644\\u062a\\u062c\\u0639\\u062f \\u0628\\u0632\\u064a\\u062a \\u0627\\u0644\\u0623\\u0631\\u0627\\u062c\\u0646 \\u0648\\u0645\\u0631\\u0643\\u0628 \\u0623\\u0645\\u064a\\u0646\\u0648 \\u0628\\u0648\\u0646\\u062f<p><span>\",\"short_description\":null,\"weight\":null,\"product_online\":null,\"tax_class_name\":null,\"visibility\":null,\"price\":null,\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":null,\"meta_title\":null,\"meta_keywords\":null,\"meta_description\":null,\"base_image\":null,\"base_image_label\":null,\"small_image\":null,\"small_image_label\":null,\"thumbnail_image\":null,\"thumbnail_image_label\":null,\"swatch_image\":null,\"swatch_image_label\":null,\"created_at\":null,\"updated_at\":null,\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":null,\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":null,\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":null,\"country_of_manufacture\":null,\"additional_attributes\":null,\"qty\":null,\"out_of_stock_qty\":null,\"use_config_min_qty\":null,\"is_qty_decimal\":null,\"allow_backorders\":null,\"use_config_backorders\":null,\"min_cart_qty\":null,\"use_config_min_sale_qty\":null,\"max_cart_qty\":null,\"use_config_max_sale_qty\":null,\"is_in_stock\":null,\"notify_on_stock_below\":null,\"use_config_notify_stock_qty\":null,\"manage_stock\":null,\"use_config_manage_stock\":null,\"use_config_qty_increments\":null,\"qty_increments\":null,\"use_config_enable_qty_inc\":null,\"enable_qty_increments\":null,\"is_decimal_divided\":null,\"website_id\":null,\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":null,\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":null,\"image_label\":null,\"thumbnail\":null,\"thumbnail_label\":null,\"_media_image\":null,\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":\"ar\",\"_attribute_set\":\"Default\",\"_product_websites\":null,\"status\":null,\"news_from_date\":null,\"news_to_date\":null,\"options_container\":null,\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":null,\"backorders\":null,\"min_sale_qty\":null,\"max_sale_qty\":null,\"notify_stock_qty\":null,\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":null,\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null},\"18\":{\"sku\":\"40004-1\",\"store_view_code\":\"ar\",\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":null,\"product_websites\":null,\"name\":\"\\u0628\\u0644\\u0633\\u0645 \\u062a\\u0627\\u064a\\u0645\\u0644\\u064a\\u0633 \\u0628\\u0644\\u064a\\u0646\\u062f 100 \\u0645\\u0644\",\"description\":\"<p><span>\\u0628\\u0644\\u0633\\u0645 \\u0645\\u0631\\u0637\\u0628 \\u0645\\u0636\\u0627\\u062f \\u0644\\u0644\\u0634\\u064a\\u062e\\u0648\\u062e\\u0629 \\u0644\\u0644\\u0634\\u0639\\u0631 \\u0627\\u0644\\u062c\\u0627\\u0641 \\u0645\\u0639 REBORN COMPLEX.<p><span>\",\"short_description\":null,\"weight\":null,\"product_online\":null,\"tax_class_name\":null,\"visibility\":null,\"price\":null,\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":null,\"meta_title\":null,\"meta_keywords\":null,\"meta_description\":null,\"base_image\":null,\"base_image_label\":null,\"small_image\":null,\"small_image_label\":null,\"thumbnail_image\":null,\"thumbnail_image_label\":null,\"swatch_image\":null,\"swatch_image_label\":null,\"created_at\":null,\"updated_at\":null,\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":null,\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":null,\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":null,\"country_of_manufacture\":null,\"additional_attributes\":null,\"qty\":null,\"out_of_stock_qty\":null,\"use_config_min_qty\":null,\"is_qty_decimal\":null,\"allow_backorders\":null,\"use_config_backorders\":null,\"min_cart_qty\":null,\"use_config_min_sale_qty\":null,\"max_cart_qty\":null,\"use_config_max_sale_qty\":null,\"is_in_stock\":null,\"notify_on_stock_below\":null,\"use_config_notify_stock_qty\":null,\"manage_stock\":null,\"use_config_manage_stock\":null,\"use_config_qty_increments\":null,\"qty_increments\":null,\"use_config_enable_qty_inc\":null,\"enable_qty_increments\":null,\"is_decimal_divided\":null,\"website_id\":null,\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":null,\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":null,\"image_label\":null,\"thumbnail\":null,\"thumbnail_label\":null,\"_media_image\":null,\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":\"ar\",\"_attribute_set\":\"Default\",\"_product_websites\":null,\"status\":null,\"news_from_date\":null,\"news_to_date\":null,\"options_container\":null,\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":null,\"backorders\":null,\"min_sale_qty\":null,\"max_sale_qty\":null,\"notify_stock_qty\":null,\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":null,\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null},\"23\":{\"sku\":\"40004\",\"store_view_code\":null,\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":\"Default Category\\/Conditioner,Default Category\\/Mobile Categories (Don\'t Delete)\\/Home Banner List (Mobile)\\/Conditioner:419:0\",\"product_websites\":\"base\",\"name\":\"Timless Blend Conditioner 250 ML\",\"description\":\"\\r\\n<p>Moisturizing anti-age\\u00a0Conditioner\\u00a0for dry hair with\\u00a0REBORN COMPLEX.<\\/p>\\r\\n\",\"short_description\":null,\"weight\":null,\"product_online\":\"1\",\"tax_class_name\":\"0\",\"visibility\":\"Catalog, Search\",\"price\":\"8.5000\",\"special_price\":null,\"special_price_from_date\":null,\"special_price_to_date\":null,\"url_key\":\"timless-blend-conditioner-250-ml\",\"meta_title\":\"Timless Blend Conditioner 250 ML\",\"meta_keywords\":\"Timless Blend Conditioner 250 ML\",\"meta_description\":\"Timless Blend Conditioner 250 ML \\r\\n\\r\\nMoisturizing anti-age\\u00a0Conditioner\\u00a0for dry hair with\\u00a0REBORN COMPLEX.\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\",\"base_image\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"base_image_label\":null,\"small_image\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"small_image_label\":null,\"thumbnail_image\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"thumbnail_image_label\":null,\"swatch_image\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"swatch_image_label\":null,\"created_at\":\"12\\/28\\/20, 11:50 AM\",\"updated_at\":\"1\\/20\\/21, 3:35 PM\",\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":\"Block after Info Column\",\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":\"Use config\",\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":\"Use config\",\"country_of_manufacture\":null,\"additional_attributes\":\"barcode=40004,brand=Nika,charachters_collection=A,color=Multi,img_hover=\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg,manufacturer= ,supplier=N\\/A,thm_featured=No\",\"qty\":\"351.0000\",\"out_of_stock_qty\":\"0.0000\",\"use_config_min_qty\":\"1\",\"is_qty_decimal\":\"0\",\"allow_backorders\":\"0\",\"use_config_backorders\":\"1\",\"min_cart_qty\":\"1.0000\",\"use_config_min_sale_qty\":\"1\",\"max_cart_qty\":\"10000.0000\",\"use_config_max_sale_qty\":\"1\",\"is_in_stock\":\"1\",\"notify_on_stock_below\":\"1.0000\",\"use_config_notify_stock_qty\":\"1\",\"manage_stock\":\"1\",\"use_config_manage_stock\":\"1\",\"use_config_qty_increments\":\"1\",\"qty_increments\":\"1.0000\",\"use_config_enable_qty_inc\":\"1\",\"enable_qty_increments\":\"0\",\"is_decimal_divided\":\"0\",\"website_id\":\"0\",\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"image_label\":null,\"thumbnail\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"thumbnail_label\":null,\"_media_image\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":null,\"_attribute_set\":\"Default\",\"_product_websites\":\"base\",\"status\":\"1\",\"news_from_date\":null,\"news_to_date\":null,\"options_container\":\"Block after Info Column\",\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":null,\"special_to_date\":null,\"min_qty\":\"0.0000\",\"backorders\":\"0\",\"min_sale_qty\":\"1.0000\",\"max_sale_qty\":\"10000.0000\",\"notify_stock_qty\":\"1.0000\",\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":\"Timless Blend Conditioner 250 ML\",\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null,\"barcode\":\"40004\",\"brand\":\"Nika\",\"charachters_collection\":\"A\",\"color\":\"Multi\",\"img_hover\":\"\\/a\\/r\\/artboard_1_copy_9_2x-100_1_1.jpg\",\"manufacturer\":\" \",\"supplier\":\"N\\/A\",\"thm_featured\":\"No\"},\"41\":{\"sku\":\"2\",\"store_view_code\":null,\"attribute_set_code\":\"Default\",\"product_type\":\"simple\",\"categories\":\"Default Category\\/Promotion Packages,Default Category\\/Mobile Categories (Don\'t Delete)\\/Home Banner List (Mobile)\\/Promotion Packages:426:0\",\"product_websites\":\"base\",\"name\":\"K-Perfection Package - 1000 ml\",\"description\":\"<p>K-Perfection Package: Shampoo + Conditioner + Serum 1000ml<\\/p>\",\"short_description\":null,\"weight\":null,\"product_online\":\"1\",\"tax_class_name\":\"0\",\"visibility\":\"Catalog, Search\",\"price\":\"75.0000\",\"special_price\":\"65.0000\",\"special_price_from_date\":\"3\\/14\\/21\",\"special_price_to_date\":\"4\\/14\\/21\",\"url_key\":\"k-perfection-package-1000-ml\",\"meta_title\":\"K-Perfection Package - 1000 ml\",\"meta_keywords\":\"K-Perfection Package - 1000 ml\",\"meta_description\":\"K-Perfection Package - 1000 ml K-Perfection Package: Shampoo + Conditioner + Serum 1000ml\",\"base_image\":\"\\/1\\/_\\/1_8_1.jpg\",\"base_image_label\":null,\"small_image\":\"\\/1\\/_\\/1_8_1.jpg\",\"small_image_label\":null,\"thumbnail_image\":\"\\/1\\/_\\/1_8_1.jpg\",\"thumbnail_image_label\":null,\"swatch_image\":\"\\/1\\/_\\/1_8_1.jpg\",\"swatch_image_label\":null,\"created_at\":\"3\\/14\\/21, 11:12 AM\",\"updated_at\":\"3\\/14\\/21, 11:14 AM\",\"new_from_date\":null,\"new_to_date\":null,\"display_product_options_in\":\"Block after Info Column\",\"map_price\":null,\"msrp_price\":null,\"map_enabled\":null,\"gift_message_available\":\"Use config\",\"custom_design\":null,\"custom_design_from\":null,\"custom_design_to\":null,\"custom_layout_update\":null,\"page_layout\":null,\"product_options_container\":null,\"msrp_display_actual_price_type\":\"Use config\",\"country_of_manufacture\":null,\"additional_attributes\":\"barcode=2,brand=Nika,charachters_collection=A,color=Multi,gender=Women,img_hover=\\/1\\/_\\/1_8_1.jpg,manufacturer= ,supplier=N\\/A,thm_featured=No\",\"qty\":\"100.0000\",\"out_of_stock_qty\":\"0.0000\",\"use_config_min_qty\":\"1\",\"is_qty_decimal\":\"0\",\"allow_backorders\":\"0\",\"use_config_backorders\":\"1\",\"min_cart_qty\":\"1.0000\",\"use_config_min_sale_qty\":\"1\",\"max_cart_qty\":\"10000.0000\",\"use_config_max_sale_qty\":\"1\",\"is_in_stock\":\"1\",\"notify_on_stock_below\":\"1.0000\",\"use_config_notify_stock_qty\":\"1\",\"manage_stock\":\"1\",\"use_config_manage_stock\":\"1\",\"use_config_qty_increments\":\"1\",\"qty_increments\":\"1.0000\",\"use_config_enable_qty_inc\":\"1\",\"enable_qty_increments\":\"0\",\"is_decimal_divided\":\"0\",\"website_id\":\"0\",\"related_skus\":null,\"related_position\":null,\"crosssell_skus\":null,\"crosssell_position\":null,\"upsell_skus\":null,\"upsell_position\":null,\"additional_images\":\"\\/1\\/_\\/1_8_1.jpg\",\"additional_image_labels\":null,\"hide_from_product_page\":null,\"custom_options\":null,\"bundle_price_type\":null,\"bundle_sku_type\":null,\"bundle_price_view\":null,\"bundle_weight_type\":null,\"bundle_values\":null,\"bundle_shipment_type\":null,\"configurable_variations\":null,\"configurable_variation_labels\":null,\"associated_skus\":null,\"image\":\"\\/1\\/_\\/1_8_1.jpg\",\"image_label\":null,\"thumbnail\":\"\\/1\\/_\\/1_8_1.jpg\",\"thumbnail_label\":null,\"_media_image\":\"\\/1\\/_\\/1_8_1.jpg\",\"_media_image_label\":null,\"_media_is_disabled\":null,\"_store\":null,\"_attribute_set\":\"Default\",\"_product_websites\":\"base\",\"status\":\"1\",\"news_from_date\":null,\"news_to_date\":null,\"options_container\":\"Block after Info Column\",\"minimal_price\":null,\"msrp\":null,\"msrp_enabled\":null,\"special_from_date\":\"3\\/14\\/21\",\"special_to_date\":\"4\\/14\\/21\",\"min_qty\":\"0.0000\",\"backorders\":\"0\",\"min_sale_qty\":\"1.0000\",\"max_sale_qty\":\"10000.0000\",\"notify_stock_qty\":\"1.0000\",\"_related_sku\":null,\"_related_position\":null,\"_crosssell_sku\":null,\"_crosssell_position\":null,\"_upsell_sku\":null,\"_upsell_position\":null,\"meta_keyword\":\"K-Perfection Package - 1000 ml\",\"price_type\":null,\"shipment_type\":null,\"price_view\":null,\"weight_type\":null,\"sku_type\":null,\"barcode\":\"2\",\"brand\":\"Nika\",\"charachters_collection\":\"A\",\"color\":\"Multi\",\"gender\":\"Women\",\"img_hover\":\"\\/1\\/_\\/1_8_1.jpg\",\"manufacturer\":\" \",\"supplier\":\"N\\/A\",\"thm_featured\":\"No\"}}');

--
-- Table structure for table `mag2_indexer_state`
--

CREATE TABLE `mag2_indexer_state` (
  `state_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Indexer State Id',
  `indexer_id` varchar(255) DEFAULT NULL COMMENT 'Indexer Id',
  `status` varchar(16) DEFAULT 'invalid' COMMENT 'Indexer Status',
  `updated` datetime DEFAULT NULL COMMENT 'Indexer Status',
  `hash_config` varchar(32) NOT NULL COMMENT 'Hash of indexer config',
  PRIMARY KEY (`state_id`),
  KEY `MAG2_INDEXER_STATE_INDEXER_ID` (`indexer_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='Indexer State';

--
-- Dumping data for table `mag2_indexer_state`
--

INSERT INTO `mag2_indexer_state` VALUES (1,'design_config_grid','valid','2021-11-17 10:45:13','34ec592bfa6c952bed4d0a1d58c98770'),(2,'customer_grid','valid','2021-11-15 19:57:14','b9632e06cf957d6e8103eb236ca38cc1'),(3,'catalog_category_product','valid','2021-11-15 19:57:14','2124d5bfcd83b609c67eee94a0e4708c'),(4,'catalog_product_category','valid','2021-11-10 08:16:46','77b6356629f3259568a68ea64c773238'),(5,'catalogrule_rule','valid','2021-11-15 19:57:15','c4f8344a2e6a7d8ebc065631454a4724'),(6,'catalog_product_attribute','invalid','2021-11-16 20:59:31','f73cae77ec4dee3b587a60a2f38dd26a'),(7,'cataloginventory_stock','valid','2021-11-15 19:57:15','1bf66e64558a5171e523b32f25cb99ca'),(8,'catalogsearch_fulltext','invalid','2021-11-16 20:59:31','cc2d2701487ee835df4e72b15254852b'),(9,'catalog_product_price','valid','2021-11-15 19:57:15','cbab4723efb02ca24e1db167ef1dfd13'),(10,'catalogrule_product','valid','2021-11-15 19:57:15','667205576ee3764b1ee81c4a076d10ae');

--
-- Table structure for table `mag2_integration`
--

CREATE TABLE `mag2_integration` (
  `integration_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Integration ID',
  `name` varchar(255) NOT NULL COMMENT 'Integration name is displayed in the admin interface',
  `email` varchar(255) NOT NULL COMMENT 'Email address of the contact person',
  `endpoint` varchar(255) DEFAULT NULL COMMENT 'Endpoint for posting consumer credentials',
  `status` smallint(5) unsigned NOT NULL COMMENT 'Integration status',
  `consumer_id` int(10) unsigned DEFAULT NULL COMMENT 'Oauth consumer',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Creation Time',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT 'Update Time',
  `setup_type` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Integration type - manual or config file',
  `identity_link_url` varchar(255) DEFAULT NULL COMMENT 'Identity linking Url',
  PRIMARY KEY (`integration_id`),
  UNIQUE KEY `MAG2_INTEGRATION_NAME` (`name`),
  UNIQUE KEY `MAG2_INTEGRATION_CONSUMER_ID` (`consumer_id`),
  CONSTRAINT `MAG2_INTEGRATION_CONSUMER_ID_MAG2_OAUTH_CONSUMER_ENTITY_ID` FOREIGN KEY (`consumer_id`) REFERENCES `mag2_oauth_consumer` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='mag2_integration';

--
-- Dumping data for table `mag2_integration`
--

INSERT INTO `mag2_integration` VALUES (13,'Magento Social','social-support@magento.com','https://fbapp.ezsocialshop.com/facebook/index.php/magento_auth',2,13,'2021-11-17 09:46:43','2021-11-17 09:46:43',1,'https://fbapp.ezsocialshop.com/facebook/index.php/magento2/show_magento_success_popup');

--
-- Table structure for table `mag2_klarna_core_order`
--

CREATE TABLE `mag2_klarna_core_order` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `klarna_order_id` varchar(255) DEFAULT NULL COMMENT 'Klarna Order Id',
  `session_id` varchar(255) DEFAULT NULL COMMENT 'Session Id',
  `reservation_id` varchar(255) DEFAULT NULL COMMENT 'Reservation Id',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order Id',
  `is_acknowledged` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Is Acknowledged',
  PRIMARY KEY (`id`),
  KEY `MAG2_KLARNA_KCO_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID` (`order_id`),
  CONSTRAINT `MAG2_KLARNA_KCO_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Klarna Checkout Order';

--
-- Dumping data for table `mag2_klarna_core_order`
--


--
-- Table structure for table `mag2_klarna_payments_quote`
--

CREATE TABLE `mag2_klarna_payments_quote` (
  `payments_quote_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Payments Id',
  `session_id` varchar(255) DEFAULT NULL COMMENT 'Klarna Session Id',
  `client_token` text COMMENT 'Klarna Client Token',
  `authorization_token` varchar(255) DEFAULT NULL COMMENT 'Authorization Token',
  `is_active` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Is Active',
  `quote_id` int(10) unsigned NOT NULL COMMENT 'Quote Id',
  `payment_methods` varchar(255) DEFAULT NULL COMMENT 'Payment Method Categories',
  PRIMARY KEY (`payments_quote_id`),
  KEY `MAG2_KLARNA_PAYMENTS_QUOTE_QUOTE_ID_QUOTE_ENTITY_ID` (`quote_id`),
  CONSTRAINT `MAG2_KLARNA_PAYMENTS_QUOTE_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `mag2_quote` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Klarna Payments Quote';

--
-- Dumping data for table `mag2_klarna_payments_quote`
--


--
-- Table structure for table `mag2_layout_link`
--

CREATE TABLE `mag2_layout_link` (
  `layout_link_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Link Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  `theme_id` int(10) unsigned NOT NULL COMMENT 'Theme id',
  `layout_update_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Layout Update Id',
  `is_temporary` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Defines whether Layout Update is Temporary',
  PRIMARY KEY (`layout_link_id`),
  KEY `MAG2_LAYOUT_LINK_LAYOUT_UPDATE_ID` (`layout_update_id`),
  KEY `MAG2_LAYOUT_LINK_STORE_ID_THEME_ID_LAYOUT_UPDATE_ID_IS_TEMPORARY` (`store_id`,`theme_id`,`layout_update_id`,`is_temporary`),
  KEY `MAG2_LAYOUT_LINK_THEME_ID_THEME_THEME_ID` (`theme_id`),
  CONSTRAINT `MAG2_LAYOUT_LINK_LAYOUT_UPDATE_ID_LAYOUT_UPDATE_LAYOUT_UPDATE_ID` FOREIGN KEY (`layout_update_id`) REFERENCES `mag2_layout_update` (`layout_update_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_LAYOUT_LINK_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_LAYOUT_LINK_THEME_ID_THEME_THEME_ID` FOREIGN KEY (`theme_id`) REFERENCES `mag2_theme` (`theme_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COMMENT='Layout Link';

--
-- Dumping data for table `mag2_layout_link`
--

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

--
-- Table structure for table `mag2_layout_update`
--

CREATE TABLE `mag2_layout_update` (
  `layout_update_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Layout Update Id',
  `handle` varchar(255) DEFAULT NULL COMMENT 'Handle',
  `xml` text COMMENT 'Xml',
  `sort_order` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Sort Order',
  `updated_at` timestamp NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT 'Last Update Timestamp',
  PRIMARY KEY (`layout_update_id`),
  KEY `MAG2_LAYOUT_UPDATE_HANDLE` (`handle`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COMMENT='Layout Updates';

--
-- Dumping data for table `mag2_layout_update`
--

INSERT INTO `mag2_layout_update` VALUES (1,'contact_index_index','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"ad7d37fdbcda6e2305331f96bef39f98\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">2</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(2,'default','<body><referenceContainer name=\"cms_footer_links_container\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"81c4e55211a2fee37092748035dfd46e\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">1</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(3,'catalog_category_view_id_37','<body><referenceContainer name=\"sidebar.main\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"a232e69f9f9d6775352640e7d480c6f3\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">3</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(4,'catalog_category_view_id_3','<body><referenceContainer name=\"sidebar.main\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"3b35514dfa6595676c4665aebdd76e64\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">4</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(5,'catalog_category_view_id_11','<body><referenceContainer name=\"sidebar.main\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"af26b8e7d1a198181b8548d8282a1ffe\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">5</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(6,'catalog_category_view_id_20','<body><referenceContainer name=\"sidebar.main\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"4965e1511668b73e8fdfbffa095206b4\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">6</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(7,'catalog_category_view_id_38','<body><referenceContainer name=\"sidebar.main\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"10a7f7471a851a30242f929b540434cd\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">7</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(8,'catalog_category_view_id_20','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"776ea0399446448b7484b0d51fc9b5c8\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">8</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(9,'catalog_category_view_id_9','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"c5f81aa32e2342a02ad08747b0f77e3e\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">9</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(10,'catalog_category_view_id_11','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"2bbaa33b3a1b1415a6c34df34ad374a4\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">10</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(11,'catalog_category_view_id_3','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"b9aa864e8bb3584971525475fe0748c1\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">11</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(12,'catalog_category_view_id_38','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"8106381e8019f99fc6f85066f7a6bd51\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">13</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(13,'catalog_category_view_id_37','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"fc5407c6e036915ec757b17d4edf4480\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">12</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(14,'cms_index_index','<body><referenceContainer name=\"content\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"8953197763e81cebec76665e5b3bfd20\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">14</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(15,'catalog_category_view_id_39','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"65cc2c818efaffa17152c73f45bedcdd\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">15</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(16,'catalog_category_view_id_40','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"38c4d017355878f6161ff6b58affe81b\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">16</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(17,'customer_account_login','<body><referenceContainer name=\"customer.login.container\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"3b6351ef977310765c5a11d07e3038b3\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">18</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00'),(18,'catalog_category_view_id_','<body><referenceContainer name=\"content.top\"><block class=\"Magento\\Cms\\Block\\Widget\\Block\" name=\"ad37ae1d4c56155ad61b87f41f441f69\" template=\"widget/static_block/default.phtml\"><action method=\"setData\"><argument name=\"name\" xsi:type=\"string\">block_id</argument><argument name=\"value\" xsi:type=\"string\">17</argument></action></block></referenceContainer></body>',0,'0000-00-00 00:00:00');

--
-- Table structure for table `mag2_magefan_blog_category`
--

CREATE TABLE `mag2_magefan_blog_category` (
  `category_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Category ID',
  `title` varchar(255) DEFAULT NULL COMMENT 'Category Title',
  `meta_title` varchar(255) DEFAULT NULL COMMENT 'Category Meta Title',
  `meta_keywords` text COMMENT 'Category Meta Keywords',
  `meta_description` text COMMENT 'Category Meta Description',
  `identifier` varchar(100) DEFAULT NULL COMMENT 'Category String Identifier',
  `content_heading` varchar(255) DEFAULT NULL COMMENT 'Category Content Heading',
  `content` mediumtext COMMENT 'Category Content',
  `path` varchar(255) DEFAULT NULL COMMENT 'Category Path',
  `position` smallint(6) NOT NULL COMMENT 'Category Position',
  `posts_sort_by` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Post Sort By',
  `include_in_menu` smallint(6) DEFAULT NULL COMMENT 'Category In Menu',
  `is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Is Category Active',
  `display_mode` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Display Mode',
  `page_layout` varchar(255) DEFAULT NULL COMMENT 'Post Layout',
  `layout_update_xml` text COMMENT 'Post Layout Update Content',
  `custom_theme` varchar(100) DEFAULT NULL COMMENT 'Post Custom Theme',
  `custom_layout` varchar(255) DEFAULT NULL COMMENT 'Post Custom Template',
  `custom_layout_update_xml` text COMMENT 'Post Custom Layout Update Content',
  `custom_theme_from` date DEFAULT NULL COMMENT 'Post Custom Theme Active From Date',
  `custom_theme_to` date DEFAULT NULL COMMENT 'Post Custom Theme Active To Date',
  PRIMARY KEY (`category_id`),
  KEY `MAG2_MAGEFAN_BLOG_CATEGORY_IDENTIFIER` (`identifier`),
  KEY `MAG2_MAGEFAN_BLOG_CATEGORY_INCLUDE_IN_MENU` (`include_in_menu`),
  FULLTEXT KEY `FTI_5367C357FDEACFB31584E60ED20AE19B` (`title`,`meta_keywords`,`meta_description`,`identifier`,`content`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Category Table';

--
-- Dumping data for table `mag2_magefan_blog_category`
--


--
-- Table structure for table `mag2_magefan_blog_category_store`
--

CREATE TABLE `mag2_magefan_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 `MAG2_MAGEFAN_BLOG_CATEGORY_STORE_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_MAGEFAN_BLOG_CATEGORY_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_MAGEFAN_BLOG_CTGR_STORE_CTGR_ID_MAGEFAN_BLOG_CTGR_CTGR_ID` FOREIGN KEY (`category_id`) REFERENCES `mag2_magefan_blog_category` (`category_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Category To Store Linkage Table';

--
-- Dumping data for table `mag2_magefan_blog_category_store`
--


--
-- Table structure for table `mag2_magefan_blog_comment`
--

CREATE TABLE `mag2_magefan_blog_comment` (
  `comment_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Comment ID',
  `parent_id` int(11) NOT NULL COMMENT 'Parent Comment ID',
  `post_id` int(11) NOT NULL COMMENT 'Post ID',
  `customer_id` int(11) DEFAULT NULL COMMENT 'Customer ID',
  `admin_id` int(11) DEFAULT NULL COMMENT 'Admin User ID',
  `status` smallint(6) NOT NULL COMMENT 'Comment status',
  `author_type` smallint(6) NOT NULL COMMENT 'Author Type',
  `author_nickname` varchar(255) NOT NULL COMMENT 'Comment Author Nickname',
  `author_email` varchar(255) DEFAULT NULL COMMENT 'Comment Author Email',
  `text` mediumtext COMMENT 'Text',
  `creation_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Comment Creation Time',
  `update_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Comment Update Time',
  PRIMARY KEY (`comment_id`),
  KEY `MAG2_MAGEFAN_BLOG_COMMENT_PARENT_ID` (`parent_id`),
  KEY `MAG2_MAGEFAN_BLOG_COMMENT_POST_ID` (`post_id`),
  KEY `MAG2_MAGEFAN_BLOG_COMMENT_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_MAGEFAN_BLOG_COMMENT_ADMIN_ID` (`admin_id`),
  KEY `MAG2_MAGEFAN_BLOG_COMMENT_STATUS` (`status`),
  CONSTRAINT `MAG2_MAGEFAN_BLOG_COMMENT_POST_ID_MAGEFAN_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `mag2_magefan_blog_post` (`post_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='mag2_magefan_blog_comment';

--
-- Dumping data for table `mag2_magefan_blog_comment`
--


--
-- Table structure for table `mag2_magefan_blog_post_category`
--

CREATE TABLE `mag2_magefan_blog_post_category` (
  `post_id` int(11) NOT NULL COMMENT 'Post ID',
  `category_id` int(11) NOT NULL COMMENT 'Category ID',
  PRIMARY KEY (`post_id`,`category_id`),
  KEY `MAG2_MAGEFAN_BLOG_POST_CATEGORY_CATEGORY_ID` (`category_id`),
  CONSTRAINT `MAG2_MAGEFAN_BLOG_POST_CTGR_CTGR_ID_MAGEFAN_BLOG_CTGR_CTGR_ID` FOREIGN KEY (`category_id`) REFERENCES `mag2_magefan_blog_category` (`category_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_MAGEFAN_BLOG_POST_CTGR_POST_ID_MAGEFAN_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `mag2_magefan_blog_post` (`post_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Post To Category Linkage Table';

--
-- Dumping data for table `mag2_magefan_blog_post_category`
--


--
-- Table structure for table `mag2_magefan_blog_post_relatedpost`
--

CREATE TABLE `mag2_magefan_blog_post_relatedpost` (
  `post_id` int(11) NOT NULL COMMENT 'Post ID',
  `related_id` int(11) NOT NULL COMMENT 'Related Post ID',
  `position` int(11) NOT NULL COMMENT 'Position',
  PRIMARY KEY (`post_id`,`related_id`),
  KEY `MAG2_MAGEFAN_BLOG_POST_RELATEDPRODUCT_RELATED_ID` (`related_id`),
  CONSTRAINT `FK_2906B0DF479E9B9D25DF7DCA02B4C0AE` FOREIGN KEY (`post_id`) REFERENCES `mag2_magefan_blog_post` (`post_id`) ON DELETE CASCADE,
  CONSTRAINT `FK_E1E5399F4A3E80D19DA8443E3C08BCBB` FOREIGN KEY (`post_id`) REFERENCES `mag2_magefan_blog_post` (`post_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Post To Post Linkage Table';

--
-- Dumping data for table `mag2_magefan_blog_post_relatedpost`
--


--
-- Table structure for table `mag2_magefan_blog_post_relatedproduct`
--

CREATE TABLE `mag2_magefan_blog_post_relatedproduct` (
  `post_id` int(11) 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 `MAG2_MAGEFAN_BLOG_POST_RELATEDPRODUCT_RELATED_ID` (`related_id`),
  CONSTRAINT `FK_61E348A8795E1E8FCC9EAF3A9F54DE3F` FOREIGN KEY (`post_id`) REFERENCES `mag2_magefan_blog_post` (`post_id`) ON DELETE CASCADE,
  CONSTRAINT `FK_E3CAE9382C88A95490059243EFE2A31F` FOREIGN KEY (`related_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Post To Product Linkage Table';

--
-- Dumping data for table `mag2_magefan_blog_post_relatedproduct`
--


--
-- Table structure for table `mag2_magefan_blog_post_store`
--

CREATE TABLE `mag2_magefan_blog_post_store` (
  `post_id` int(11) NOT NULL COMMENT 'Post ID',
  `store_id` smallint(5) unsigned NOT NULL COMMENT 'Store ID',
  PRIMARY KEY (`post_id`,`store_id`),
  KEY `MAG2_MAGEFAN_BLOG_POST_STORE_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_MAGEFAN_BLOG_POST_STORE_POST_ID_MAGEFAN_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `mag2_magefan_blog_post` (`post_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_MAGEFAN_BLOG_POST_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Post To Store Linkage Table';

--
-- Dumping data for table `mag2_magefan_blog_post_store`
--

INSERT INTO `mag2_magefan_blog_post_store` VALUES (1,0);

--
-- Table structure for table `mag2_magefan_blog_post_tag`
--

CREATE TABLE `mag2_magefan_blog_post_tag` (
  `post_id` int(11) NOT NULL COMMENT 'Post ID',
  `tag_id` int(11) NOT NULL COMMENT 'Tag ID',
  PRIMARY KEY (`post_id`,`tag_id`),
  KEY `MAG2_MAGEFAN_BLOG_POST_TAG_TAG_ID` (`tag_id`),
  CONSTRAINT `MAG2_MAGEFAN_BLOG_POST_TAG_POST_ID_MAGEFAN_BLOG_POST_POST_ID` FOREIGN KEY (`post_id`) REFERENCES `mag2_magefan_blog_post` (`post_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_MAGEFAN_BLOG_POST_TAG_TAG_ID_MAGEFAN_BLOG_TAG_TAG_ID` FOREIGN KEY (`tag_id`) REFERENCES `mag2_magefan_blog_tag` (`tag_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Post To Category Linkage Table';

--
-- Dumping data for table `mag2_magefan_blog_post_tag`
--


--
-- Table structure for table `mag2_magefan_blog_tag`
--

CREATE TABLE `mag2_magefan_blog_tag` (
  `tag_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Tag ID',
  `title` varchar(255) DEFAULT NULL COMMENT 'Tag Title',
  `meta_description` varchar(255) DEFAULT NULL COMMENT 'Tag Meta Description',
  `meta_keywords` varchar(255) DEFAULT NULL COMMENT 'Tag Meta Keywords',
  `meta_title` varchar(255) DEFAULT NULL COMMENT 'Tag Meta Title',
  `identifier` varchar(100) DEFAULT NULL COMMENT 'Tag String Identifier',
  `page_layout` varchar(255) DEFAULT NULL COMMENT 'Tag Layout',
  `is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Is Tag Active',
  `content` mediumtext COMMENT 'Tag Content',
  `layout_update_xml` text COMMENT 'Tag Layout Update Content',
  `custom_theme` varchar(100) DEFAULT NULL COMMENT 'Tag Custom Theme',
  `custom_layout` varchar(255) DEFAULT NULL COMMENT 'Tag Custom Template',
  `custom_layout_update_xml` text COMMENT 'Tag Custom Layout Update Content',
  `custom_theme_from` date DEFAULT NULL COMMENT 'Tag Custom Theme Active From Date',
  `custom_theme_to` date DEFAULT NULL COMMENT 'Tag Custom Theme Active To Date',
  PRIMARY KEY (`tag_id`),
  KEY `MAG2_MAGEFAN_BLOG_TAG_IDENTIFIER` (`identifier`),
  KEY `MAG2_MAGEFAN_BLOG_TAG_IS_ACTIVE` (`is_active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Magefan Blog Tag Table';

--
-- Dumping data for table `mag2_magefan_blog_tag`
--


--
-- Table structure for table `mag2_mageplaza_bannerslider_banner`
--

CREATE TABLE `mag2_mageplaza_bannerslider_banner` (
  `banner_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Banner ID',
  `name` varchar(255) DEFAULT NULL COMMENT 'Banner Name',
  `status` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Banner Status',
  `type` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Banner Type',
  `content` text COMMENT 'Custom html, css',
  `image` varchar(255) DEFAULT NULL COMMENT 'Banner Image',
  `url_banner` varchar(255) DEFAULT NULL COMMENT 'Banner Url',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  `newtab` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Open new tab',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Banner Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Banner Updated At',
  PRIMARY KEY (`banner_id`),
  FULLTEXT KEY `MAG2_MAGEPLAZA_BANNERSLIDER_BANNER_NAME_IMAGE_URL_BANNER` (`name`,`image`,`url_banner`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Banner Table';

--
-- Dumping data for table `mag2_mageplaza_bannerslider_banner`
--

INSERT INTO `mag2_mageplaza_bannerslider_banner` VALUES (1,'Banner 1 ',1,0,NULL,'o/p/optimized-bannar.jpg',NULL,NULL,0,'2021-11-15 06:51:17','2021-11-15 06:51:17'),(2,'Banner 2',1,0,NULL,'b/a/bannar2.jpg',NULL,NULL,0,'2021-11-15 06:51:58','2021-11-15 06:51:58'),(3,'Banner 3 ',1,0,NULL,'n/e/new2.jpg',NULL,NULL,0,'2021-11-15 06:52:29','2021-11-15 06:52:29'),(4,'Banner 4',1,0,NULL,'b/4/b4_1.jpg',NULL,NULL,0,'2021-11-15 06:52:58','2021-11-15 06:52:58');

--
-- Table structure for table `mag2_mageplaza_bannerslider_banner_slider`
--

CREATE TABLE `mag2_mageplaza_bannerslider_banner_slider` (
  `slider_id` int(10) unsigned NOT NULL COMMENT 'Slider ID',
  `banner_id` int(10) unsigned NOT NULL COMMENT 'Banner ID',
  `position` int(11) NOT NULL DEFAULT '0' COMMENT 'Position',
  PRIMARY KEY (`slider_id`,`banner_id`),
  UNIQUE KEY `MAG2_MAGEPLAZA_BANNERSLIDER_BANNER_SLIDER_SLIDER_ID_BANNER_ID` (`slider_id`,`banner_id`),
  KEY `MAG2_MAGEPLAZA_BANNERSLIDER_BANNER_SLIDER_SLIDER_ID` (`slider_id`),
  KEY `MAG2_MAGEPLAZA_BANNERSLIDER_BANNER_SLIDER_BANNER_ID` (`banner_id`),
  CONSTRAINT `FK_08778954C5C20AB8E4699A9E075E303C` FOREIGN KEY (`slider_id`) REFERENCES `mag2_mageplaza_bannerslider_slider` (`slider_id`) ON DELETE CASCADE,
  CONSTRAINT `FK_A4EAAB07FC071C8A3373C171B3C306DD` FOREIGN KEY (`banner_id`) REFERENCES `mag2_mageplaza_bannerslider_banner` (`banner_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Slider To Banner Link Table';

--
-- Dumping data for table `mag2_mageplaza_bannerslider_banner_slider`
--

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

--
-- Table structure for table `mag2_mageplaza_bannerslider_slider`
--

CREATE TABLE `mag2_mageplaza_bannerslider_slider` (
  `slider_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Slider ID',
  `name` varchar(255) DEFAULT NULL COMMENT 'Slider Name',
  `status` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Slider Status',
  `location` text COMMENT 'Location',
  `store_ids` varchar(255) DEFAULT NULL COMMENT 'Store_ids',
  `customer_group_ids` varchar(255) DEFAULT NULL COMMENT 'Customer_group_ids',
  `priority` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Priority',
  `effect` varchar(255) DEFAULT NULL COMMENT 'Animation effect',
  `autoWidth` smallint(6) DEFAULT NULL COMMENT 'Auto Width',
  `autoHeight` smallint(6) DEFAULT NULL COMMENT 'Auto Height',
  `design` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Manually design',
  `loop` smallint(6) DEFAULT NULL COMMENT 'Loop slider',
  `lazyLoad` smallint(6) DEFAULT NULL COMMENT 'Lazyload image',
  `autoplay` smallint(6) DEFAULT NULL COMMENT 'Autoplay',
  `autoplayTimeout` varchar(255) DEFAULT '5000' COMMENT 'autoplay Timeout',
  `nav` smallint(6) DEFAULT NULL COMMENT 'Navigation',
  `dots` smallint(6) DEFAULT NULL COMMENT 'Dots',
  `is_responsive` smallint(6) DEFAULT NULL COMMENT 'Responsive',
  `responsive_items` varchar(255) DEFAULT NULL COMMENT 'Max Items Slider',
  `from_date` date DEFAULT NULL COMMENT 'From',
  `to_date` date DEFAULT NULL COMMENT 'To',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Slider Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Slider Updated At',
  PRIMARY KEY (`slider_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Slider Table';

--
-- Dumping data for table `mag2_mageplaza_bannerslider_slider`
--

INSERT INTO `mag2_mageplaza_bannerslider_slider` VALUES (1,'Home Page Slider',1,'cms_index_index.content-top','0','0,1,2,3',0,'slider',0,0,1,0,0,0,'5000',0,0,0,'[]','2019-03-28',NULL,'2021-11-15 06:48:59','2021-11-15 17:19:57');

--
-- Table structure for table `mag2_mview_state`
--

CREATE TABLE `mag2_mview_state` (
  `state_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'View State Id',
  `view_id` varchar(255) DEFAULT NULL COMMENT 'View Id',
  `mode` varchar(16) DEFAULT 'disabled' COMMENT 'View Mode',
  `status` varchar(16) DEFAULT 'idle' COMMENT 'View Status',
  `updated` datetime DEFAULT NULL COMMENT 'View updated time',
  `version_id` int(10) unsigned DEFAULT NULL COMMENT 'View Version Id',
  PRIMARY KEY (`state_id`),
  KEY `MAG2_MVIEW_STATE_VIEW_ID` (`view_id`),
  KEY `MAG2_MVIEW_STATE_MODE` (`mode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='View State';

--
-- Dumping data for table `mag2_mview_state`
--


--
-- Table structure for table `mag2_newsletter_problem`
--

CREATE TABLE `mag2_newsletter_problem` (
  `problem_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Problem Id',
  `subscriber_id` int(10) unsigned DEFAULT NULL COMMENT 'Subscriber Id',
  `queue_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Queue Id',
  `problem_error_code` int(10) unsigned DEFAULT '0' COMMENT 'Problem Error Code',
  `problem_error_text` varchar(200) DEFAULT NULL COMMENT 'Problem Error Text',
  PRIMARY KEY (`problem_id`),
  KEY `MAG2_NEWSLETTER_PROBLEM_SUBSCRIBER_ID` (`subscriber_id`),
  KEY `MAG2_NEWSLETTER_PROBLEM_QUEUE_ID` (`queue_id`),
  CONSTRAINT `MAG2_NEWSLETTER_PROBLEM_QUEUE_ID_NEWSLETTER_QUEUE_QUEUE_ID` FOREIGN KEY (`queue_id`) REFERENCES `mag2_newsletter_queue` (`queue_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_NLTTR_PROBLEM_SUBSCRIBER_ID_NLTTR_SUBSCRIBER_SUBSCRIBER_ID` FOREIGN KEY (`subscriber_id`) REFERENCES `mag2_newsletter_subscriber` (`subscriber_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Newsletter Problems';

--
-- Dumping data for table `mag2_newsletter_problem`
--


--
-- Table structure for table `mag2_newsletter_queue`
--

CREATE TABLE `mag2_newsletter_queue` (
  `queue_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Queue Id',
  `template_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Template ID',
  `newsletter_type` int(11) DEFAULT NULL COMMENT 'Newsletter Type',
  `newsletter_text` text COMMENT 'Newsletter Text',
  `newsletter_styles` text COMMENT 'Newsletter Styles',
  `newsletter_subject` varchar(200) DEFAULT NULL COMMENT 'Newsletter Subject',
  `newsletter_sender_name` varchar(200) DEFAULT NULL COMMENT 'Newsletter Sender Name',
  `newsletter_sender_email` varchar(200) DEFAULT NULL COMMENT 'Newsletter Sender Email',
  `queue_status` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Queue Status',
  `queue_start_at` timestamp NULL DEFAULT NULL COMMENT 'Queue Start At',
  `queue_finish_at` timestamp NULL DEFAULT NULL COMMENT 'Queue Finish At',
  PRIMARY KEY (`queue_id`),
  KEY `MAG2_NEWSLETTER_QUEUE_TEMPLATE_ID` (`template_id`),
  CONSTRAINT `MAG2_NLTTR_QUEUE_TEMPLATE_ID_NLTTR_TEMPLATE_TEMPLATE_ID` FOREIGN KEY (`template_id`) REFERENCES `mag2_newsletter_template` (`template_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Newsletter Queue';

--
-- Dumping data for table `mag2_newsletter_queue`
--


--
-- Table structure for table `mag2_newsletter_queue_link`
--

CREATE TABLE `mag2_newsletter_queue_link` (
  `queue_link_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Queue Link Id',
  `queue_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Queue Id',
  `subscriber_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Subscriber Id',
  `letter_sent_at` timestamp NULL DEFAULT NULL COMMENT 'Letter Sent At',
  PRIMARY KEY (`queue_link_id`),
  KEY `MAG2_NEWSLETTER_QUEUE_LINK_SUBSCRIBER_ID` (`subscriber_id`),
  KEY `MAG2_NEWSLETTER_QUEUE_LINK_QUEUE_ID_LETTER_SENT_AT` (`queue_id`,`letter_sent_at`),
  CONSTRAINT `FK_20FD832E959A0AB5964BCC29DC2535C4` FOREIGN KEY (`subscriber_id`) REFERENCES `mag2_newsletter_subscriber` (`subscriber_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_NEWSLETTER_QUEUE_LINK_QUEUE_ID_NEWSLETTER_QUEUE_QUEUE_ID` FOREIGN KEY (`queue_id`) REFERENCES `mag2_newsletter_queue` (`queue_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Newsletter Queue Link';

--
-- Dumping data for table `mag2_newsletter_queue_link`
--


--
-- Table structure for table `mag2_newsletter_queue_store_link`
--

CREATE TABLE `mag2_newsletter_queue_store_link` (
  `queue_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Queue Id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  PRIMARY KEY (`queue_id`,`store_id`),
  KEY `MAG2_NEWSLETTER_QUEUE_STORE_LINK_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_NEWSLETTER_QUEUE_STORE_LINK_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_NLTTR_QUEUE_STORE_LNK_QUEUE_ID_NLTTR_QUEUE_QUEUE_ID` FOREIGN KEY (`queue_id`) REFERENCES `mag2_newsletter_queue` (`queue_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Newsletter Queue Store Link';

--
-- Dumping data for table `mag2_newsletter_queue_store_link`
--


--
-- Table structure for table `mag2_newsletter_subscriber`
--

CREATE TABLE `mag2_newsletter_subscriber` (
  `subscriber_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Subscriber Id',
  `store_id` smallint(5) unsigned DEFAULT '0' COMMENT 'Store Id',
  `change_status_at` timestamp NULL DEFAULT NULL COMMENT 'Change Status At',
  `customer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Id',
  `subscriber_email` varchar(150) DEFAULT NULL COMMENT 'Subscriber Email',
  `subscriber_status` int(11) NOT NULL DEFAULT '0' COMMENT 'Subscriber Status',
  `subscriber_confirm_code` varchar(32) DEFAULT 'NULL' COMMENT 'Subscriber Confirm Code',
  PRIMARY KEY (`subscriber_id`),
  KEY `MAG2_NEWSLETTER_SUBSCRIBER_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_NEWSLETTER_SUBSCRIBER_STORE_ID` (`store_id`),
  KEY `MAG2_NEWSLETTER_SUBSCRIBER_SUBSCRIBER_EMAIL` (`subscriber_email`),
  CONSTRAINT `MAG2_NEWSLETTER_SUBSCRIBER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Newsletter Subscriber';

--
-- Dumping data for table `mag2_newsletter_subscriber`
--


--
-- Table structure for table `mag2_newsletter_template`
--

CREATE TABLE `mag2_newsletter_template` (
  `template_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Template ID',
  `template_code` varchar(150) DEFAULT NULL COMMENT 'Template Code',
  `template_text` text COMMENT 'Template Text',
  `template_styles` text COMMENT 'Template Styles',
  `template_type` int(10) unsigned DEFAULT NULL COMMENT 'Template Type',
  `template_subject` varchar(200) DEFAULT NULL COMMENT 'Template Subject',
  `template_sender_name` varchar(200) DEFAULT NULL COMMENT 'Template Sender Name',
  `template_sender_email` varchar(200) DEFAULT NULL COMMENT 'Template Sender Email',
  `template_actual` smallint(5) unsigned DEFAULT '1' COMMENT 'Template Actual',
  `added_at` timestamp NULL DEFAULT NULL COMMENT 'Added At',
  `modified_at` timestamp NULL DEFAULT NULL COMMENT 'Modified At',
  PRIMARY KEY (`template_id`),
  KEY `MAG2_NEWSLETTER_TEMPLATE_TEMPLATE_ACTUAL` (`template_actual`),
  KEY `MAG2_NEWSLETTER_TEMPLATE_ADDED_AT` (`added_at`),
  KEY `MAG2_NEWSLETTER_TEMPLATE_MODIFIED_AT` (`modified_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Newsletter Template';

--
-- Dumping data for table `mag2_newsletter_template`
--


--
-- Table structure for table `mag2_oauth_nonce`
--

CREATE TABLE `mag2_oauth_nonce` (
  `nonce` varchar(32) NOT NULL COMMENT 'Nonce String',
  `timestamp` int(10) unsigned NOT NULL COMMENT 'Nonce Timestamp',
  `consumer_id` int(10) unsigned NOT NULL COMMENT 'Consumer ID',
  UNIQUE KEY `MAG2_OAUTH_NONCE_NONCE_CONSUMER_ID` (`nonce`,`consumer_id`),
  KEY `MAG2_OAUTH_NONCE_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID` (`consumer_id`),
  CONSTRAINT `MAG2_OAUTH_NONCE_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID` FOREIGN KEY (`consumer_id`) REFERENCES `mag2_oauth_consumer` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='OAuth Nonce';

--
-- Dumping data for table `mag2_oauth_nonce`
--


--
-- Table structure for table `mag2_oauth_token`
--

CREATE TABLE `mag2_oauth_token` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `consumer_id` int(10) unsigned DEFAULT NULL COMMENT 'Oauth Consumer ID',
  `admin_id` int(10) unsigned DEFAULT NULL COMMENT 'Admin user ID',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer user ID',
  `type` varchar(16) NOT NULL COMMENT 'Token Type',
  `token` varchar(32) NOT NULL COMMENT 'Token',
  `secret` varchar(32) NOT NULL COMMENT 'Token Secret',
  `verifier` varchar(32) DEFAULT NULL COMMENT 'Token Verifier',
  `callback_url` text NOT NULL COMMENT 'Token Callback URL',
  `revoked` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Token revoked',
  `authorized` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Token authorized',
  `user_type` int(11) DEFAULT NULL COMMENT 'User type',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Token creation timestamp',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `MAG2_OAUTH_TOKEN_TOKEN` (`token`),
  KEY `MAG2_OAUTH_TOKEN_CONSUMER_ID` (`consumer_id`),
  KEY `MAG2_OAUTH_TOKEN_ADMIN_ID_ADMIN_USER_USER_ID` (`admin_id`),
  KEY `MAG2_OAUTH_TOKEN_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` (`customer_id`),
  CONSTRAINT `MAG2_OAUTH_TOKEN_ADMIN_ID_ADMIN_USER_USER_ID` FOREIGN KEY (`admin_id`) REFERENCES `mag2_admin_user` (`user_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_OAUTH_TOKEN_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID` FOREIGN KEY (`consumer_id`) REFERENCES `mag2_oauth_consumer` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_OAUTH_TOKEN_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='OAuth Tokens';

--
-- Dumping data for table `mag2_oauth_token`
--


--
-- Table structure for table `mag2_oauth_token_request_log`
--

CREATE TABLE `mag2_oauth_token_request_log` (
  `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Log Id',
  `user_name` varchar(255) NOT NULL COMMENT 'Customer email or admin login',
  `user_type` smallint(5) unsigned NOT NULL COMMENT 'User type (admin or customer)',
  `failures_count` smallint(5) unsigned DEFAULT '0' COMMENT 'Number of failed authentication attempts in a row',
  `lock_expires_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Lock expiration time',
  PRIMARY KEY (`log_id`),
  UNIQUE KEY `MAG2_OAUTH_TOKEN_REQUEST_LOG_USER_NAME_USER_TYPE` (`user_name`,`user_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Log of token request authentication failures.';

--
-- Dumping data for table `mag2_oauth_token_request_log`
--


--
-- Table structure for table `mag2_password_reset_request_event`
--

CREATE TABLE `mag2_password_reset_request_event` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `request_type` smallint(5) unsigned NOT NULL COMMENT 'Type of the event under a security control',
  `account_reference` varchar(255) DEFAULT NULL COMMENT 'An identifier for existing account or another target',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Timestamp when the event occurs',
  `ip` varchar(15) NOT NULL COMMENT 'Remote user IP',
  PRIMARY KEY (`id`),
  KEY `MAG2_PASSWORD_RESET_REQUEST_EVENT_ACCOUNT_REFERENCE` (`account_reference`),
  KEY `MAG2_PASSWORD_RESET_REQUEST_EVENT_CREATED_AT` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Password Reset Request Event under a security control';

--
-- Dumping data for table `mag2_password_reset_request_event`
--


--
-- Table structure for table `mag2_paypal_billing_agreement`
--

CREATE TABLE `mag2_paypal_billing_agreement` (
  `agreement_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Agreement Id',
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer Id',
  `method_code` varchar(32) NOT NULL COMMENT 'Method Code',
  `reference_id` varchar(32) NOT NULL COMMENT 'Reference Id',
  `status` varchar(20) NOT NULL COMMENT 'Status',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
  `agreement_label` varchar(255) DEFAULT NULL COMMENT 'Agreement Label',
  PRIMARY KEY (`agreement_id`),
  KEY `MAG2_PAYPAL_BILLING_AGREEMENT_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_PAYPAL_BILLING_AGREEMENT_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_PAYPAL_BILLING_AGREEMENT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL,
  CONSTRAINT `MAG2_PAYPAL_BILLING_AGRT_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Billing Agreement';

--
-- Dumping data for table `mag2_paypal_billing_agreement`
--


--
-- Table structure for table `mag2_paypal_billing_agreement_order`
--

CREATE TABLE `mag2_paypal_billing_agreement_order` (
  `agreement_id` int(10) unsigned NOT NULL COMMENT 'Agreement Id',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order Id',
  PRIMARY KEY (`agreement_id`,`order_id`),
  KEY `MAG2_PAYPAL_BILLING_AGREEMENT_ORDER_ORDER_ID` (`order_id`),
  CONSTRAINT `FK_31974B9CA6B65D5279CFA17F90D0DD5B` FOREIGN KEY (`agreement_id`) REFERENCES `mag2_paypal_billing_agreement` (`agreement_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_PAYPAL_BILLING_AGRT_ORDER_ORDER_ID_SALES_ORDER_ENTT_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Billing Agreement Order';

--
-- Dumping data for table `mag2_paypal_billing_agreement_order`
--


--
-- Table structure for table `mag2_paypal_cert`
--

CREATE TABLE `mag2_paypal_cert` (
  `cert_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Cert Id',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website Id',
  `content` text COMMENT 'Content',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
  PRIMARY KEY (`cert_id`),
  KEY `MAG2_PAYPAL_CERT_WEBSITE_ID` (`website_id`),
  CONSTRAINT `MAG2_PAYPAL_CERT_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Paypal Certificate Table';

--
-- Dumping data for table `mag2_paypal_cert`
--


--
-- Table structure for table `mag2_paypal_payment_transaction`
--

CREATE TABLE `mag2_paypal_payment_transaction` (
  `transaction_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `txn_id` varchar(100) DEFAULT NULL COMMENT 'Txn Id',
  `additional_information` blob COMMENT 'Additional Information',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created At',
  PRIMARY KEY (`transaction_id`),
  UNIQUE KEY `MAG2_PAYPAL_PAYMENT_TRANSACTION_TXN_ID` (`txn_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='PayPal Payflow Link Payment Transaction';

--
-- Dumping data for table `mag2_paypal_payment_transaction`
--


--
-- Table structure for table `mag2_paypal_settlement_report`
--

CREATE TABLE `mag2_paypal_settlement_report` (
  `report_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Report Id',
  `report_date` date DEFAULT NULL COMMENT 'Report Date',
  `account_id` varchar(64) DEFAULT NULL COMMENT 'Account Id',
  `filename` varchar(24) DEFAULT NULL COMMENT 'Filename',
  `last_modified` timestamp NULL DEFAULT NULL COMMENT 'Last Modified',
  PRIMARY KEY (`report_id`),
  UNIQUE KEY `MAG2_PAYPAL_SETTLEMENT_REPORT_REPORT_DATE_ACCOUNT_ID` (`report_date`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Paypal Settlement Report Table';

--
-- Dumping data for table `mag2_paypal_settlement_report`
--


--
-- Table structure for table `mag2_paypal_settlement_report_row`
--

CREATE TABLE `mag2_paypal_settlement_report_row` (
  `row_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Row Id',
  `report_id` int(10) unsigned NOT NULL COMMENT 'Report Id',
  `transaction_id` varchar(19) DEFAULT NULL COMMENT 'Transaction Id',
  `invoice_id` varchar(127) DEFAULT NULL COMMENT 'Invoice Id',
  `paypal_reference_id` varchar(19) DEFAULT NULL COMMENT 'Paypal Reference Id',
  `paypal_reference_id_type` varchar(3) DEFAULT NULL COMMENT 'Paypal Reference Id Type',
  `transaction_event_code` varchar(5) DEFAULT NULL COMMENT 'Transaction Event Code',
  `transaction_initiation_date` timestamp NULL DEFAULT NULL COMMENT 'Transaction Initiation Date',
  `transaction_completion_date` timestamp NULL DEFAULT NULL COMMENT 'Transaction Completion Date',
  `transaction_debit_or_credit` varchar(2) NOT NULL DEFAULT 'CR' COMMENT 'Transaction Debit Or Credit',
  `gross_transaction_amount` decimal(20,6) NOT NULL DEFAULT '0.000000' COMMENT 'Gross Transaction Amount',
  `gross_transaction_currency` varchar(3) DEFAULT NULL COMMENT 'Gross Transaction Currency',
  `fee_debit_or_credit` varchar(2) DEFAULT NULL COMMENT 'Fee Debit Or Credit',
  `fee_amount` decimal(20,6) NOT NULL DEFAULT '0.000000' COMMENT 'Fee Amount',
  `fee_currency` varchar(3) DEFAULT NULL COMMENT 'Fee Currency',
  `custom_field` varchar(255) DEFAULT NULL COMMENT 'Custom Field',
  `consumer_id` varchar(127) DEFAULT NULL COMMENT 'Consumer Id',
  `payment_tracking_id` varchar(255) DEFAULT NULL COMMENT 'Payment Tracking ID',
  `store_id` varchar(50) DEFAULT NULL COMMENT 'Store ID',
  PRIMARY KEY (`row_id`),
  KEY `MAG2_PAYPAL_SETTLEMENT_REPORT_ROW_REPORT_ID` (`report_id`),
  CONSTRAINT `FK_3DCE2E83B5C66E0DAE31891D4E4EC770` FOREIGN KEY (`report_id`) REFERENCES `mag2_paypal_settlement_report` (`report_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Paypal Settlement Report Row Table';

--
-- Dumping data for table `mag2_paypal_settlement_report_row`
--


--
-- Table structure for table `mag2_persistent_session`
--

CREATE TABLE `mag2_persistent_session` (
  `persistent_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Session id',
  `key` varchar(50) NOT NULL COMMENT 'Unique cookie key',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer id',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website ID',
  `info` text COMMENT 'Session Data',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`persistent_id`),
  UNIQUE KEY `MAG2_PERSISTENT_SESSION_KEY` (`key`),
  UNIQUE KEY `MAG2_PERSISTENT_SESSION_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_PERSISTENT_SESSION_UPDATED_AT` (`updated_at`),
  KEY `MAG2_PERSISTENT_SESSION_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` (`website_id`),
  CONSTRAINT `MAG2_PERSISTENT_SESSION_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_PERSISTENT_SESSION_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Persistent Session';

--
-- Dumping data for table `mag2_persistent_session`
--


--
-- Table structure for table `mag2_product_alert_price`
--

CREATE TABLE `mag2_product_alert_price` (
  `alert_price_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Product alert price id',
  `customer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer id',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product id',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price amount',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website id',
  `add_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Product alert add date',
  `last_send_date` timestamp NULL DEFAULT NULL COMMENT 'Product alert last send date',
  `send_count` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Product alert send count',
  `status` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Product alert status',
  PRIMARY KEY (`alert_price_id`),
  KEY `MAG2_PRODUCT_ALERT_PRICE_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_PRODUCT_ALERT_PRICE_PRODUCT_ID` (`product_id`),
  KEY `MAG2_PRODUCT_ALERT_PRICE_WEBSITE_ID` (`website_id`),
  CONSTRAINT `MAG2_PRD_ALERT_PRICE_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_PRODUCT_ALERT_PRICE_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_PRODUCT_ALERT_PRICE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Product Alert Price';

--
-- Dumping data for table `mag2_product_alert_price`
--


--
-- Table structure for table `mag2_product_alert_stock`
--

CREATE TABLE `mag2_product_alert_stock` (
  `alert_stock_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Product alert stock id',
  `customer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer id',
  `product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Product id',
  `website_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Website id',
  `add_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Product alert add date',
  `send_date` timestamp NULL DEFAULT NULL COMMENT 'Product alert send date',
  `send_count` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Send Count',
  `status` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Product alert status',
  PRIMARY KEY (`alert_stock_id`),
  KEY `MAG2_PRODUCT_ALERT_STOCK_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_PRODUCT_ALERT_STOCK_PRODUCT_ID` (`product_id`),
  KEY `MAG2_PRODUCT_ALERT_STOCK_WEBSITE_ID` (`website_id`),
  CONSTRAINT `MAG2_PRD_ALERT_STOCK_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_PRODUCT_ALERT_STOCK_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_PRODUCT_ALERT_STOCK_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Product Alert Stock';

--
-- Dumping data for table `mag2_product_alert_stock`
--


--
-- Table structure for table `mag2_quote_address`
--

CREATE TABLE `mag2_quote_address` (
  `address_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Address Id',
  `quote_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quote Id',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer Id',
  `save_in_address_book` smallint(6) DEFAULT '0' COMMENT 'Save In Address Book',
  `customer_address_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer Address Id',
  `address_type` varchar(10) DEFAULT NULL COMMENT 'Address Type',
  `email` varchar(255) DEFAULT NULL COMMENT 'Email',
  `prefix` varchar(40) DEFAULT NULL COMMENT 'Prefix',
  `firstname` varchar(255) DEFAULT NULL,
  `middlename` varchar(40) DEFAULT NULL,
  `lastname` varchar(255) DEFAULT NULL,
  `suffix` varchar(40) DEFAULT NULL COMMENT 'Suffix',
  `company` varchar(255) DEFAULT NULL COMMENT 'Company',
  `street` varchar(255) DEFAULT NULL COMMENT 'Street',
  `city` varchar(255) DEFAULT NULL,
  `region` varchar(255) DEFAULT NULL,
  `region_id` int(10) unsigned DEFAULT NULL COMMENT 'Region Id',
  `postcode` varchar(20) DEFAULT NULL COMMENT 'Postcode',
  `country_id` varchar(30) DEFAULT NULL COMMENT 'Country Id',
  `telephone` varchar(255) DEFAULT NULL,
  `fax` varchar(255) DEFAULT NULL,
  `same_as_billing` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Same As Billing',
  `collect_shipping_rates` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Collect Shipping Rates',
  `shipping_method` varchar(120) DEFAULT NULL,
  `shipping_description` varchar(255) DEFAULT NULL COMMENT 'Shipping Description',
  `weight` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Weight',
  `subtotal` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal',
  `base_subtotal` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Subtotal',
  `subtotal_with_discount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal With Discount',
  `base_subtotal_with_discount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Subtotal With Discount',
  `tax_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Tax Amount',
  `base_tax_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Tax Amount',
  `shipping_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Shipping Amount',
  `base_shipping_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Shipping Amount',
  `shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `base_shipping_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `base_discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Discount Amount',
  `grand_total` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Grand Total',
  `base_grand_total` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Grand Total',
  `customer_notes` text COMMENT 'Customer Notes',
  `applied_taxes` text COMMENT 'Applied Taxes',
  `discount_description` varchar(255) DEFAULT NULL COMMENT 'Discount Description',
  `shipping_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Shipping Discount Amount',
  `base_shipping_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Shipping Discount Amount',
  `subtotal_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `base_subtotal_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal 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',
  `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',
  `free_shipping` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Free Shipping',
  `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',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message Id',
  PRIMARY KEY (`address_id`),
  KEY `MAG2_QUOTE_ADDRESS_QUOTE_ID` (`quote_id`),
  CONSTRAINT `MAG2_QUOTE_ADDRESS_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `mag2_quote` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Address';

--
-- Dumping data for table `mag2_quote_address`
--

INSERT INTO `mag2_quote_address` VALUES (1,1,'2021-11-10 08:17:24','0000-00-00 00:00:00',1,0,1,'billing','roni_cost@example.com',NULL,'Veronica',NULL,'Costello',NULL,NULL,'6146 Honey Bluff Parkway','Calder','Michigan',33,'49628-7978','US','(555) 229-3326',NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,0.0000,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,'2021-11-10 08:17:24','0000-00-00 00:00:00',1,0,1,'shipping','roni_cost@example.com',NULL,'Veronica',NULL,'Costello',NULL,NULL,'6146 Honey Bluff Parkway','Calder','Michigan',33,'49628-7978','US','(555) 229-3326',NULL,1,0,'flatrate_flatrate','Flat Rate - Fixed',1.0000,29.0000,29.0000,29.0000,29.0000,2.3900,2.3900,5.0000,5.0000,0.0000,0.0000,0.0000,0.0000,36.3900,36.3900,NULL,'{\"US-MI-*-Rate 1\":{\"amount\":2.39,\"base_amount\":2.39,\"percent\":8.25,\"id\":\"US-MI-*-Rate 1\",\"rates\":[{\"percent\":8.25,\"code\":\"US-MI-*-Rate 1\",\"title\":\"US-MI-*-Rate 1\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,31.3900,31.3900,0.0000,0.0000,0.0000,NULL,5.0000,5.0000,0,NULL,NULL,NULL,NULL,NULL,NULL),(3,2,'2021-11-10 08:17:27','0000-00-00 00:00:00',1,0,1,'billing','roni_cost@example.com',NULL,'Veronica',NULL,'Costello',NULL,NULL,'6146 Honey Bluff Parkway','Calder','Michigan',33,'49628-7978','US','(555) 229-3326',NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,0.0000,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(4,2,'2021-11-10 08:17:27','0000-00-00 00:00:00',1,0,1,'shipping','roni_cost@example.com',NULL,'Veronica',NULL,'Costello',NULL,NULL,'6146 Honey Bluff Parkway','Calder','Michigan',33,'49628-7978','US','(555) 229-3326',NULL,1,0,'flatrate_flatrate','Flat Rate - Fixed',1.0000,32.0000,32.0000,32.0000,32.0000,2.6400,2.6400,5.0000,5.0000,0.0000,0.0000,0.0000,0.0000,39.6400,39.6400,NULL,'{\"US-MI-*-Rate 1\":{\"amount\":2.64,\"base_amount\":2.64,\"percent\":8.25,\"id\":\"US-MI-*-Rate 1\",\"rates\":[{\"percent\":8.25,\"code\":\"US-MI-*-Rate 1\",\"title\":\"US-MI-*-Rate 1\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,34.6400,34.6400,0.0000,0.0000,0.0000,NULL,5.0000,5.0000,0,NULL,NULL,NULL,NULL,NULL,NULL),(5,3,'2021-11-15 20:10:06','0000-00-00 00:00:00',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,0.0000,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(6,3,'2021-11-15 20:10:06','0000-00-00 00:00:00',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0.0000,8.0000,8.0000,8.0000,8.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,8.0000,8.0000,NULL,'[]',NULL,0.0000,0.0000,8.0000,8.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0,NULL,NULL,NULL,NULL,NULL,NULL),(7,4,'2021-11-16 22:16:13','0000-00-00 00:00:00',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,0.0000,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(8,4,'2021-11-16 22:16:13','0000-00-00 00:00:00',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0.0000,26.5000,26.5000,26.5000,26.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,26.5000,26.5000,NULL,'[]',NULL,0.0000,0.0000,26.5000,26.5000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0,NULL,NULL,NULL,NULL,NULL,NULL),(9,5,'2021-11-17 10:46:57','0000-00-00 00:00:00',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,0.0000,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(10,5,'2021-11-17 10:46:57','0000-00-00 00:00:00',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0.0000,26.5000,26.5000,26.5000,26.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,26.5000,26.5000,NULL,'[]',NULL,0.0000,0.0000,26.5000,26.5000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `mag2_quote_address_item`
--

CREATE TABLE `mag2_quote_address_item` (
  `address_item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Address Item Id',
  `parent_item_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent Item Id',
  `quote_address_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quote Address Id',
  `quote_item_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quote Item Id',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `applied_rule_ids` text COMMENT 'Applied Rule Ids',
  `additional_data` text COMMENT 'Additional Data',
  `weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Weight',
  `qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty',
  `discount_amount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Discount Amount',
  `tax_amount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Tax Amount',
  `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_total_with_discount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Total With Discount',
  `base_discount_amount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Discount Amount',
  `base_tax_amount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Tax Amount',
  `row_weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Weight',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product Id',
  `super_product_id` int(10) unsigned DEFAULT NULL COMMENT 'Super Product Id',
  `parent_product_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent Product Id',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  `image` varchar(255) DEFAULT NULL COMMENT 'Image',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `description` text COMMENT 'Description',
  `is_qty_decimal` int(10) unsigned DEFAULT NULL COMMENT 'Is Qty Decimal',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `discount_percent` decimal(12,4) DEFAULT NULL COMMENT 'Discount Percent',
  `no_discount` int(10) unsigned DEFAULT NULL COMMENT 'No Discount',
  `tax_percent` decimal(12,4) DEFAULT NULL COMMENT 'Tax Percent',
  `base_price` decimal(12,4) DEFAULT NULL COMMENT 'Base Price',
  `base_cost` decimal(12,4) DEFAULT NULL COMMENT 'Base Cost',
  `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',
  `free_shipping` int(10) unsigned DEFAULT NULL COMMENT 'Free Shipping',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message Id',
  PRIMARY KEY (`address_item_id`),
  KEY `MAG2_QUOTE_ADDRESS_ITEM_QUOTE_ADDRESS_ID` (`quote_address_id`),
  KEY `MAG2_QUOTE_ADDRESS_ITEM_PARENT_ITEM_ID` (`parent_item_id`),
  KEY `MAG2_QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID` (`quote_item_id`),
  CONSTRAINT `MAG2_QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`quote_item_id`) REFERENCES `mag2_quote_item` (`item_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_QUOTE_ADDR_ITEM_PARENT_ITEM_ID_QUOTE_ADDR_ITEM_ADDR_ITEM_ID` FOREIGN KEY (`parent_item_id`) REFERENCES `mag2_quote_address_item` (`address_item_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_QUOTE_ADDR_ITEM_QUOTE_ADDR_ID_QUOTE_ADDR_ADDR_ID` FOREIGN KEY (`quote_address_id`) REFERENCES `mag2_quote_address` (`address_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Address Item';

--
-- Dumping data for table `mag2_quote_address_item`
--


--
-- Table structure for table `mag2_quote_id_mask`
--

CREATE TABLE `mag2_quote_id_mask` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `quote_id` int(10) unsigned NOT NULL COMMENT 'Quote ID',
  `masked_id` varchar(32) DEFAULT NULL COMMENT 'Masked ID',
  PRIMARY KEY (`entity_id`,`quote_id`),
  KEY `MAG2_QUOTE_ID_MASK_QUOTE_ID` (`quote_id`),
  KEY `MAG2_QUOTE_ID_MASK_MASKED_ID` (`masked_id`),
  CONSTRAINT `MAG2_QUOTE_ID_MASK_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `mag2_quote` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Quote ID and masked ID mapping';

--
-- Dumping data for table `mag2_quote_id_mask`
--

INSERT INTO `mag2_quote_id_mask` VALUES (1,3,'0f727f1c6fa3759bc47ac275eb483c99'),(3,5,'11c84f5863cea481953b310d91c6161e'),(2,4,'8ef98e2a1e5ae0917db8d24f2648aede');

--
-- Table structure for table `mag2_quote_item`
--

CREATE TABLE `mag2_quote_item` (
  `item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Item Id',
  `quote_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quote Id',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product Id',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
  `parent_item_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent Item Id',
  `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 DEFAULT '0' COMMENT 'No Discount',
  `weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Weight',
  `qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `base_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Price',
  `custom_price` decimal(12,4) DEFAULT NULL COMMENT 'Custom Price',
  `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',
  `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',
  `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_total_with_discount` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Total With Discount',
  `row_weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Weight',
  `product_type` varchar(255) DEFAULT NULL COMMENT 'Product Type',
  `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',
  `original_custom_price` decimal(12,4) DEFAULT NULL COMMENT 'Original Custom Price',
  `redirect_url` varchar(255) DEFAULT NULL COMMENT 'Redirect Url',
  `base_cost` decimal(12,4) DEFAULT NULL COMMENT 'Base Cost',
  `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',
  `is_excluded_product` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Flags whether or not product is excluded from Amazon Payments',
  `free_shipping` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Free Shipping',
  `weee_tax_applied` text COMMENT 'Weee Tax Applied',
  `weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Amount',
  `weee_tax_applied_row_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Row Amount',
  `weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Disposition',
  `weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Row Disposition',
  `base_weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Amount',
  `base_weee_tax_applied_row_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Row Amnt',
  `base_weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Disposition',
  `base_weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Row Disposition',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message Id',
  PRIMARY KEY (`item_id`),
  KEY `MAG2_QUOTE_ITEM_PARENT_ITEM_ID` (`parent_item_id`),
  KEY `MAG2_QUOTE_ITEM_PRODUCT_ID` (`product_id`),
  KEY `MAG2_QUOTE_ITEM_QUOTE_ID` (`quote_id`),
  KEY `MAG2_QUOTE_ITEM_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_QUOTE_ITEM_PARENT_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`parent_item_id`) REFERENCES `mag2_quote_item` (`item_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_QUOTE_ITEM_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `mag2_quote` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_QUOTE_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Item';

--
-- Dumping data for table `mag2_quote_item`
--

INSERT INTO `mag2_quote_item` VALUES (5,3,'2021-11-15 20:10:06','0000-00-00 00:00:00',1,1,NULL,0,'10004-1','Moisture Lock Conditioner 250 ML',NULL,NULL,NULL,0,0,NULL,1.0000,8.0000,8.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,8.0000,8.0000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,8.0000,8.0000,8.0000,8.0000,0.0000,0.0000,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,4,'2021-11-16 22:16:13','0000-00-00 00:00:00',9,1,NULL,0,'50003','Pure Keratin Reconstructing Shampoo 1000 ML',NULL,NULL,NULL,0,0,NULL,1.0000,26.5000,26.5000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,26.5000,26.5000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,26.5000,26.5000,26.5000,26.5000,0.0000,0.0000,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,5,'2021-11-17 10:46:57','0000-00-00 00:00:00',9,2,NULL,0,'50003','شامبو بيور كيراتين لإعادة بناء الشعر 1000 مل',NULL,NULL,NULL,0,0,NULL,1.0000,26.5000,26.5000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,26.5000,26.5000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,26.5000,26.5000,26.5000,26.5000,0.0000,0.0000,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `mag2_quote_item_option`
--

CREATE TABLE `mag2_quote_item_option` (
  `option_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option Id',
  `item_id` int(10) unsigned NOT NULL COMMENT '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 `MAG2_QUOTE_ITEM_OPTION_ITEM_ID` (`item_id`),
  CONSTRAINT `MAG2_QUOTE_ITEM_OPTION_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`item_id`) REFERENCES `mag2_quote_item` (`item_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Item Option';

--
-- Dumping data for table `mag2_quote_item_option`
--

INSERT INTO `mag2_quote_item_option` VALUES (13,5,1,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9rbGFpcmJvdXRpcXVlLmRvdC16ZXJvbmUuY29tL2NvbmRpdGlvbmVyLmh0bWw,\",\"product\":\"1\",\"qty\":1}'),(14,6,9,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9rbGFpcmJvdXRpcXVlLmRvdC16ZXJvbmUuY29tL3NoYW1wb28uaHRtbA,,\",\"product\":\"9\",\"qty\":1}'),(15,7,9,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9rbGFpcmJvdXRpcXVlLmRvdC16ZXJvbmUuY29tL3NoYW1wb28uaHRtbA,,\",\"product\":\"9\",\"qty\":1}');

--
-- Table structure for table `mag2_quote_shipping_rate`
--

CREATE TABLE `mag2_quote_shipping_rate` (
  `rate_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rate Id',
  `address_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Address Id',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `carrier` varchar(255) DEFAULT NULL COMMENT 'Carrier',
  `carrier_title` varchar(255) DEFAULT NULL COMMENT 'Carrier Title',
  `code` varchar(255) DEFAULT NULL COMMENT 'Code',
  `method` varchar(255) DEFAULT NULL COMMENT 'Method',
  `method_description` text COMMENT 'Method Description',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `error_message` text COMMENT 'Error Message',
  `method_title` text COMMENT 'Method Title',
  PRIMARY KEY (`rate_id`),
  KEY `MAG2_QUOTE_SHIPPING_RATE_ADDRESS_ID` (`address_id`),
  CONSTRAINT `MAG2_QUOTE_SHIPPING_RATE_ADDRESS_ID_QUOTE_ADDRESS_ADDRESS_ID` FOREIGN KEY (`address_id`) REFERENCES `mag2_quote_address` (`address_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Shipping Rate';

--
-- Dumping data for table `mag2_quote_shipping_rate`
--

INSERT INTO `mag2_quote_shipping_rate` VALUES (1,2,'2021-11-10 08:17:26','0000-00-00 00:00:00','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,5.0000,NULL,'Fixed'),(2,2,'2021-11-10 08:17:26','0000-00-00 00:00:00','tablerate','Best Way','tablerate_bestway','bestway',NULL,15.0000,NULL,'Table Rate'),(3,4,'2021-11-10 08:17:27','0000-00-00 00:00:00','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,5.0000,NULL,'Fixed'),(4,4,'2021-11-10 08:17:27','0000-00-00 00:00:00','tablerate','Best Way','tablerate_bestway','bestway',NULL,15.0000,NULL,'Table Rate');

--
-- Table structure for table `mag2_rating`
--

CREATE TABLE `mag2_rating` (
  `rating_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rating Id',
  `entity_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Id',
  `rating_code` varchar(64) NOT NULL COMMENT 'Rating Code',
  `position` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Position On Storefront',
  `is_active` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Rating is active.',
  PRIMARY KEY (`rating_id`),
  UNIQUE KEY `MAG2_RATING_RATING_CODE` (`rating_code`),
  KEY `MAG2_RATING_ENTITY_ID` (`entity_id`),
  CONSTRAINT `MAG2_RATING_ENTITY_ID_RATING_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `mag2_rating_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Ratings';

--
-- Dumping data for table `mag2_rating`
--

INSERT INTO `mag2_rating` VALUES (1,1,'Quality',0,1),(2,1,'Value',0,1),(3,1,'Price',0,1),(4,1,'Rating',0,1);

--
-- Table structure for table `mag2_rating_entity`
--

CREATE TABLE `mag2_rating_entity` (
  `entity_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `entity_code` varchar(64) NOT NULL COMMENT 'Entity Code',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `MAG2_RATING_ENTITY_ENTITY_CODE` (`entity_code`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Rating entities';

--
-- Dumping data for table `mag2_rating_entity`
--

INSERT INTO `mag2_rating_entity` VALUES (1,'product'),(2,'product_review'),(3,'review');

--
-- Table structure for table `mag2_rating_option`
--

CREATE TABLE `mag2_rating_option` (
  `option_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rating Option Id',
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Id',
  `code` varchar(32) NOT NULL COMMENT 'Rating Option Code',
  `value` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Option Value',
  `position` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Ration option position on Storefront',
  PRIMARY KEY (`option_id`),
  KEY `MAG2_RATING_OPTION_RATING_ID` (`rating_id`),
  CONSTRAINT `MAG2_RATING_OPTION_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `mag2_rating` (`rating_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 COMMENT='Rating options';

--
-- Dumping data for table `mag2_rating_option`
--

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

--
-- Table structure for table `mag2_rating_option_vote`
--

CREATE TABLE `mag2_rating_option_vote` (
  `vote_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Vote id',
  `option_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Vote option id',
  `remote_ip` varchar(16) NOT NULL COMMENT 'Customer IP',
  `remote_ip_long` bigint(20) NOT NULL DEFAULT '0' COMMENT 'Customer IP converted to long integer format',
  `customer_id` int(10) unsigned DEFAULT '0' COMMENT 'Customer Id',
  `entity_pk_value` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Product id',
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating id',
  `review_id` bigint(20) unsigned DEFAULT NULL COMMENT 'Review id',
  `percent` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Percent amount',
  `value` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Vote option value',
  PRIMARY KEY (`vote_id`),
  KEY `MAG2_RATING_OPTION_VOTE_OPTION_ID` (`option_id`),
  KEY `MAG2_RATING_OPTION_VOTE_REVIEW_ID_REVIEW_REVIEW_ID` (`review_id`),
  CONSTRAINT `MAG2_RATING_OPTION_VOTE_OPTION_ID_RATING_OPTION_OPTION_ID` FOREIGN KEY (`option_id`) REFERENCES `mag2_rating_option` (`option_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_RATING_OPTION_VOTE_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `mag2_review` (`review_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating option values';

--
-- Dumping data for table `mag2_rating_option_vote`
--


--
-- Table structure for table `mag2_rating_option_vote_aggregated`
--

CREATE TABLE `mag2_rating_option_vote_aggregated` (
  `primary_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Vote aggregation id',
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating id',
  `entity_pk_value` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Product id',
  `vote_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Vote dty',
  `vote_value_sum` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'General vote sum',
  `percent` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Vote percent',
  `percent_approved` smallint(6) DEFAULT '0' COMMENT 'Vote percent approved by admin',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
  PRIMARY KEY (`primary_id`),
  KEY `MAG2_RATING_OPTION_VOTE_AGGREGATED_RATING_ID` (`rating_id`),
  KEY `MAG2_RATING_OPTION_VOTE_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_RATING_OPTION_VOTE_AGGREGATED_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `mag2_rating` (`rating_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_RATING_OPTION_VOTE_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating vote aggregated';

--
-- Dumping data for table `mag2_rating_option_vote_aggregated`
--


--
-- Table structure for table `mag2_rating_store`
--

CREATE TABLE `mag2_rating_store` (
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating id',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store id',
  PRIMARY KEY (`rating_id`,`store_id`),
  KEY `MAG2_RATING_STORE_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_RATING_STORE_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `mag2_rating` (`rating_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_RATING_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating Store';

--
-- Dumping data for table `mag2_rating_store`
--

INSERT INTO `mag2_rating_store` VALUES (4,0),(4,1);

--
-- Table structure for table `mag2_rating_title`
--

CREATE TABLE `mag2_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 `MAG2_RATING_TITLE_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_RATING_TITLE_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `mag2_rating` (`rating_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_RATING_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating Title';

--
-- Dumping data for table `mag2_rating_title`
--


--
-- Table structure for table `mag2_release_notification_viewer_log`
--

CREATE TABLE `mag2_release_notification_viewer_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Log ID',
  `viewer_id` int(10) unsigned NOT NULL COMMENT 'Viewer admin user ID',
  `last_view_version` varchar(16) NOT NULL COMMENT 'Viewer last view on product version',
  PRIMARY KEY (`id`),
  UNIQUE KEY `MAG2_RELEASE_NOTIFICATION_VIEWER_LOG_VIEWER_ID` (`viewer_id`),
  CONSTRAINT `MAG2_RELEASE_NTFC_VIEWER_LOG_VIEWER_ID_ADM_USR_USR_ID` FOREIGN KEY (`viewer_id`) REFERENCES `mag2_admin_user` (`user_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Release Notification Viewer Log Table';

--
-- Dumping data for table `mag2_release_notification_viewer_log`
--


--
-- Table structure for table `mag2_report_compared_product_index`
--

CREATE TABLE `mag2_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 `MAG2_REPORT_COMPARED_PRODUCT_INDEX_VISITOR_ID_PRODUCT_ID` (`visitor_id`,`product_id`),
  UNIQUE KEY `MAG2_REPORT_COMPARED_PRODUCT_INDEX_CUSTOMER_ID_PRODUCT_ID` (`customer_id`,`product_id`),
  KEY `MAG2_REPORT_COMPARED_PRODUCT_INDEX_STORE_ID` (`store_id`),
  KEY `MAG2_REPORT_COMPARED_PRODUCT_INDEX_ADDED_AT` (`added_at`),
  KEY `MAG2_REPORT_COMPARED_PRODUCT_INDEX_PRODUCT_ID` (`product_id`),
  CONSTRAINT `MAG2_REPORT_CMPD_PRD_IDX_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_CMPD_PRD_IDX_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_COMPARED_PRODUCT_INDEX_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reports Compared Product Index Table';

--
-- Dumping data for table `mag2_report_compared_product_index`
--


--
-- Table structure for table `mag2_report_event`
--

CREATE TABLE `mag2_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 `MAG2_REPORT_EVENT_EVENT_TYPE_ID` (`event_type_id`),
  KEY `MAG2_REPORT_EVENT_SUBJECT_ID` (`subject_id`),
  KEY `MAG2_REPORT_EVENT_OBJECT_ID` (`object_id`),
  KEY `MAG2_REPORT_EVENT_SUBTYPE` (`subtype`),
  KEY `MAG2_REPORT_EVENT_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_REPORT_EVENT_EVENT_TYPE_ID_REPORT_EVENT_TYPES_EVENT_TYPE_ID` FOREIGN KEY (`event_type_id`) REFERENCES `mag2_report_event_types` (`event_type_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_EVENT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Reports Event Table';

--
-- Dumping data for table `mag2_report_event`
--

INSERT INTO `mag2_report_event` VALUES (1,'2021-11-15 20:10:06',4,1,38,1,1),(2,'2021-11-16 22:16:13',4,9,41,1,1),(3,'2021-11-17 10:46:57',4,9,45,1,2);

--
-- Table structure for table `mag2_report_event_types`
--

CREATE TABLE `mag2_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 `mag2_report_event_types`
--

INSERT INTO `mag2_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 `mag2_report_viewed_product_aggregated_daily`
--

CREATE TABLE `mag2_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 `MAG2_REPORT_VIEWED_PRD_AGGRED_DAILY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_STORE_ID` (`store_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `MAG2_REPORT_VIEWED_PRD_AGGRED_DAILY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_VIEWED_PRD_AGGRED_DAILY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Daily';

--
-- Dumping data for table `mag2_report_viewed_product_aggregated_daily`
--


--
-- Table structure for table `mag2_report_viewed_product_aggregated_monthly`
--

CREATE TABLE `mag2_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 `MAG2_REPORT_VIEWED_PRD_AGGRED_MONTHLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_STORE_ID` (`store_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `FK_3DA9A437D1DF2FD00661472AA7505194` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_VIEWED_PRD_AGGRED_MONTHLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Monthly';

--
-- Dumping data for table `mag2_report_viewed_product_aggregated_monthly`
--


--
-- Table structure for table `mag2_report_viewed_product_aggregated_yearly`
--

CREATE TABLE `mag2_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 `MAG2_REPORT_VIEWED_PRD_AGGRED_YEARLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_STORE_ID` (`store_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `MAG2_REPORT_VIEWED_PRD_AGGRED_YEARLY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_VIEWED_PRD_AGGRED_YEARLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Yearly';

--
-- Dumping data for table `mag2_report_viewed_product_aggregated_yearly`
--


--
-- Table structure for table `mag2_report_viewed_product_index`
--

CREATE TABLE `mag2_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 `MAG2_REPORT_VIEWED_PRODUCT_INDEX_VISITOR_ID_PRODUCT_ID` (`visitor_id`,`product_id`),
  UNIQUE KEY `MAG2_REPORT_VIEWED_PRODUCT_INDEX_CUSTOMER_ID_PRODUCT_ID` (`customer_id`,`product_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_INDEX_STORE_ID` (`store_id`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_INDEX_ADDED_AT` (`added_at`),
  KEY `MAG2_REPORT_VIEWED_PRODUCT_INDEX_PRODUCT_ID` (`product_id`),
  CONSTRAINT `MAG2_REPORT_VIEWED_PRD_IDX_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_VIEWED_PRD_IDX_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REPORT_VIEWED_PRODUCT_INDEX_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reports Viewed Product Index Table';

--
-- Dumping data for table `mag2_report_viewed_product_index`
--


--
-- Table structure for table `mag2_reporting_counts`
--

CREATE TABLE `mag2_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';

--
-- Dumping data for table `mag2_reporting_counts`
--


--
-- Table structure for table `mag2_reporting_module_status`
--

CREATE TABLE `mag2_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';

--
-- Dumping data for table `mag2_reporting_module_status`
--


--
-- Table structure for table `mag2_reporting_orders`
--

CREATE TABLE `mag2_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';

--
-- Dumping data for table `mag2_reporting_orders`
--


--
-- Table structure for table `mag2_reporting_system_updates`
--

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

--
-- Dumping data for table `mag2_reporting_system_updates`
--


--
-- Table structure for table `mag2_reporting_users`
--

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

--
-- Dumping data for table `mag2_reporting_users`
--


--
-- Table structure for table `mag2_review`
--

CREATE TABLE `mag2_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 `MAG2_REVIEW_ENTITY_ID` (`entity_id`),
  KEY `MAG2_REVIEW_STATUS_ID` (`status_id`),
  KEY `MAG2_REVIEW_ENTITY_PK_VALUE` (`entity_pk_value`),
  CONSTRAINT `MAG2_REVIEW_ENTITY_ID_REVIEW_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `mag2_review_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REVIEW_STATUS_ID_REVIEW_STATUS_STATUS_ID` FOREIGN KEY (`status_id`) REFERENCES `mag2_review_status` (`status_id`) ON DELETE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Review base information';

--
-- Dumping data for table `mag2_review`
--


--
-- Table structure for table `mag2_review_detail`
--

CREATE TABLE `mag2_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 `MAG2_REVIEW_DETAIL_REVIEW_ID` (`review_id`),
  KEY `MAG2_REVIEW_DETAIL_STORE_ID` (`store_id`),
  KEY `MAG2_REVIEW_DETAIL_CUSTOMER_ID` (`customer_id`),
  CONSTRAINT `MAG2_REVIEW_DETAIL_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE SET NULL,
  CONSTRAINT `MAG2_REVIEW_DETAIL_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `mag2_review` (`review_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REVIEW_DETAIL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Review detail information';

--
-- Dumping data for table `mag2_review_detail`
--


--
-- Table structure for table `mag2_review_entity`
--

CREATE TABLE `mag2_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 `mag2_review_entity`
--

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

--
-- Table structure for table `mag2_review_entity_summary`
--

CREATE TABLE `mag2_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 `MAG2_REVIEW_ENTITY_SUMMARY_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_REVIEW_ENTITY_SUMMARY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Review aggregates';

--
-- Dumping data for table `mag2_review_entity_summary`
--


--
-- Table structure for table `mag2_review_status`
--

CREATE TABLE `mag2_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 `mag2_review_status`
--

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

--
-- Table structure for table `mag2_review_store`
--

CREATE TABLE `mag2_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 `MAG2_REVIEW_STORE_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_REVIEW_STORE_REVIEW_ID_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `mag2_review` (`review_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REVIEW_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Review Store';

--
-- Dumping data for table `mag2_review_store`
--


--
-- Table structure for table `mag2_sales_bestsellers_aggregated_daily`
--

CREATE TABLE `mag2_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 `MAG2_SALES_BESTSELLERS_AGGRED_DAILY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `MAG2_SALES_BESTSELLERS_AGGREGATED_DAILY_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_BESTSELLERS_AGGREGATED_DAILY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `MAG2_SALES_BESTSELLERS_AGGREGATED_DAILY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Daily';

--
-- Dumping data for table `mag2_sales_bestsellers_aggregated_daily`
--


--
-- Table structure for table `mag2_sales_bestsellers_aggregated_monthly`
--

CREATE TABLE `mag2_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 `MAG2_SALES_BESTSELLERS_AGGRED_MONTHLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `MAG2_SALES_BESTSELLERS_AGGREGATED_MONTHLY_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_BESTSELLERS_AGGREGATED_MONTHLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `MAG2_SALES_BESTSELLERS_AGGRED_MONTHLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Monthly';

--
-- Dumping data for table `mag2_sales_bestsellers_aggregated_monthly`
--


--
-- Table structure for table `mag2_sales_bestsellers_aggregated_yearly`
--

CREATE TABLE `mag2_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 `MAG2_SALES_BESTSELLERS_AGGRED_YEARLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `MAG2_SALES_BESTSELLERS_AGGREGATED_YEARLY_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_BESTSELLERS_AGGREGATED_YEARLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `MAG2_SALES_BESTSELLERS_AGGREGATED_YEARLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Yearly';

--
-- Dumping data for table `mag2_sales_bestsellers_aggregated_yearly`
--


--
-- Table structure for table `mag2_sales_creditmemo`
--

CREATE TABLE `mag2_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 `MAG2_SALES_CREDITMEMO_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `MAG2_SALES_CREDITMEMO_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_CREDITMEMO_ORDER_ID` (`order_id`),
  KEY `MAG2_SALES_CREDITMEMO_CREDITMEMO_STATUS` (`creditmemo_status`),
  KEY `MAG2_SALES_CREDITMEMO_STATE` (`state`),
  KEY `MAG2_SALES_CREDITMEMO_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_CREDITMEMO_UPDATED_AT` (`updated_at`),
  KEY `MAG2_SALES_CREDITMEMO_SEND_EMAIL` (`send_email`),
  KEY `MAG2_SALES_CREDITMEMO_EMAIL_SENT` (`email_sent`),
  CONSTRAINT `MAG2_SALES_CREDITMEMO_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_CREDITMEMO_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo';

--
-- Dumping data for table `mag2_sales_creditmemo`
--

INSERT INTO `mag2_sales_creditmemo` VALUES (1,1,NULL,0.0000,0.0000,0.0000,1.0000,39.6400,NULL,34.6400,5.0000,34.6400,NULL,5.0000,0.0000,1.0000,0.0000,32.0000,0.0000,32.0000,0.0000,39.6400,NULL,2.6400,0.0000,2.6400,2,NULL,NULL,NULL,2,3,4,NULL,'KWD','KWD','KWD','KWD',NULL,'000000001','2021-11-10 08:17:28','2021-11-10 08:17:28',0.0000,0.0000,NULL,NULL,5.0000,5.0000,NULL,NULL,NULL);

--
-- Table structure for table `mag2_sales_creditmemo_comment`
--

CREATE TABLE `mag2_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 `MAG2_SALES_CREDITMEMO_COMMENT_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_CREDITMEMO_COMMENT_PARENT_ID` (`parent_id`),
  CONSTRAINT `MAG2_SALES_CREDITMEMO_COMMENT_PARENT_ID_SALES_CREDITMEMO_ENTT_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_creditmemo` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo Comment';

--
-- Dumping data for table `mag2_sales_creditmemo_comment`
--


--
-- Table structure for table `mag2_sales_creditmemo_grid`
--

CREATE TABLE `mag2_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 `MAG2_SALES_CREDITMEMO_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_ORDER_INCREMENT_ID` (`order_increment_id`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_UPDATED_AT` (`updated_at`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_ORDER_CREATED_AT` (`order_created_at`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_STATE` (`state`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_BILLING_NAME` (`billing_name`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_ORDER_STATUS` (`order_status`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_BASE_GRAND_TOTAL` (`base_grand_total`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_ORDER_BASE_GRAND_TOTAL` (`order_base_grand_total`),
  KEY `MAG2_SALES_CREDITMEMO_GRID_ORDER_ID` (`order_id`),
  FULLTEXT KEY `FTI_891BE15E5CF909584291B49912B46CE9` (`increment_id`,`order_increment_id`,`billing_name`,`billing_address`,`shipping_address`,`customer_name`,`customer_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo Grid';

--
-- Dumping data for table `mag2_sales_creditmemo_grid`
--

INSERT INTO `mag2_sales_creditmemo_grid` VALUES (1,'000000001','2021-11-10 08:17:28','2021-11-10 08:17:28',2,'000000002','2021-11-10 08:17:27','Veronica Costello',2,39.6400,'closed',1,'6146 Honey Bluff Parkway Calder Michigan 49628-7978','6146 Honey Bluff Parkway Calder Michigan 49628-7978','Veronica Costello','roni_cost@example.com',1,'checkmo','Flat Rate - Fixed',32.0000,5.0000,NULL,NULL,39.6400);

--
-- Table structure for table `mag2_sales_creditmemo_item`
--

CREATE TABLE `mag2_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 `MAG2_SALES_CREDITMEMO_ITEM_PARENT_ID` (`parent_id`),
  CONSTRAINT `MAG2_SALES_CREDITMEMO_ITEM_PARENT_ID_SALES_CREDITMEMO_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_creditmemo` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo Item';

--
-- Dumping data for table `mag2_sales_creditmemo_item`
--

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

--
-- Table structure for table `mag2_sales_invoice`
--

CREATE TABLE `mag2_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 `MAG2_SALES_INVOICE_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `MAG2_SALES_INVOICE_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_INVOICE_GRAND_TOTAL` (`grand_total`),
  KEY `MAG2_SALES_INVOICE_ORDER_ID` (`order_id`),
  KEY `MAG2_SALES_INVOICE_STATE` (`state`),
  KEY `MAG2_SALES_INVOICE_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_INVOICE_UPDATED_AT` (`updated_at`),
  KEY `MAG2_SALES_INVOICE_SEND_EMAIL` (`send_email`),
  KEY `MAG2_SALES_INVOICE_EMAIL_SENT` (`email_sent`),
  CONSTRAINT `MAG2_SALES_INVOICE_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_INVOICE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice';

--
-- Dumping data for table `mag2_sales_invoice`
--

INSERT INTO `mag2_sales_invoice` VALUES (1,1,36.3900,0.0000,2.3900,2.3900,0.0000,0.0000,0.0000,1.0000,36.3900,5.0000,31.3900,31.3900,0.0000,5.0000,1.0000,1.0000,29.0000,29.0000,0.0000,2,NULL,1,NULL,NULL,0,2,1,'KWD',NULL,'KWD','KWD','KWD','000000001','2021-11-10 08:17:26','2021-11-10 08:17:26',0.0000,0.0000,0.0000,NULL,5.0000,5.0000,NULL,NULL,NULL,NULL),(2,1,39.6400,0.0000,2.6400,2.6400,0.0000,0.0000,0.0000,1.0000,39.6400,5.0000,34.6400,34.6400,0.0000,5.0000,1.0000,1.0000,32.0000,32.0000,0.0000,4,NULL,2,NULL,NULL,0,2,3,'KWD',NULL,'KWD','KWD','KWD','000000002','2021-11-10 08:17:27','2021-11-10 08:17:27',0.0000,0.0000,0.0000,NULL,5.0000,5.0000,NULL,NULL,NULL,NULL);

--
-- Table structure for table `mag2_sales_invoice_comment`
--

CREATE TABLE `mag2_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 `MAG2_SALES_INVOICE_COMMENT_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_INVOICE_COMMENT_PARENT_ID` (`parent_id`),
  CONSTRAINT `MAG2_SALES_INVOICE_COMMENT_PARENT_ID_SALES_INVOICE_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_invoice` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice Comment';

--
-- Dumping data for table `mag2_sales_invoice_comment`
--


--
-- Table structure for table `mag2_sales_invoice_grid`
--

CREATE TABLE `mag2_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 `MAG2_SALES_INVOICE_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `MAG2_SALES_INVOICE_GRID_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_INVOICE_GRID_GRAND_TOTAL` (`grand_total`),
  KEY `MAG2_SALES_INVOICE_GRID_ORDER_ID` (`order_id`),
  KEY `MAG2_SALES_INVOICE_GRID_STATE` (`state`),
  KEY `MAG2_SALES_INVOICE_GRID_ORDER_INCREMENT_ID` (`order_increment_id`),
  KEY `MAG2_SALES_INVOICE_GRID_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_INVOICE_GRID_UPDATED_AT` (`updated_at`),
  KEY `MAG2_SALES_INVOICE_GRID_ORDER_CREATED_AT` (`order_created_at`),
  KEY `MAG2_SALES_INVOICE_GRID_BILLING_NAME` (`billing_name`),
  KEY `MAG2_SALES_INVOICE_GRID_BASE_GRAND_TOTAL` (`base_grand_total`),
  FULLTEXT KEY `FTI_2ECF335F230B46FD5CDBBA2C697F6742` (`increment_id`,`order_increment_id`,`billing_name`,`billing_address`,`shipping_address`,`customer_name`,`customer_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice Grid';

--
-- Dumping data for table `mag2_sales_invoice_grid`
--

INSERT INTO `mag2_sales_invoice_grid` VALUES (1,'000000001',2,1,'Main Website\nMain Website Store\n',1,'000000001','2021-11-10 08:17:26','Veronica Costello','roni_cost@example.com',1,'checkmo','KWD','KWD','KWD','KWD','Veronica Costello','6146 Honey Bluff Parkway Calder Michigan 49628-7978','6146 Honey Bluff Parkway Calder Michigan 49628-7978','Flat Rate - Fixed',29.0000,5.0000,36.3900,36.3900,'2021-11-10 08:17:26','2021-11-10 08:17:26'),(2,'000000002',2,1,'Main Website\nMain Website Store\n',2,'000000002','2021-11-10 08:17:27','Veronica Costello','roni_cost@example.com',1,'checkmo','KWD','KWD','KWD','KWD','Veronica Costello','6146 Honey Bluff Parkway Calder Michigan 49628-7978','6146 Honey Bluff Parkway Calder Michigan 49628-7978','Flat Rate - Fixed',32.0000,5.0000,39.6400,39.6400,'2021-11-10 08:17:27','2021-11-10 08:17:27');

--
-- Table structure for table `mag2_sales_invoice_item`
--

CREATE TABLE `mag2_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 `MAG2_SALES_INVOICE_ITEM_PARENT_ID` (`parent_id`),
  CONSTRAINT `MAG2_SALES_INVOICE_ITEM_PARENT_ID_SALES_INVOICE_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_invoice` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice Item';

--
-- Dumping data for table `mag2_sales_invoice_item`
--

INSERT INTO `mag2_sales_invoice_item` VALUES (1,1,29.0000,2.3900,29.0000,NULL,29.0000,NULL,31.3900,2.3900,31.3900,1.0000,NULL,29.0000,31.3900,31.3900,1433,1,NULL,NULL,'WS03-XS-Red','Iris Workout Top',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(2,2,32.0000,2.6400,32.0000,NULL,32.0000,NULL,34.6400,2.6400,34.6400,1.0000,NULL,32.0000,34.6400,34.6400,1497,2,NULL,NULL,'WS08-XS-Blue','Minerva LumaTech&trade; V-Tee',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000);

--
-- Table structure for table `mag2_sales_invoiced_aggregated`
--

CREATE TABLE `mag2_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 `MAG2_SALES_INVOICED_AGGREGATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `MAG2_SALES_INVOICED_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_INVOICED_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Invoiced Aggregated';

--
-- Dumping data for table `mag2_sales_invoiced_aggregated`
--


--
-- Table structure for table `mag2_sales_invoiced_aggregated_order`
--

CREATE TABLE `mag2_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 `MAG2_SALES_INVOICED_AGGRED_ORDER_PERIOD_STORE_ID_ORDER_STS` (`period`,`store_id`,`order_status`),
  KEY `MAG2_SALES_INVOICED_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_INVOICED_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Invoiced Aggregated Order';

--
-- Dumping data for table `mag2_sales_invoiced_aggregated_order`
--


--
-- Table structure for table `mag2_sales_order_address`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_ADDRESS_PARENT_ID` (`parent_id`),
  CONSTRAINT `MAG2_SALES_ORDER_ADDRESS_PARENT_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Address';

--
-- Dumping data for table `mag2_sales_order_address`
--

INSERT INTO `mag2_sales_order_address` VALUES (1,1,1,2,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,1,1,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,2,1,4,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,2,1,3,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `mag2_sales_order_aggregated_created`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_AGGREGATED_CREATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `MAG2_SALES_ORDER_AGGREGATED_CREATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_ORDER_AGGREGATED_CREATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Aggregated Created';

--
-- Dumping data for table `mag2_sales_order_aggregated_created`
--


--
-- Table structure for table `mag2_sales_order_aggregated_updated`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_AGGREGATED_UPDATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `MAG2_SALES_ORDER_AGGREGATED_UPDATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_ORDER_AGGREGATED_UPDATED_STORE_ID_MAG2_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mag2 Sales Order Aggregated Updated';

--
-- Dumping data for table `mag2_sales_order_aggregated_updated`
--


--
-- Table structure for table `mag2_sales_order_grid`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `MAG2_SALES_ORDER_GRID_STATUS` (`status`),
  KEY `MAG2_SALES_ORDER_GRID_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_ORDER_GRID_BASE_GRAND_TOTAL` (`base_grand_total`),
  KEY `MAG2_SALES_ORDER_GRID_BASE_TOTAL_PAID` (`base_total_paid`),
  KEY `MAG2_SALES_ORDER_GRID_GRAND_TOTAL` (`grand_total`),
  KEY `MAG2_SALES_ORDER_GRID_TOTAL_PAID` (`total_paid`),
  KEY `MAG2_SALES_ORDER_GRID_SHIPPING_NAME` (`shipping_name`),
  KEY `MAG2_SALES_ORDER_GRID_BILLING_NAME` (`billing_name`),
  KEY `MAG2_SALES_ORDER_GRID_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_ORDER_GRID_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_SALES_ORDER_GRID_UPDATED_AT` (`updated_at`),
  FULLTEXT KEY `FTI_C4DEB1F02B28B759BDC1F08D9677CB9D` (`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 `mag2_sales_order_grid`
--

INSERT INTO `mag2_sales_order_grid` VALUES (1,'processing',1,'Main Website\nMain Website Store\n',1,36.3900,36.3900,36.3900,36.3900,'000000001','KWD','KWD','Veronica Costello','Veronica Costello','2021-11-10 08:17:26','2021-11-10 08:17:27','6146 Honey Bluff Parkway Calder Michigan 49628-7978','6146 Honey Bluff Parkway Calder Michigan 49628-7978','Flat Rate - Fixed','roni_cost@example.com','1',29.0000,5.0000,'Veronica Costello','checkmo',NULL,NULL),(2,'closed',1,'Main Website\nMain Website Store\n',1,39.6400,39.6400,39.6400,39.6400,'000000002','KWD','KWD','Veronica Costello','Veronica Costello','2021-11-10 08:17:27','2021-11-10 08:17:28','6146 Honey Bluff Parkway Calder Michigan 49628-7978','6146 Honey Bluff Parkway Calder Michigan 49628-7978','Flat Rate - Fixed','roni_cost@example.com','1',32.0000,5.0000,'Veronica Costello','checkmo',39.6400,NULL);

--
-- Table structure for table `mag2_sales_order_item`
--

CREATE TABLE `mag2_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',
  `weee_tax_applied` text COMMENT 'Weee Tax Applied',
  `weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Amount',
  `weee_tax_applied_row_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Row Amount',
  `weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Disposition',
  `weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Row Disposition',
  `base_weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Amount',
  `base_weee_tax_applied_row_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Row Amnt',
  `base_weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Disposition',
  `base_weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Row Disposition',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message Id',
  `gift_message_available` int(11) DEFAULT NULL COMMENT 'Gift Message Available',
  PRIMARY KEY (`item_id`),
  KEY `MAG2_SALES_ORDER_ITEM_ORDER_ID` (`order_id`),
  KEY `MAG2_SALES_ORDER_ITEM_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_ORDER_ITEM_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_ORDER_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Item';

--
-- Dumping data for table `mag2_sales_order_item`
--

INSERT INTO `mag2_sales_order_item` VALUES (1,1,NULL,NULL,1,'2021-11-10 08:17:26','2021-11-10 08:17:27',1433,'configurable','{\"info_buyRequest\":{\"qty\":1,\"super_attribute\":{\"141\":\"167\",\"93\":\"58\"},\"options\":[]},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"XS\",\"option_id\":141,\"option_value\":\"167\"},{\"label\":\"Color\",\"value\":\"Red\",\"option_id\":93,\"option_value\":\"58\"}],\"simple_name\":\"Iris Workout Top-XS-Red\",\"simple_sku\":\"WS03-XS-Red\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,NULL,'WS03-XS-Red','Iris Workout Top',NULL,'1',NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,29.0000,29.0000,29.0000,29.0000,8.2500,2.3900,2.3900,2.3900,2.3900,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,29.0000,29.0000,29.0000,29.0000,1.0000,NULL,NULL,NULL,NULL,NULL,31.3900,31.3900,31.3900,31.3900,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,2,NULL,NULL,1,'2021-11-10 08:17:27','2021-11-10 08:17:28',1497,'configurable','{\"info_buyRequest\":{\"qty\":1,\"super_attribute\":{\"141\":\"167\",\"93\":\"50\"},\"options\":[]},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"XS\",\"option_id\":141,\"option_value\":\"167\"},{\"label\":\"Color\",\"value\":\"Blue\",\"option_id\":93,\"option_value\":\"50\"}],\"simple_name\":\"Minerva LumaTech&trade; V-Tee-XS-Blue\",\"simple_sku\":\"WS08-XS-Blue\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,NULL,'WS08-XS-Blue','Minerva LumaTech&trade; V-Tee',NULL,'1',NULL,0,0,NULL,0.0000,1.0000,1.0000,1.0000,1.0000,NULL,32.0000,32.0000,32.0000,32.0000,8.2500,2.6400,2.6400,2.6400,2.6400,0.0000,0.0000,0.0000,0.0000,0.0000,32.0000,32.0000,32.0000,32.0000,32.0000,32.0000,1.0000,NULL,NULL,NULL,NULL,NULL,34.6400,34.6400,34.6400,34.6400,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,2.6400,2.6400,0.0000,0.0000,0,'[]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `mag2_sales_order_status`
--

CREATE TABLE `mag2_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 `mag2_sales_order_status`
--

INSERT INTO `mag2_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 `mag2_sales_order_status_history`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_STATUS_HISTORY_PARENT_ID` (`parent_id`),
  KEY `MAG2_SALES_ORDER_STATUS_HISTORY_CREATED_AT` (`created_at`),
  CONSTRAINT `MAG2_SALES_ORDER_STATUS_HISTORY_PARENT_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Order Status History';

--
-- Dumping data for table `mag2_sales_order_status_history`
--

INSERT INTO `mag2_sales_order_status_history` VALUES (1,2,1,0,'We refunded KWD39.64 offline.','closed','2021-11-10 08:17:28','creditmemo');

--
-- Table structure for table `mag2_sales_order_status_label`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_STATUS_LABEL_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_ORDER_STATUS_LABEL_STATUS_SALES_ORDER_STATUS_STATUS` FOREIGN KEY (`status`) REFERENCES `mag2_sales_order_status` (`status`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_ORDER_STATUS_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Status Label Table';

--
-- Dumping data for table `mag2_sales_order_status_label`
--


--
-- Table structure for table `mag2_sales_order_status_state`
--

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

--
-- Dumping data for table `mag2_sales_order_status_state`
--

INSERT INTO `mag2_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 `mag2_sales_order_tax`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_TAX_ORDER_ID_PRIORITY_POSITION` (`order_id`,`priority`,`position`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Table';

--
-- Dumping data for table `mag2_sales_order_tax`
--

INSERT INTO `mag2_sales_order_tax` VALUES (1,1,'US-MI-*-Rate 1','US-MI-*-Rate 1',8.2500,2.3900,0,0,2.3900,0,2.3900),(2,2,'US-MI-*-Rate 1','US-MI-*-Rate 1',8.2500,2.6400,0,0,2.6400,0,2.6400);

--
-- Table structure for table `mag2_sales_order_tax_item`
--

CREATE TABLE `mag2_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 `MAG2_SALES_ORDER_TAX_ITEM_TAX_ID_ITEM_ID` (`tax_id`,`item_id`),
  KEY `MAG2_SALES_ORDER_TAX_ITEM_ITEM_ID` (`item_id`),
  KEY `FK_87AE5C4754894BB101EC548EDBCB6599` (`associated_item_id`),
  CONSTRAINT `FK_87AE5C4754894BB101EC548EDBCB6599` FOREIGN KEY (`associated_item_id`) REFERENCES `mag2_sales_order_item` (`item_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_ORDER_TAX_ITEM_ITEM_ID_SALES_ORDER_ITEM_ITEM_ID` FOREIGN KEY (`item_id`) REFERENCES `mag2_sales_order_item` (`item_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_ORDER_TAX_ITEM_TAX_ID_SALES_ORDER_TAX_TAX_ID` FOREIGN KEY (`tax_id`) REFERENCES `mag2_sales_order_tax` (`tax_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Item';

--
-- Dumping data for table `mag2_sales_order_tax_item`
--

INSERT INTO `mag2_sales_order_tax_item` VALUES (1,1,NULL,8.2500,2.3900,2.3900,2.3900,2.3900,NULL,'product'),(2,2,NULL,8.2500,2.6400,2.6400,2.6400,2.6400,NULL,'product');

--
-- Table structure for table `mag2_sales_payment_transaction`
--

CREATE TABLE `mag2_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 `MAG2_SALES_PAYMENT_TRANSACTION_ORDER_ID_PAYMENT_ID_TXN_ID` (`order_id`,`payment_id`,`txn_id`),
  KEY `MAG2_SALES_PAYMENT_TRANSACTION_PARENT_ID` (`parent_id`),
  KEY `MAG2_SALES_PAYMENT_TRANSACTION_PAYMENT_ID` (`payment_id`),
  CONSTRAINT `FK_42DDCFAC244AB902E552179BDE55516D` FOREIGN KEY (`payment_id`) REFERENCES `mag2_sales_order_payment` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `FK_F99F6F659887A9DC2156CB284645AA2A` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_payment_transaction` (`transaction_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_PAYMENT_TRANSACTION_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Payment Transaction';

--
-- Dumping data for table `mag2_sales_payment_transaction`
--


--
-- Table structure for table `mag2_sales_refunded_aggregated`
--

CREATE TABLE `mag2_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 `MAG2_SALES_REFUNDED_AGGREGATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `MAG2_SALES_REFUNDED_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_REFUNDED_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Refunded Aggregated';

--
-- Dumping data for table `mag2_sales_refunded_aggregated`
--


--
-- Table structure for table `mag2_sales_refunded_aggregated_order`
--

CREATE TABLE `mag2_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 `MAG2_SALES_REFUNDED_AGGRED_ORDER_PERIOD_STORE_ID_ORDER_STS` (`period`,`store_id`,`order_status`),
  KEY `MAG2_SALES_REFUNDED_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_REFUNDED_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Refunded Aggregated Order';

--
-- Dumping data for table `mag2_sales_refunded_aggregated_order`
--


--
-- Table structure for table `mag2_sales_sequence_meta`
--

CREATE TABLE `mag2_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 `MAG2_SALES_SEQUENCE_META_ENTITY_TYPE_STORE_ID` (`entity_type`,`store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='mag2_sales_sequence_meta';

--
-- Dumping data for table `mag2_sales_sequence_meta`
--

INSERT INTO `mag2_sales_sequence_meta` VALUES (1,'order',0,'mag2_sequence_order_0'),(2,'invoice',0,'mag2_sequence_invoice_0'),(3,'creditmemo',0,'mag2_sequence_creditmemo_0'),(4,'shipment',0,'mag2_sequence_shipment_0'),(5,'order',1,'mag2_sequence_order_1'),(6,'invoice',1,'mag2_sequence_invoice_1'),(7,'creditmemo',1,'mag2_sequence_creditmemo_1'),(8,'shipment',1,'mag2_sequence_shipment_1'),(9,'order',2,'mag2_sequence_order_2'),(10,'invoice',2,'mag2_sequence_invoice_2'),(11,'creditmemo',2,'mag2_sequence_creditmemo_2'),(12,'shipment',2,'mag2_sequence_shipment_2');

--
-- Table structure for table `mag2_sales_sequence_profile`
--

CREATE TABLE `mag2_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 `MAG2_SALES_SEQUENCE_PROFILE_META_ID_PREFIX_SUFFIX` (`meta_id`,`prefix`,`suffix`),
  CONSTRAINT `MAG2_SALES_SEQUENCE_PROFILE_META_ID_SALES_SEQUENCE_META_META_ID` FOREIGN KEY (`meta_id`) REFERENCES `mag2_sales_sequence_meta` (`meta_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='mag2_sales_sequence_profile';

--
-- Dumping data for table `mag2_sales_sequence_profile`
--

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

--
-- Table structure for table `mag2_sales_shipment`
--

CREATE TABLE `mag2_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 `MAG2_SALES_SHIPMENT_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `MAG2_SALES_SHIPMENT_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_SHIPMENT_TOTAL_QTY` (`total_qty`),
  KEY `MAG2_SALES_SHIPMENT_ORDER_ID` (`order_id`),
  KEY `MAG2_SALES_SHIPMENT_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_SHIPMENT_UPDATED_AT` (`updated_at`),
  KEY `MAG2_SALES_SHIPMENT_SEND_EMAIL` (`send_email`),
  KEY `MAG2_SALES_SHIPMENT_EMAIL_SENT` (`email_sent`),
  CONSTRAINT `MAG2_SALES_SHIPMENT_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALES_SHIPMENT_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment';

--
-- Dumping data for table `mag2_sales_shipment`
--

INSERT INTO `mag2_sales_shipment` VALUES (1,1,NULL,1.0000,NULL,NULL,1,1,1,2,NULL,'000000001','2021-11-10 08:17:27','2021-11-10 08:17:27','[]',NULL,NULL,NULL),(2,1,NULL,1.0000,NULL,NULL,2,1,3,4,NULL,'000000002','2021-11-10 08:17:27','2021-11-10 08:17:27','[]',NULL,NULL,NULL);

--
-- Table structure for table `mag2_sales_shipment_comment`
--

CREATE TABLE `mag2_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 `MAG2_SALES_SHIPMENT_COMMENT_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_SHIPMENT_COMMENT_PARENT_ID` (`parent_id`),
  CONSTRAINT `MAG2_SALES_SHIPMENT_COMMENT_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_shipment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Comment';

--
-- Dumping data for table `mag2_sales_shipment_comment`
--


--
-- Table structure for table `mag2_sales_shipment_grid`
--

CREATE TABLE `mag2_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 `MAG2_SALES_SHIPMENT_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `MAG2_SALES_SHIPMENT_GRID_STORE_ID` (`store_id`),
  KEY `MAG2_SALES_SHIPMENT_GRID_TOTAL_QTY` (`total_qty`),
  KEY `MAG2_SALES_SHIPMENT_GRID_ORDER_INCREMENT_ID` (`order_increment_id`),
  KEY `MAG2_SALES_SHIPMENT_GRID_SHIPMENT_STATUS` (`shipment_status`),
  KEY `MAG2_SALES_SHIPMENT_GRID_ORDER_STATUS` (`order_status`),
  KEY `MAG2_SALES_SHIPMENT_GRID_CREATED_AT` (`created_at`),
  KEY `MAG2_SALES_SHIPMENT_GRID_UPDATED_AT` (`updated_at`),
  KEY `MAG2_SALES_SHIPMENT_GRID_ORDER_CREATED_AT` (`order_created_at`),
  KEY `MAG2_SALES_SHIPMENT_GRID_SHIPPING_NAME` (`shipping_name`),
  KEY `MAG2_SALES_SHIPMENT_GRID_BILLING_NAME` (`billing_name`),
  FULLTEXT KEY `FTI_42782B8F468F16A40AAB73703E2D3F46` (`increment_id`,`order_increment_id`,`shipping_name`,`customer_name`,`customer_email`,`billing_address`,`shipping_address`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Grid';

--
-- Dumping data for table `mag2_sales_shipment_grid`
--

INSERT INTO `mag2_sales_shipment_grid` VALUES (1,'000000001',1,'000000001',1,'2021-11-10 08:17:26','Veronica Costello',1.0000,NULL,'processing','6146 Honey Bluff Parkway Calder Michigan 49628-7978','6146 Honey Bluff Parkway Calder Michigan 49628-7978','Veronica Costello','Veronica Costello','roni_cost@example.com',1,'checkmo','Flat Rate - Fixed','2021-11-10 08:17:27','2021-11-10 08:17:27'),(2,'000000002',1,'000000002',2,'2021-11-10 08:17:27','Veronica Costello',1.0000,NULL,'processing','6146 Honey Bluff Parkway Calder Michigan 49628-7978','6146 Honey Bluff Parkway Calder Michigan 49628-7978','Veronica Costello','Veronica Costello','roni_cost@example.com',1,'checkmo','Flat Rate - Fixed','2021-11-10 08:17:27','2021-11-10 08:17:27');

--
-- Table structure for table `mag2_sales_shipment_item`
--

CREATE TABLE `mag2_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 `MAG2_SALES_SHIPMENT_ITEM_PARENT_ID` (`parent_id`),
  CONSTRAINT `MAG2_SALES_SHIPMENT_ITEM_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_shipment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Item';

--
-- Dumping data for table `mag2_sales_shipment_item`
--

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

--
-- Table structure for table `mag2_sales_shipment_track`
--

CREATE TABLE `mag2_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 `MAG2_SALES_SHIPMENT_TRACK_PARENT_ID` (`parent_id`),
  KEY `MAG2_SALES_SHIPMENT_TRACK_ORDER_ID` (`order_id`),
  KEY `MAG2_SALES_SHIPMENT_TRACK_CREATED_AT` (`created_at`),
  CONSTRAINT `MAG2_SALES_SHIPMENT_TRACK_PARENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`parent_id`) REFERENCES `mag2_sales_shipment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment Track';

--
-- Dumping data for table `mag2_sales_shipment_track`
--


--
-- Table structure for table `mag2_sales_shipping_aggregated`
--

CREATE TABLE `mag2_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 `UNQ_83FE8F54F8810789D21009E1D4E6ECF4` (`period`,`store_id`,`order_status`,`shipping_description`),
  KEY `MAG2_SALES_SHIPPING_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_SHIPPING_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Shipping Aggregated';

--
-- Dumping data for table `mag2_sales_shipping_aggregated`
--


--
-- Table structure for table `mag2_sales_shipping_aggregated_order`
--

CREATE TABLE `mag2_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_400AC5A94E5425242D3DDF6D89D4DBCE` (`period`,`store_id`,`order_status`,`shipping_description`),
  KEY `MAG2_SALES_SHIPPING_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALES_SHIPPING_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Shipping Aggregated Order';

--
-- Dumping data for table `mag2_sales_shipping_aggregated_order`
--


--
-- Table structure for table `mag2_salesrule`
--

CREATE TABLE `mag2_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 `MAG2_SALESRULE_IS_ACTIVE_SORT_ORDER_TO_DATE_FROM_DATE` (`is_active`,`sort_order`,`to_date`,`from_date`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Salesrule';

--
-- Dumping data for table `mag2_salesrule`
--

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

--
-- Table structure for table `mag2_salesrule_coupon`
--

CREATE TABLE `mag2_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',
  `generated_by_dotmailer` smallint(6) DEFAULT NULL COMMENT '1 = Generated by dotmailer',
  PRIMARY KEY (`coupon_id`),
  UNIQUE KEY `MAG2_SALESRULE_COUPON_CODE` (`code`),
  UNIQUE KEY `MAG2_SALESRULE_COUPON_RULE_ID_IS_PRIMARY` (`rule_id`,`is_primary`),
  KEY `MAG2_SALESRULE_COUPON_RULE_ID` (`rule_id`),
  CONSTRAINT `MAG2_SALESRULE_COUPON_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Salesrule Coupon';

--
-- Dumping data for table `mag2_salesrule_coupon`
--

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

--
-- Table structure for table `mag2_salesrule_coupon_aggregated`
--

CREATE TABLE `mag2_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 `UNQ_55DD9C3821025DEE14DAE2CEE4A5A593` (`period`,`store_id`,`order_status`,`coupon_code`),
  KEY `MAG2_SALESRULE_COUPON_AGGREGATED_STORE_ID` (`store_id`),
  KEY `MAG2_SALESRULE_COUPON_AGGREGATED_RULE_NAME` (`rule_name`),
  CONSTRAINT `MAG2_SALESRULE_COUPON_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Coupon Aggregated';

--
-- Dumping data for table `mag2_salesrule_coupon_aggregated`
--


--
-- Table structure for table `mag2_salesrule_coupon_aggregated_order`
--

CREATE TABLE `mag2_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_2A3AF1A890B947CFBFDEC37C77B8D28E` (`period`,`store_id`,`order_status`,`coupon_code`),
  KEY `MAG2_SALESRULE_COUPON_AGGREGATED_ORDER_STORE_ID` (`store_id`),
  KEY `MAG2_SALESRULE_COUPON_AGGREGATED_ORDER_RULE_NAME` (`rule_name`),
  CONSTRAINT `MAG2_SALESRULE_COUPON_AGGREGATED_ORDER_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Coupon Aggregated Order';

--
-- Dumping data for table `mag2_salesrule_coupon_aggregated_order`
--


--
-- Table structure for table `mag2_salesrule_coupon_aggregated_updated`
--

CREATE TABLE `mag2_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_B9C2EF184D50C09FA107D7CB3AA9954B` (`period`,`store_id`,`order_status`,`coupon_code`),
  KEY `MAG2_SALESRULE_COUPON_AGGREGATED_UPDATED_STORE_ID` (`store_id`),
  KEY `MAG2_SALESRULE_COUPON_AGGREGATED_UPDATED_RULE_NAME` (`rule_name`),
  CONSTRAINT `FK_C2EA94743F262EE46E05006E2FF4A4DB` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mag2 Salesrule Coupon Aggregated Updated';

--
-- Dumping data for table `mag2_salesrule_coupon_aggregated_updated`
--


--
-- Table structure for table `mag2_salesrule_coupon_usage`
--

CREATE TABLE `mag2_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 `MAG2_SALESRULE_COUPON_USAGE_CUSTOMER_ID` (`customer_id`),
  CONSTRAINT `MAG2_SALESRULE_COUPON_USAGE_COUPON_ID_SALESRULE_COUPON_COUPON_ID` FOREIGN KEY (`coupon_id`) REFERENCES `mag2_salesrule_coupon` (`coupon_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_COUPON_USAGE_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Coupon Usage';

--
-- Dumping data for table `mag2_salesrule_coupon_usage`
--


--
-- Table structure for table `mag2_salesrule_customer`
--

CREATE TABLE `mag2_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 `MAG2_SALESRULE_CUSTOMER_RULE_ID_CUSTOMER_ID` (`rule_id`,`customer_id`),
  KEY `MAG2_SALESRULE_CUSTOMER_CUSTOMER_ID_RULE_ID` (`customer_id`,`rule_id`),
  CONSTRAINT `MAG2_SALESRULE_CUSTOMER_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_CUSTOMER_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Salesrule Customer';

--
-- Dumping data for table `mag2_salesrule_customer`
--

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

--
-- Table structure for table `mag2_salesrule_customer_group`
--

CREATE TABLE `mag2_salesrule_customer_group` (
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule Id',
  `customer_group_id` int(10) unsigned NOT NULL COMMENT 'Customer Group Id',
  PRIMARY KEY (`rule_id`,`customer_group_id`),
  KEY `MAG2_SALESRULE_CUSTOMER_GROUP_CUSTOMER_GROUP_ID` (`customer_group_id`),
  CONSTRAINT `MAG2_SALESRULE_CSTR_GROUP_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `mag2_customer_group` (`customer_group_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_CUSTOMER_GROUP_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Rules To Customer Groups Relations';

--
-- Dumping data for table `mag2_salesrule_customer_group`
--

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

--
-- Table structure for table `mag2_salesrule_label`
--

CREATE TABLE `mag2_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 `MAG2_SALESRULE_LABEL_RULE_ID_STORE_ID` (`rule_id`,`store_id`),
  KEY `MAG2_SALESRULE_LABEL_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SALESRULE_LABEL_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_LABEL_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Label';

--
-- Dumping data for table `mag2_salesrule_label`
--


--
-- Table structure for table `mag2_salesrule_product_attribute`
--

CREATE TABLE `mag2_salesrule_product_attribute` (
  `rule_id` int(10) unsigned NOT NULL COMMENT 'Rule Id',
  `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website Id',
  `customer_group_id` int(10) unsigned NOT NULL COMMENT 'Customer Group Id',
  `attribute_id` smallint(5) unsigned NOT NULL COMMENT 'Attribute Id',
  PRIMARY KEY (`rule_id`,`website_id`,`customer_group_id`,`attribute_id`),
  KEY `MAG2_SALESRULE_PRODUCT_ATTRIBUTE_WEBSITE_ID` (`website_id`),
  KEY `MAG2_SALESRULE_PRODUCT_ATTRIBUTE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  KEY `MAG2_SALESRULE_PRODUCT_ATTRIBUTE_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `MAG2_SALESRULE_PRD_ATTR_ATTR_ID_EAV_ATTR_ATTR_ID` FOREIGN KEY (`attribute_id`) REFERENCES `mag2_eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_PRD_ATTR_CSTR_GROUP_ID_CSTR_GROUP_CSTR_GROUP_ID` FOREIGN KEY (`customer_group_id`) REFERENCES `mag2_customer_group` (`customer_group_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_PRD_ATTR_WS_ID_STORE_WS_WS_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_PRODUCT_ATTRIBUTE_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Salesrule Product Attribute';

--
-- Dumping data for table `mag2_salesrule_product_attribute`
--

INSERT INTO `mag2_salesrule_product_attribute` VALUES (1,1,0,105),(1,1,1,105),(1,1,2,105),(1,1,3,105),(3,1,0,105),(3,1,0,146),(3,1,1,105),(3,1,1,146),(3,1,2,105),(3,1,2,146),(3,1,3,105),(3,1,3,146),(4,1,0,74),(4,1,1,74),(4,1,2,74),(4,1,3,74);

--
-- Table structure for table `mag2_salesrule_website`
--

CREATE TABLE `mag2_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 `MAG2_SALESRULE_WEBSITE_WEBSITE_ID` (`website_id`),
  CONSTRAINT `MAG2_SALESRULE_WEBSITE_RULE_ID_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SALESRULE_WEBSITE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Rules To Websites Relations';

--
-- Dumping data for table `mag2_salesrule_website`
--

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

--
-- Table structure for table `mag2_search_query`
--

CREATE TABLE `mag2_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 `MAG2_SEARCH_QUERY_QUERY_TEXT_STORE_ID` (`query_text`,`store_id`),
  KEY `MAG2_SEARCH_QUERY_QUERY_TEXT_STORE_ID_POPULARITY` (`query_text`,`store_id`,`popularity`),
  KEY `MAG2_SEARCH_QUERY_STORE_ID` (`store_id`),
  KEY `MAG2_SEARCH_QUERY_IS_PROCESSED` (`is_processed`),
  CONSTRAINT `MAG2_SEARCH_QUERY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Search query table';

--
-- Dumping data for table `mag2_search_query`
--


--
-- Table structure for table `mag2_search_synonyms`
--

CREATE TABLE `mag2_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 `MAG2_SEARCH_SYNONYMS_STORE_ID` (`store_id`),
  KEY `MAG2_SEARCH_SYNONYMS_WEBSITE_ID` (`website_id`),
  FULLTEXT KEY `MAG2_SEARCH_SYNONYMS_SYNONYMS` (`synonyms`),
  CONSTRAINT `MAG2_SEARCH_SYNONYMS_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_SEARCH_SYNONYMS_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='table storing various synonyms groups';

--
-- Dumping data for table `mag2_search_synonyms`
--


--
-- Table structure for table `mag2_sendfriend_log`
--

CREATE TABLE `mag2_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 `MAG2_SENDFRIEND_LOG_IP` (`ip`),
  KEY `MAG2_SENDFRIEND_LOG_TIME` (`time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Send to friend function log storage table';

--
-- Dumping data for table `mag2_sendfriend_log`
--


--
-- Table structure for table `mag2_sequence_creditmemo_0`
--

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

--
-- Dumping data for table `mag2_sequence_creditmemo_0`
--


--
-- Table structure for table `mag2_sequence_creditmemo_1`
--

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

--
-- Dumping data for table `mag2_sequence_creditmemo_1`
--

INSERT INTO `mag2_sequence_creditmemo_1` VALUES (1);

--
-- Table structure for table `mag2_sequence_creditmemo_2`
--

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

--
-- Dumping data for table `mag2_sequence_creditmemo_2`
--


--
-- Table structure for table `mag2_sequence_invoice_0`
--

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

--
-- Dumping data for table `mag2_sequence_invoice_0`
--


--
-- Table structure for table `mag2_sequence_invoice_1`
--

CREATE TABLE `mag2_sequence_invoice_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 `mag2_sequence_invoice_1`
--

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

--
-- Table structure for table `mag2_sequence_invoice_2`
--

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

--
-- Dumping data for table `mag2_sequence_invoice_2`
--


--
-- Table structure for table `mag2_sequence_order_0`
--

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

--
-- Dumping data for table `mag2_sequence_order_0`
--


--
-- Table structure for table `mag2_sequence_order_1`
--

CREATE TABLE `mag2_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 `mag2_sequence_order_1`
--

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

--
-- Table structure for table `mag2_sequence_order_2`
--

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

--
-- Dumping data for table `mag2_sequence_order_2`
--


--
-- Table structure for table `mag2_sequence_shipment_0`
--

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

--
-- Dumping data for table `mag2_sequence_shipment_0`
--


--
-- Table structure for table `mag2_sequence_shipment_1`
--

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

--
-- Dumping data for table `mag2_sequence_shipment_1`
--

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

--
-- Table structure for table `mag2_sequence_shipment_2`
--

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

--
-- Dumping data for table `mag2_sequence_shipment_2`
--


--
-- Table structure for table `mag2_session`
--

CREATE TABLE `mag2_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';

--
-- Dumping data for table `mag2_session`
--


--
-- Table structure for table `mag2_setup_module`
--

CREATE TABLE `mag2_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 `mag2_setup_module`
--

INSERT INTO `mag2_setup_module` VALUES ('Amazon_Core','2.0.12','2.0.12'),('Amazon_Login','1.2.0','1.2.0'),('Amazon_Payment','1.11.0','1.11.0'),('Dotdigitalgroup_Email','2.5.0','2.5.0'),('Ecomwares_BrandswithimgWidget','1.0.0','1.0.0'),('Ecomwares_CatewithimgWidget','1.0.0','1.0.0'),('Ecomwares_Wkmegamenu','1.0.1','1.0.1'),('Ecomwares_Wokiee','1.0.2','1.0.2'),('Gateway_Tap','1.0.0','1.0.0'),('HesabePayment_Hesabe','2.0.3','2.0.3'),('Klarna_Core','4.2.3','4.2.3'),('Klarna_Kp','5.2.3','5.2.3'),('Klarna_Ordermanagement','4.1.3','4.1.3'),('Linchpin_AdvancedSorting','1.0.0','1.0.0'),('Magefan_Blog','2.8.2','2.8.2'),('Magefan_Community','2.0.1','2.0.1'),('Magento_AdminNotification','2.0.0','2.0.0'),('Magento_AdvancedPricingImportExport','2.0.0','2.0.0'),('Magento_Analytics','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_BundleSampleData','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.5','2.2.5'),('Magento_CatalogAnalytics','2.0.0','2.0.0'),('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_CatalogRuleSampleData','2.0.0','2.0.0'),('Magento_CatalogSampleData','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_CmsSampleData','2.0.0','2.0.0'),('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_ConfigurableSampleData','2.0.0','2.0.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.13','2.0.13'),('Magento_CustomerAnalytics','2.0.0','2.0.0'),('Magento_CustomerImportExport','2.0.0','2.0.0'),('Magento_CustomerSampleData','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.2','2.0.2'),('Magento_Downloadable','2.0.2','2.0.2'),('Magento_DownloadableImportExport','2.0.0','2.0.0'),('Magento_DownloadableSampleData','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_GroupedProductSampleData','2.0.0','2.0.0'),('Magento_ImportExport','2.0.1','2.0.1'),('Magento_Indexer','2.1.0','2.1.0'),('Magento_InstantPurchase','1.0.0','1.0.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_MsrpSampleData','2.0.0','2.0.0'),('Magento_Multishipping','2.0.0','2.0.0'),('Magento_NewRelicReporting','2.0.1','2.0.1'),('Magento_Newsletter','2.0.1','2.0.1'),('Magento_OfflinePayments','2.0.0','2.0.0'),('Magento_OfflineShipping','2.0.1','2.0.1'),('Magento_OfflineShippingSampleData','2.0.0','2.0.0'),('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_ProductLinksSampleData','2.0.0','2.0.0'),('Magento_ProductVideo','2.0.0.2','2.0.0.2'),('Magento_Quote','2.0.7','2.0.7'),('Magento_QuoteAnalytics','2.0.0','2.0.0'),('Magento_ReleaseNotification','2.2.0','2.2.0'),('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_ReviewAnalytics','2.0.0','2.0.0'),('Magento_ReviewSampleData','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.9','2.0.9'),('Magento_SalesAnalytics','2.0.0','2.0.0'),('Magento_SalesInventory','1.0.0','1.0.0'),('Magento_SalesRule','2.0.3','2.0.3'),('Magento_SalesRuleSampleData','2.0.0','2.0.0'),('Magento_SalesSampleData','2.0.0','2.0.0'),('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_SwatchesSampleData','2.0.0','2.0.0'),('Magento_Tax','2.0.3','2.0.3'),('Magento_TaxImportExport','2.0.0','2.0.0'),('Magento_TaxSampleData','2.0.0','2.0.0'),('Magento_Theme','2.0.2','2.0.2'),('Magento_ThemeSampleData','2.0.0','2.0.0'),('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.3','2.0.3'),('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_WidgetSampleData','2.0.0','2.0.0'),('Magento_Wishlist','2.0.1','2.0.1'),('Magento_WishlistAnalytics','2.0.0','2.0.0'),('Magento_WishlistSampleData','2.0.0','2.0.0'),('Mageplaza_BannerSlider','2.0.0','2.0.0'),('Mageplaza_BetterMaintenance','1.0.0','1.0.0'),('Mageplaza_Core','1.0.0','1.0.0'),('Mageplaza_CurrencyFormatter','1.0.0','1.0.0'),('Mageplaza_LayeredNavigation','2.0.0','2.0.0'),('Magesales_Knet','1.0.0','1.0.0'),('Mageserv_UPayments','2.0.0','2.0.0'),('Mawaqaa_ApiStockItem','1.0.0','1.0.0'),('MMA_CustomApi','0.1.0','0.1.0'),('Shopial_Facebook','1.0.0','1.0.0'),('Temando_Shipping','1.2.0','1.2.0'),('Vendor_ContactusApi','1.0.0','1.0.0'),('Vertex_Tax','100.2.0','100.2.0'),('WeltPixel_Backend','1.1.0','1.1.0'),('WeltPixel_Quickview','1.0.1','1.0.1');

--
-- Table structure for table `mag2_shipping_tablerate`
--

CREATE TABLE `mag2_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_D8EBDF242355FD006032CF67440DD531` (`website_id`,`dest_country_id`,`dest_region_id`,`dest_zip`,`condition_name`,`condition_value`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='Shipping Tablerate';

--
-- Dumping data for table `mag2_shipping_tablerate`
--

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

--
-- Table structure for table `mag2_signifyd_case`
--

CREATE TABLE `mag2_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 `MAG2_SIGNIFYD_CASE_ORDER_ID` (`order_id`),
  UNIQUE KEY `MAG2_SIGNIFYD_CASE_CASE_ID` (`case_id`),
  CONSTRAINT `MAG2_SIGNIFYD_CASE_ORDER_ID_MAG2_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='mag2_signifyd_case';

--
-- Dumping data for table `mag2_signifyd_case`
--


--
-- Table structure for table `mag2_sitemap`
--

CREATE TABLE `mag2_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 `MAG2_SITEMAP_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_SITEMAP_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='XML Sitemap';

--
-- Dumping data for table `mag2_sitemap`
--


--
-- Table structure for table `mag2_store`
--

CREATE TABLE `mag2_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 `MAG2_STORE_CODE` (`code`),
  KEY `MAG2_STORE_WEBSITE_ID` (`website_id`),
  KEY `MAG2_STORE_IS_ACTIVE_SORT_ORDER` (`is_active`,`sort_order`),
  KEY `MAG2_STORE_GROUP_ID` (`group_id`),
  CONSTRAINT `MAG2_STORE_GROUP_ID_STORE_GROUP_GROUP_ID` FOREIGN KEY (`group_id`) REFERENCES `mag2_store_group` (`group_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_STORE_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Stores';

--
-- Dumping data for table `mag2_store`
--

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

--
-- Table structure for table `mag2_store_group`
--

CREATE TABLE `mag2_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 `MAG2_STORE_GROUP_CODE` (`code`),
  KEY `MAG2_STORE_GROUP_WEBSITE_ID` (`website_id`),
  KEY `MAG2_STORE_GROUP_DEFAULT_STORE_ID` (`default_store_id`),
  CONSTRAINT `MAG2_STORE_GROUP_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Store Groups';

--
-- Dumping data for table `mag2_store_group`
--

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

--
-- Table structure for table `mag2_store_website`
--

CREATE TABLE `mag2_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 `MAG2_STORE_WEBSITE_CODE` (`code`),
  KEY `MAG2_STORE_WEBSITE_SORT_ORDER` (`sort_order`),
  KEY `MAG2_STORE_WEBSITE_DEFAULT_GROUP_ID` (`default_group_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Websites';

--
-- Dumping data for table `mag2_store_website`
--

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

--
-- Table structure for table `mag2_tax_calculation`
--

CREATE TABLE `mag2_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 `MAG2_TAX_CALCULATION_TAX_CALCULATION_RULE_ID` (`tax_calculation_rule_id`),
  KEY `MAG2_TAX_CALCULATION_CUSTOMER_TAX_CLASS_ID` (`customer_tax_class_id`),
  KEY `MAG2_TAX_CALCULATION_PRODUCT_TAX_CLASS_ID` (`product_tax_class_id`),
  KEY `IDX_C346402A5AB2C9594B4E7C1FEB6C4A43` (`tax_calculation_rate_id`,`customer_tax_class_id`,`product_tax_class_id`),
  CONSTRAINT `MAG2_TAX_CALCULATION_CUSTOMER_TAX_CLASS_ID_TAX_CLASS_CLASS_ID` FOREIGN KEY (`customer_tax_class_id`) REFERENCES `mag2_tax_class` (`class_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_TAX_CALCULATION_PRODUCT_TAX_CLASS_ID_TAX_CLASS_CLASS_ID` FOREIGN KEY (`product_tax_class_id`) REFERENCES `mag2_tax_class` (`class_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_TAX_CALC_TAX_CALC_RATE_ID_TAX_CALC_RATE_TAX_CALC_RATE_ID` FOREIGN KEY (`tax_calculation_rate_id`) REFERENCES `mag2_tax_calculation_rate` (`tax_calculation_rate_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_TAX_CALC_TAX_CALC_RULE_ID_TAX_CALC_RULE_TAX_CALC_RULE_ID` FOREIGN KEY (`tax_calculation_rule_id`) REFERENCES `mag2_tax_calculation_rule` (`tax_calculation_rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation';

--
-- Dumping data for table `mag2_tax_calculation`
--

INSERT INTO `mag2_tax_calculation` VALUES (1,3,1,3,2);

--
-- Table structure for table `mag2_tax_calculation_rate`
--

CREATE TABLE `mag2_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 `MAG2_TAX_CALC_RATE_TAX_COUNTRY_ID_TAX_REGION_ID_TAX_POSTCODE` (`tax_country_id`,`tax_region_id`,`tax_postcode`),
  KEY `MAG2_TAX_CALCULATION_RATE_CODE` (`code`),
  KEY `IDX_BC1103B043836350E19C5DCC077C0389` (`tax_calculation_rate_id`,`tax_country_id`,`tax_region_id`,`zip_is_range`,`tax_postcode`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rate';

--
-- Dumping data for table `mag2_tax_calculation_rate`
--

INSERT INTO `mag2_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),(3,'US',33,'*','US-MI-*-Rate 1',8.2500,NULL,NULL,NULL);

--
-- Table structure for table `mag2_tax_calculation_rate_title`
--

CREATE TABLE `mag2_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 `MAG2_TAX_CALCULATION_RATE_TITLE_TAX_CALCULATION_RATE_ID_STORE_ID` (`tax_calculation_rate_id`,`store_id`),
  KEY `MAG2_TAX_CALCULATION_RATE_TITLE_STORE_ID` (`store_id`),
  CONSTRAINT `FK_A0FD1C98B4BBD3E25CC3CE33EF6CCF66` FOREIGN KEY (`tax_calculation_rate_id`) REFERENCES `mag2_tax_calculation_rate` (`tax_calculation_rate_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_TAX_CALCULATION_RATE_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rate Title';

--
-- Dumping data for table `mag2_tax_calculation_rate_title`
--


--
-- Table structure for table `mag2_tax_calculation_rule`
--

CREATE TABLE `mag2_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 `MAG2_TAX_CALCULATION_RULE_PRIORITY_POSITION` (`priority`,`position`),
  KEY `MAG2_TAX_CALCULATION_RULE_CODE` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Tax Calculation Rule';

--
-- Dumping data for table `mag2_tax_calculation_rule`
--

INSERT INTO `mag2_tax_calculation_rule` VALUES (1,'Rule1',0,0,0);

--
-- Table structure for table `mag2_tax_class`
--

CREATE TABLE `mag2_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=10 DEFAULT CHARSET=utf8 COMMENT='Tax Class';

--
-- Dumping data for table `mag2_tax_class`
--

INSERT INTO `mag2_tax_class` VALUES (2,'Taxable Goods','PRODUCT'),(3,'Retail Customer','CUSTOMER'),(4,'Refund Adjustments','PRODUCT'),(5,'Gift Options','PRODUCT'),(6,'Order Gift Wrapping','PRODUCT'),(7,'Item Gift Wrapping','PRODUCT'),(8,'Printed Gift Card','PRODUCT'),(9,'Reward Points','PRODUCT');

--
-- Table structure for table `mag2_tax_order_aggregated_created`
--

CREATE TABLE `mag2_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 `IDX_880A90E22153A48DAB4D0D00460A1C9F` (`period`,`store_id`,`code`,`percent`,`order_status`),
  KEY `MAG2_TAX_ORDER_AGGREGATED_CREATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_TAX_ORDER_AGGREGATED_CREATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tax Order Aggregation';

--
-- Dumping data for table `mag2_tax_order_aggregated_created`
--


--
-- Table structure for table `mag2_tax_order_aggregated_updated`
--

CREATE TABLE `mag2_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 `UNQ_86703C53450F6FC588C7DFBACE1EC545` (`period`,`store_id`,`code`,`percent`,`order_status`),
  KEY `MAG2_TAX_ORDER_AGGREGATED_UPDATED_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_TAX_ORDER_AGGREGATED_UPDATED_STORE_ID_MAG2_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mag2 Tax Order Aggregated Updated';

--
-- Dumping data for table `mag2_tax_order_aggregated_updated`
--


--
-- Table structure for table `mag2_temando_checkout_address`
--

CREATE TABLE `mag2_temando_checkout_address` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `shipping_address_id` int(10) unsigned NOT NULL COMMENT 'Magento Quote Address Id',
  `service_selection` text COMMENT 'Value Added Services',
  PRIMARY KEY (`entity_id`),
  KEY `MAG2_TEMANDO_CHKT_ADDR_SHPP_ADDR_ID_QUOTE_ADDR_ADDR_ID` (`shipping_address_id`),
  CONSTRAINT `MAG2_TEMANDO_CHKT_ADDR_SHPP_ADDR_ID_QUOTE_ADDR_ADDR_ID` FOREIGN KEY (`shipping_address_id`) REFERENCES `mag2_quote_address` (`address_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Temando Checkout Address';

--
-- Dumping data for table `mag2_temando_checkout_address`
--


--
-- Table structure for table `mag2_temando_collection_point_search`
--

CREATE TABLE `mag2_temando_collection_point_search` (
  `shipping_address_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `country_id` varchar(2) NOT NULL COMMENT 'Country Code',
  `postcode` varchar(255) NOT NULL COMMENT 'Zip/Postal Code',
  PRIMARY KEY (`shipping_address_id`),
  KEY `FK_66B1D759254C7C3B1E2C569CA6A233F5` (`country_id`),
  CONSTRAINT `FK_2A987663C7BE0BA1D9ABF29B5DD2F3B7` FOREIGN KEY (`shipping_address_id`) REFERENCES `mag2_quote_address` (`address_id`) ON DELETE CASCADE,
  CONSTRAINT `FK_66B1D759254C7C3B1E2C569CA6A233F5` FOREIGN KEY (`country_id`) REFERENCES `mag2_directory_country` (`country_id`) ON DELETE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Collection Point Search';

--
-- Dumping data for table `mag2_temando_collection_point_search`
--


--
-- Table structure for table `mag2_temando_order`
--

CREATE TABLE `mag2_temando_order` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Magento Order Id',
  `ext_order_id` varchar(64) NOT NULL COMMENT 'Temando Order Id',
  PRIMARY KEY (`entity_id`),
  KEY `MAG2_TEMANDO_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID` (`order_id`),
  CONSTRAINT `MAG2_TEMANDO_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `mag2_sales_order` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Temando Order';

--
-- Dumping data for table `mag2_temando_order`
--


--
-- Table structure for table `mag2_temando_order_collection_point`
--

CREATE TABLE `mag2_temando_order_collection_point` (
  `recipient_address_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  `collection_point_id` varchar(64) NOT NULL COMMENT 'Collection Point Id',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `country` varchar(2) NOT NULL COMMENT 'Country Code',
  `region` varchar(255) NOT NULL COMMENT 'Region',
  `postcode` varchar(255) NOT NULL COMMENT 'Zip/Postal Code',
  `city` varchar(255) NOT NULL COMMENT 'City',
  `street` text NOT NULL COMMENT 'Street',
  PRIMARY KEY (`recipient_address_id`),
  CONSTRAINT `FK_FC62B247B3F32CAB0D1F8F3128E808D8` FOREIGN KEY (`recipient_address_id`) REFERENCES `mag2_sales_order_address` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Order Collection Point Entity';

--
-- Dumping data for table `mag2_temando_order_collection_point`
--


--
-- Table structure for table `mag2_temando_quote_collection_point`
--

CREATE TABLE `mag2_temando_quote_collection_point` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `recipient_address_id` int(10) unsigned NOT NULL COMMENT 'Quote Address Id',
  `collection_point_id` varchar(64) NOT NULL COMMENT 'Collection Point Id',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `country` varchar(2) NOT NULL COMMENT 'Country Code',
  `region` varchar(255) NOT NULL COMMENT 'Region',
  `postcode` varchar(255) NOT NULL COMMENT 'Zip/Postal Code',
  `city` varchar(255) NOT NULL COMMENT 'City',
  `street` text NOT NULL COMMENT 'Street',
  `opening_hours` text NOT NULL COMMENT 'Opening Hours',
  `shipping_experiences` text NOT NULL COMMENT 'Shipping Experiences',
  `selected` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Is Selected',
  PRIMARY KEY (`entity_id`),
  KEY `FK_7CB391ED223C6644419818EB3F4E37C5` (`recipient_address_id`),
  CONSTRAINT `FK_7CB391ED223C6644419818EB3F4E37C5` FOREIGN KEY (`recipient_address_id`) REFERENCES `mag2_temando_collection_point_search` (`shipping_address_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Quote Collection Point Entity';

--
-- Dumping data for table `mag2_temando_quote_collection_point`
--


--
-- Table structure for table `mag2_temando_shipment`
--

CREATE TABLE `mag2_temando_shipment` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `shipment_id` int(10) unsigned NOT NULL COMMENT 'Magento Shipment Id',
  `ext_shipment_id` varchar(64) NOT NULL COMMENT 'External Shipment Id',
  `ext_location_id` varchar(64) DEFAULT NULL,
  `ext_tracking_url` varchar(255) DEFAULT NULL COMMENT 'External Tracking Url',
  `ext_tracking_reference` varchar(255) DEFAULT NULL COMMENT 'External Tracking Reference',
  `ext_return_shipment_id` varchar(64) DEFAULT NULL COMMENT 'External Return Shipment Id',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `MAG2_TEMANDO_SHIPMENT_SHIPMENT_ID_EXT_SHIPMENT_ID` (`shipment_id`,`ext_shipment_id`),
  CONSTRAINT `MAG2_TEMANDO_SHIPMENT_SHIPMENT_ID_SALES_SHIPMENT_ENTITY_ID` FOREIGN KEY (`shipment_id`) REFERENCES `mag2_sales_shipment` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Temando Shipment';

--
-- Dumping data for table `mag2_temando_shipment`
--


--
-- Table structure for table `mag2_theme`
--

CREATE TABLE `mag2_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=5 DEFAULT CHARSET=utf8 COMMENT='Core theme';

--
-- Dumping data for table `mag2_theme`
--

INSERT INTO `mag2_theme` VALUES (1,NULL,'Magento/blank','Magento Blank','preview_image_618b7f6e86789.jpeg',0,'frontend',0,'Magento/blank'),(2,1,'Magento/luma','Magento Luma','preview_image_618b7f6ea8ba3.jpeg',0,'frontend',0,'Magento/luma'),(3,NULL,'Magento/backend','Magento 2 backend',NULL,0,'adminhtml',0,'Magento/backend'),(4,1,'Ecomwares/wokiee','Wokiee Base Theme','preview_image_618b81928235d.png',0,'frontend',0,'Ecomwares/wokiee');

--
-- Table structure for table `mag2_theme_file`
--

CREATE TABLE `mag2_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 `MAG2_THEME_FILE_THEME_ID_THEME_THEME_ID` (`theme_id`),
  CONSTRAINT `MAG2_THEME_FILE_THEME_ID_THEME_THEME_ID` FOREIGN KEY (`theme_id`) REFERENCES `mag2_theme` (`theme_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Core theme files';

--
-- Dumping data for table `mag2_theme_file`
--


--
-- Table structure for table `mag2_translation`
--

CREATE TABLE `mag2_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 `MAG2_TRANSLATION_STORE_ID_LOCALE_CRC_STRING_STRING` (`store_id`,`locale`,`crc_string`,`string`),
  CONSTRAINT `MAG2_TRANSLATION_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8 COMMENT='Translations';

--
-- Dumping data for table `mag2_translation`
--



--
-- Table structure for table `mag2_ui_bookmark`
--

CREATE TABLE `mag2_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 `MAG2_UI_BOOKMARK_USER_ID_NAMESPACE_IDENTIFIER` (`user_id`,`namespace`,`identifier`),
  CONSTRAINT `MAG2_UI_BOOKMARK_USER_ID_ADMIN_USER_USER_ID` FOREIGN KEY (`user_id`) REFERENCES `mag2_admin_user` (`user_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COMMENT='Bookmark';

--
-- Dumping data for table `mag2_ui_bookmark`
--

INSERT INTO `mag2_ui_bookmark` VALUES (1,1,'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},\"msrp\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"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},\"manufacturer\":{\"visible\":false,\"sorting\":false},\"color\":{\"visible\":false,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"custom_layout\":{\"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},\"brand\":{\"visible\":true,\"sorting\":false},\"charachters_collection\":{\"visible\":true,\"sorting\":false},\"gender\":{\"visible\":true,\"sorting\":false},\"size\":{\"visible\":true,\"sorting\":false},\"gend\":{\"visible\":false,\"sorting\":false},\"itemsize\":{\"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\":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,\"manufacturer\":18,\"meta_title\":19,\"meta_keyword\":20,\"meta_description\":21,\"color\":22,\"news_from_date\":23,\"news_to_date\":24,\"custom_design\":25,\"custom_design_from\":26,\"custom_design_to\":27,\"page_layout\":28,\"country_of_manufacture\":29,\"custom_layout\":30,\"msrp\":31,\"url_key\":32,\"tax_class_id\":33,\"gift_message_available\":34,\"actions\":35,\"brand\":36,\"charachters_collection\":37,\"gender\":38,\"size\":39,\"gend\":40,\"itemsize\":41}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,1,'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},\"msrp\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"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},\"manufacturer\":{\"visible\":false,\"sorting\":false},\"color\":{\"visible\":false,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"custom_layout\":{\"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}},\"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,\"manufacturer\":18,\"meta_title\":19,\"meta_keyword\":20,\"meta_description\":21,\"color\":22,\"news_from_date\":23,\"news_to_date\":24,\"custom_design\":25,\"custom_design_from\":26,\"custom_design_to\":27,\"page_layout\":28,\"country_of_manufacture\":29,\"custom_layout\":30,\"msrp\":31,\"url_key\":32,\"tax_class_id\":33,\"gift_message_available\":34,\"actions\":35}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,2,'design_config_listing','current',0,NULL,'{\"current\":{\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"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},\"filters\":{\"applied\":{\"placeholder\":true}},\"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'),(4,2,'design_config_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"columns\":{\"default\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"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},\"filters\":{\"applied\":{\"placeholder\":true}},\"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'),(5,2,'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},\"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},\"msrp\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"visible\":false,\"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},\"manufacturer\":{\"visible\":false,\"sorting\":false},\"color\":{\"visible\":false,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"custom_layout\":{\"visible\":false,\"sorting\":false},\"tax_class_id\":{\"visible\":false,\"sorting\":false},\"gift_message_available\":{\"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},\"ids\":{\"visible\":true,\"sorting\":false},\"thumbnail\":{\"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,\"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,\"manufacturer\":18,\"meta_title\":19,\"meta_keyword\":20,\"meta_description\":21,\"color\":22,\"news_from_date\":23,\"news_to_date\":24,\"custom_design\":25,\"custom_design_from\":26,\"custom_design_to\":27,\"page_layout\":28,\"country_of_manufacture\":29,\"custom_layout\":30,\"msrp\":31,\"url_key\":32,\"tax_class_id\":33,\"gift_message_available\":34,\"actions\":35}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(6,2,'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},\"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},\"msrp\":{\"visible\":false,\"sorting\":false},\"url_key\":{\"visible\":false,\"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},\"manufacturer\":{\"visible\":false,\"sorting\":false},\"color\":{\"visible\":false,\"sorting\":false},\"custom_design\":{\"visible\":false,\"sorting\":false},\"page_layout\":{\"visible\":false,\"sorting\":false},\"country_of_manufacture\":{\"visible\":false,\"sorting\":false},\"custom_layout\":{\"visible\":false,\"sorting\":false},\"tax_class_id\":{\"visible\":false,\"sorting\":false},\"gift_message_available\":{\"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},\"ids\":{\"visible\":true,\"sorting\":false},\"thumbnail\":{\"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,\"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,\"manufacturer\":18,\"meta_title\":19,\"meta_keyword\":20,\"meta_description\":21,\"color\":22,\"news_from_date\":23,\"news_to_date\":24,\"custom_design\":25,\"custom_design_from\":26,\"custom_design_to\":27,\"page_layout\":28,\"country_of_manufacture\":29,\"custom_layout\":30,\"msrp\":31,\"url_key\":32,\"tax_class_id\":33,\"gift_message_available\":34,\"actions\":35}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(7,2,'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},\"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},\"ids\":{\"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}},\"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},\"search\":{\"value\":\"\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(8,2,'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},\"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},\"ids\":{\"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}},\"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},\"search\":{\"value\":\"\"}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(9,2,'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},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"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'),(10,2,'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},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"search\":{\"value\":\"\"},\"filters\":{\"applied\":{\"placeholder\":true}},\"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'),(11,1,'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},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true,\"is_active\":[\"1\"]}},\"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,\"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'),(12,1,'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},\"creation_time\":{\"visible\":true,\"sorting\":false},\"update_time\":{\"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,\"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'),(13,1,'cms_page_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"search\":{\"value\":\"\"},\"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},\"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},\"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},\"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,\"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'),(14,1,'cms_page_listing','current',0,NULL,'{\"current\":{\"search\":{\"value\":\"\"},\"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},\"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},\"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},\"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,\"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'),(15,1,'mpbannerslider_slider_listing','current',0,NULL,'{\"current\":{\"columns\":{\"slider_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"banners\":{\"visible\":true,\"sorting\":false},\"location\":{\"visible\":true,\"sorting\":false},\"store_ids\":{\"visible\":true,\"sorting\":false},\"customer_group_ids\":{\"visible\":true,\"sorting\":false},\"priority\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"from_date\":{\"visible\":true,\"sorting\":false},\"to_date\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"positions\":{\"ids\":0,\"slider_id\":1,\"name\":2,\"status\":3,\"banners\":4,\"location\":5,\"store_ids\":6,\"customer_group_ids\":7,\"priority\":8,\"from_date\":9,\"to_date\":10,\"actions\":11},\"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'),(16,1,'mpbannerslider_slider_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},\"banners\":{\"visible\":true,\"sorting\":false},\"location\":{\"visible\":true,\"sorting\":false},\"store_ids\":{\"visible\":true,\"sorting\":false},\"customer_group_ids\":{\"visible\":true,\"sorting\":false},\"priority\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"from_date\":{\"visible\":true,\"sorting\":false},\"to_date\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false}},\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"positions\":{\"ids\":0,\"slider_id\":1,\"name\":2,\"status\":3,\"banners\":4,\"location\":5,\"store_ids\":6,\"customer_group_ids\":7,\"priority\":8,\"from_date\":9,\"to_date\":10,\"actions\":11},\"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'),(17,1,'mpbannerslider_banner_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"displayMode\":\"grid\",\"columns\":{\"type\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"created_at\":{\"visible\":true,\"sorting\":false},\"updated_at\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"banner_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"image\":{\"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,\"banner_id\":1,\"image\":2,\"name\":3,\"type\":4,\"status\":5,\"created_at\":6,\"updated_at\":7,\"actions\":8}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(18,1,'mpbannerslider_banner_listing','current',0,NULL,'{\"current\":{\"filters\":{\"applied\":{\"placeholder\":true}},\"displayMode\":\"grid\",\"columns\":{\"type\":{\"visible\":true,\"sorting\":false},\"status\":{\"visible\":true,\"sorting\":false},\"created_at\":{\"visible\":true,\"sorting\":false},\"updated_at\":{\"visible\":true,\"sorting\":false},\"ids\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"banner_id\":{\"visible\":true,\"sorting\":\"asc\"},\"name\":{\"visible\":true,\"sorting\":false},\"image\":{\"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,\"banner_id\":1,\"image\":2,\"name\":3,\"type\":4,\"status\":5,\"created_at\":6,\"updated_at\":7,\"actions\":8}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(19,1,'product_attributes_grid','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"columns\":{\"ids\":{\"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},\"is_filterable\":{\"visible\":true,\"sorting\":false},\"attribute_code\":{\"visible\":true,\"sorting\":\"asc\"},\"frontend_label\":{\"visible\":true,\"sorting\":false}},\"positions\":{\"ids\":0,\"attribute_code\":1,\"frontend_label\":2,\"is_required\":3,\"is_user_defined\":4,\"is_visible\":5,\"is_global\":6,\"is_searchable\":7,\"is_comparable\":8,\"is_filterable\":9},\"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}},\"value\":\"Default View\"}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(20,1,'product_attributes_grid','current',0,NULL,'{\"current\":{\"columns\":{\"ids\":{\"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},\"is_filterable\":{\"visible\":true,\"sorting\":false},\"attribute_code\":{\"visible\":true,\"sorting\":\"asc\"},\"frontend_label\":{\"visible\":true,\"sorting\":false}},\"positions\":{\"ids\":0,\"attribute_code\":1,\"frontend_label\":2,\"is_required\":3,\"is_user_defined\":4,\"is_visible\":5,\"is_global\":6,\"is_searchable\":7,\"is_comparable\":8,\"is_filterable\":9},\"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}}}','0000-00-00 00:00:00','0000-00-00 00:00:00'),(21,1,'design_config_listing','default',1,'Default View','{\"views\":{\"default\":{\"label\":\"Default View\",\"index\":\"default\",\"editable\":false,\"data\":{\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"default\":{\"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\":{\"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,1,'design_config_listing','current',0,NULL,'{\"current\":{\"displayMode\":\"grid\",\"filters\":{\"applied\":{\"placeholder\":true}},\"columns\":{\"theme_theme_id\":{\"visible\":true,\"sorting\":false},\"store_website_id\":{\"visible\":true,\"sorting\":false},\"store_group_id\":{\"visible\":true,\"sorting\":false},\"store_id\":{\"visible\":true,\"sorting\":false},\"actions\":{\"visible\":true,\"sorting\":false},\"default\":{\"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\":{\"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');

--
-- Table structure for table `mag2_url_rewrite`
--

CREATE TABLE `mag2_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 `MAG2_URL_REWRITE_REQUEST_PATH_STORE_ID` (`request_path`,`store_id`),
  KEY `MAG2_URL_REWRITE_TARGET_PATH` (`target_path`),
  KEY `MAG2_URL_REWRITE_STORE_ID_ENTITY_ID` (`store_id`,`entity_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1297 DEFAULT CHARSET=utf8 COMMENT='Url Rewrites';

--
-- Dumping data for table `mag2_url_rewrite`
--

INSERT INTO `mag2_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),(616,'cms-page',6,'customer-service','cms/page/view/page_id/6',0,1,NULL,1,NULL),(1091,'cms-page',7,'about-us-old','cms/page/view/page_id/7',0,1,NULL,1,NULL),(1092,'cms-page',7,'about-us-old','cms/page/view/page_id/7',0,2,NULL,1,NULL),(1095,'cms-page',9,'wokiee_404','cms/page/view/page_id/9',0,1,NULL,1,NULL),(1096,'cms-page',9,'wokiee_404','cms/page/view/page_id/9',0,2,NULL,1,NULL),(1098,'cms-page',5,'about-us','cms/page/view/page_id/5',0,1,NULL,1,NULL),(1099,'cms-page',11,'wk-faq','cms/page/view/page_id/11',0,1,NULL,1,NULL),(1100,'cms-page',11,'wk-faq','cms/page/view/page_id/11',0,2,NULL,1,NULL),(1101,'cms-page',12,'term-and-conditions','cms/page/view/page_id/12',0,1,NULL,1,NULL),(1102,'cms-page',13,'help_and_support','cms/page/view/page_id/13',0,1,NULL,1,NULL),(1103,'cms-page',13,'help_and_support','cms/page/view/page_id/13',0,2,NULL,1,NULL),(1104,'cms-page',14,'delivery-information','cms/page/view/page_id/14',0,1,NULL,1,NULL),(1105,'cms-page',14,'delivery-information','cms/page/view/page_id/14',0,2,NULL,1,NULL),(1106,'cms-page',15,'cancelation-and-refund-policy','cms/page/view/page_id/15',0,1,NULL,1,NULL),(1107,'cms-page',15,'cancelation-and-refund-policy','cms/page/view/page_id/15',0,2,NULL,1,NULL),(1108,'cms-page',16,'cancelation-and-refund-policy_ar','cms/page/view/page_id/16',0,1,NULL,1,NULL),(1109,'cms-page',16,'cancelation-and-refund-policy_ar','cms/page/view/page_id/16',0,2,NULL,1,NULL),(1110,'cms-page',17,'delivery-information_ar','cms/page/view/page_id/17',0,1,NULL,1,NULL),(1111,'cms-page',17,'delivery-information_ar','cms/page/view/page_id/17',0,2,NULL,1,NULL),(1112,'cms-page',18,'contactus_ar','cms/page/view/page_id/18',0,1,NULL,1,NULL),(1113,'cms-page',18,'contactus_ar','cms/page/view/page_id/18',0,2,NULL,1,NULL),(1114,'cms-page',19,'contact-us','cms/page/view/page_id/19',0,1,NULL,1,NULL),(1115,'cms-page',19,'contact-us','cms/page/view/page_id/19',0,2,NULL,1,NULL),(1116,'cms-page',20,'termsandconditions_ar','cms/page/view/page_id/20',0,2,NULL,1,NULL),(1117,'cms-page',21,'aboutus_ar','cms/page/view/page_id/21',0,2,NULL,1,NULL),(1118,'cms-page',22,'privacy_ar','cms/page/view/page_id/22',0,2,NULL,1,NULL),(1119,'cms-page',23,'come-soon-custom','cms/page/view/page_id/23',0,1,NULL,1,NULL),(1120,'cms-page',23,'come-soon-custom','cms/page/view/page_id/23',0,2,NULL,1,NULL),(1123,'cms-page',25,'privacy-policy','cms/page/view/page_id/25',0,1,NULL,1,NULL),(1124,'category',41,'shampoo.html','catalog/category/view/id/41',0,1,NULL,1,NULL),(1125,'category',41,'shampoo.html','catalog/category/view/id/41',0,2,NULL,1,NULL),(1126,'category',42,'conditioner.html','catalog/category/view/id/42',0,1,NULL,1,NULL),(1127,'category',42,'conditioner.html','catalog/category/view/id/42',0,2,NULL,1,NULL),(1128,'category',43,'hair-mask.html','catalog/category/view/id/43',0,1,NULL,1,NULL),(1129,'category',43,'hair-mask.html','catalog/category/view/id/43',0,2,NULL,1,NULL),(1137,'category',45,'serum.html','catalog/category/view/id/45',0,1,NULL,1,NULL),(1138,'category',45,'serum.html','catalog/category/view/id/45',0,2,NULL,1,NULL),(1139,'category',46,'promotion-packages.html','catalog/category/view/id/46',0,1,NULL,1,NULL),(1140,'category',46,'promotion-packages.html','catalog/category/view/id/46',0,2,NULL,1,NULL),(1141,'category',47,'hair-treatment.html','catalog/category/view/id/47',0,1,NULL,1,NULL),(1142,'category',47,'hair-treatment.html','catalog/category/view/id/47',0,2,NULL,1,NULL),(1143,'product',1,'moisture-lock-conditioner-250-ml.html','catalog/product/view/id/1',0,1,NULL,1,NULL),(1144,'product',1,'conditioner/moisture-lock-conditioner-250-ml.html','catalog/product/view/id/1/category/42',0,1,NULL,1,'{\"category_id\":\"42\"}'),(1145,'product',1,'moisture-lock-conditioner-250-ml.html','catalog/product/view/id/1',0,2,NULL,1,NULL),(1146,'product',1,'conditioner/moisture-lock-conditioner-250-ml.html','catalog/product/view/id/1/category/42',0,2,NULL,1,'{\"category_id\":\"42\"}'),(1175,'product',9,'pure-keratin-reconstructing-shampoo-1000-ml.html','catalog/product/view/id/9',0,1,NULL,1,NULL),(1176,'product',9,'shampoo/pure-keratin-reconstructing-shampoo-1000-ml.html','catalog/product/view/id/9/category/41',0,1,NULL,1,'{\"category_id\":\"41\"}'),(1177,'product',9,'pure-keratin-reconstructing-shampoo-1000-ml.html','catalog/product/view/id/9',0,2,NULL,1,NULL),(1178,'product',9,'shampoo/pure-keratin-reconstructing-shampoo-1000-ml.html','catalog/product/view/id/9/category/41',0,2,NULL,1,'{\"category_id\":\"41\"}'),(1179,'product',10,'shimmer-30-ml.html','catalog/product/view/id/10',0,1,NULL,1,NULL),(1180,'product',10,'serum/shimmer-30-ml.html','catalog/product/view/id/10/category/45',0,1,NULL,1,'{\"category_id\":\"45\"}'),(1181,'product',10,'shimmer-30-ml.html','catalog/product/view/id/10',0,2,NULL,1,NULL),(1182,'product',10,'serum/shimmer-30-ml.html','catalog/product/view/id/10/category/45',0,2,NULL,1,'{\"category_id\":\"45\"}'),(1183,'product',11,'enhancer-masque-500-ml.html','catalog/product/view/id/11',0,1,NULL,1,NULL),(1184,'product',11,'hair-mask/enhancer-masque-500-ml.html','catalog/product/view/id/11/category/43',0,1,NULL,1,'{\"category_id\":\"43\"}'),(1185,'product',11,'enhancer-masque-500-ml.html','catalog/product/view/id/11',0,2,NULL,1,NULL),(1186,'product',11,'hair-mask/enhancer-masque-500-ml.html','catalog/product/view/id/11/category/43',0,2,NULL,1,'{\"category_id\":\"43\"}'),(1199,'product',15,'timless-blend-masque-500-ml.html','catalog/product/view/id/15',0,1,NULL,1,NULL),(1200,'product',15,'hair-mask/timless-blend-masque-500-ml.html','catalog/product/view/id/15/category/43',0,1,NULL,1,'{\"category_id\":\"43\"}'),(1201,'product',15,'timless-blend-masque-500-ml.html','catalog/product/view/id/15',0,2,NULL,1,NULL),(1202,'product',15,'hair-mask/timless-blend-masque-500-ml.html','catalog/product/view/id/15/category/43',0,2,NULL,1,'{\"category_id\":\"43\"}'),(1203,'product',16,'miracle-rapid-repair-hair-treatment-100-ml.html','catalog/product/view/id/16',0,1,NULL,1,NULL),(1204,'product',16,'hair-mask/miracle-rapid-repair-hair-treatment-100-ml.html','catalog/product/view/id/16/category/43',0,1,NULL,1,'{\"category_id\":\"43\"}'),(1205,'product',16,'serum/miracle-rapid-repair-hair-treatment-100-ml.html','catalog/product/view/id/16/category/45',0,1,NULL,1,'{\"category_id\":\"45\"}'),(1206,'product',16,'miracle-rapid-repair-hair-treatment-100-ml.html','catalog/product/view/id/16',0,2,NULL,1,NULL),(1207,'product',16,'hair-mask/miracle-rapid-repair-hair-treatment-100-ml.html','catalog/product/view/id/16/category/43',0,2,NULL,1,'{\"category_id\":\"43\"}'),(1208,'product',16,'serum/miracle-rapid-repair-hair-treatment-100-ml.html','catalog/product/view/id/16/category/45',0,2,NULL,1,'{\"category_id\":\"45\"}'),(1209,'product',17,'timless-blend-shampoo-250-ml.html','catalog/product/view/id/17',0,1,NULL,1,NULL),(1210,'product',17,'shampoo/timless-blend-shampoo-250-ml.html','catalog/product/view/id/17/category/41',0,1,NULL,1,'{\"category_id\":\"41\"}'),(1211,'product',17,'timless-blend-shampoo-250-ml.html','catalog/product/view/id/17',0,2,NULL,1,NULL),(1212,'product',17,'shampoo/timless-blend-shampoo-250-ml.html','catalog/product/view/id/17/category/41',0,2,NULL,1,'{\"category_id\":\"41\"}'),(1213,'product',18,'moisture-lock-shampoo-250-ml.html','catalog/product/view/id/18',0,1,NULL,1,NULL),(1214,'product',18,'shampoo/moisture-lock-shampoo-250-ml.html','catalog/product/view/id/18/category/41',0,1,NULL,1,'{\"category_id\":\"41\"}'),(1215,'product',18,'moisture-lock-shampoo-250-ml.html','catalog/product/view/id/18',0,2,NULL,1,NULL),(1216,'product',18,'shampoo/moisture-lock-shampoo-250-ml.html','catalog/product/view/id/18/category/41',0,2,NULL,1,'{\"category_id\":\"41\"}'),(1221,'product',20,'pure-keratin-reconstructing-conditioner-1000-ml.html','catalog/product/view/id/20',0,1,NULL,1,NULL),(1222,'product',20,'conditioner/pure-keratin-reconstructing-conditioner-1000-ml.html','catalog/product/view/id/20/category/42',0,1,NULL,1,'{\"category_id\":\"42\"}'),(1223,'product',20,'pure-keratin-reconstructing-conditioner-1000-ml.html','catalog/product/view/id/20',0,2,NULL,1,NULL),(1224,'product',20,'conditioner/pure-keratin-reconstructing-conditioner-1000-ml.html','catalog/product/view/id/20/category/42',0,2,NULL,1,'{\"category_id\":\"42\"}'),(1225,'product',21,'timless-blend-shampoo-1000-ml.html','catalog/product/view/id/21',0,1,NULL,1,NULL),(1226,'product',21,'shampoo/timless-blend-shampoo-1000-ml.html','catalog/product/view/id/21/category/41',0,1,NULL,1,'{\"category_id\":\"41\"}'),(1227,'product',21,'timless-blend-shampoo-1000-ml.html','catalog/product/view/id/21',0,2,NULL,1,NULL),(1228,'product',21,'shampoo/timless-blend-shampoo-1000-ml.html','catalog/product/view/id/21/category/41',0,2,NULL,1,'{\"category_id\":\"41\"}'),(1229,'product',22,'moisture-lock-shampoo-1000-ml.html','catalog/product/view/id/22',0,1,NULL,1,NULL),(1230,'product',22,'shampoo/moisture-lock-shampoo-1000-ml.html','catalog/product/view/id/22/category/41',0,1,NULL,1,'{\"category_id\":\"41\"}'),(1231,'product',22,'moisture-lock-shampoo-1000-ml.html','catalog/product/view/id/22',0,2,NULL,1,NULL),(1232,'product',22,'shampoo/moisture-lock-shampoo-1000-ml.html','catalog/product/view/id/22/category/41',0,2,NULL,1,'{\"category_id\":\"41\"}'),(1233,'product',23,'deep-intense-hydrating-masque-500-ml.html','catalog/product/view/id/23',0,1,NULL,1,NULL),(1234,'product',23,'hair-mask/deep-intense-hydrating-masque-500-ml.html','catalog/product/view/id/23/category/43',0,1,NULL,1,'{\"category_id\":\"43\"}'),(1235,'product',23,'deep-intense-hydrating-masque-500-ml.html','catalog/product/view/id/23',0,2,NULL,1,NULL),(1236,'product',23,'hair-mask/deep-intense-hydrating-masque-500-ml.html','catalog/product/view/id/23/category/43',0,2,NULL,1,'{\"category_id\":\"43\"}'),(1237,'product',24,'timless-blend-conditioner-1000-ml.html','catalog/product/view/id/24',0,1,NULL,1,NULL),(1238,'product',24,'conditioner/timless-blend-conditioner-1000-ml.html','catalog/product/view/id/24/category/42',0,1,NULL,1,'{\"category_id\":\"42\"}'),(1239,'product',24,'timless-blend-conditioner-1000-ml.html','catalog/product/view/id/24',0,2,NULL,1,NULL),(1240,'product',24,'conditioner/timless-blend-conditioner-1000-ml.html','catalog/product/view/id/24/category/42',0,2,NULL,1,'{\"category_id\":\"42\"}'),(1241,'product',25,'moisture-lock-conditioner-1000-ml.html','catalog/product/view/id/25',0,1,NULL,1,NULL),(1242,'product',25,'conditioner/moisture-lock-conditioner-1000-ml.html','catalog/product/view/id/25/category/42',0,1,NULL,1,'{\"category_id\":\"42\"}'),(1243,'product',25,'moisture-lock-conditioner-1000-ml.html','catalog/product/view/id/25',0,2,NULL,1,NULL),(1244,'product',25,'conditioner/moisture-lock-conditioner-1000-ml.html','catalog/product/view/id/25/category/42',0,2,NULL,1,'{\"category_id\":\"42\"}'),(1245,'product',26,'extender-90-ml.html','catalog/product/view/id/26',0,1,NULL,1,NULL),(1246,'product',26,'serum/extender-90-ml.html','catalog/product/view/id/26/category/45',0,1,NULL,1,'{\"category_id\":\"45\"}'),(1247,'product',26,'extender-90-ml.html','catalog/product/view/id/26',0,2,NULL,1,NULL),(1248,'product',26,'serum/extender-90-ml.html','catalog/product/view/id/26/category/45',0,2,NULL,1,'{\"category_id\":\"45\"}'),(1249,'product',27,'timless-blend-conditioner-250-ml.html','catalog/product/view/id/27',0,1,NULL,1,NULL),(1250,'product',27,'conditioner/timless-blend-conditioner-250-ml.html','catalog/product/view/id/27/category/42',0,1,NULL,1,'{\"category_id\":\"42\"}'),(1251,'product',27,'timless-blend-conditioner-250-ml.html','catalog/product/view/id/27',0,2,NULL,1,NULL),(1252,'product',27,'conditioner/timless-blend-conditioner-250-ml.html','catalog/product/view/id/27/category/42',0,2,NULL,1,'{\"category_id\":\"42\"}'),(1253,'product',28,'timless-blend-masque-250-ml.html','catalog/product/view/id/28',0,1,NULL,1,NULL),(1254,'product',28,'hair-mask/timless-blend-masque-250-ml.html','catalog/product/view/id/28/category/43',0,1,NULL,1,'{\"category_id\":\"43\"}'),(1255,'product',28,'timless-blend-masque-250-ml.html','catalog/product/view/id/28',0,2,NULL,1,NULL),(1256,'product',28,'hair-mask/timless-blend-masque-250-ml.html','catalog/product/view/id/28/category/43',0,2,NULL,1,'{\"category_id\":\"43\"}'),(1257,'product',29,'pure-keratin-reconstructing-shampoo-250-ml.html','catalog/product/view/id/29',0,1,NULL,1,NULL),(1258,'product',29,'shampoo/pure-keratin-reconstructing-shampoo-250-ml.html','catalog/product/view/id/29/category/41',0,1,NULL,1,'{\"category_id\":\"41\"}'),(1259,'product',29,'pure-keratin-reconstructing-shampoo-250-ml.html','catalog/product/view/id/29',0,2,NULL,1,NULL),(1260,'product',29,'shampoo/pure-keratin-reconstructing-shampoo-250-ml.html','catalog/product/view/id/29/category/41',0,2,NULL,1,'{\"category_id\":\"41\"}'),(1261,'product',30,'pure-keratin-reconstructing-conditioner-250-ml.html','catalog/product/view/id/30',0,1,NULL,1,NULL),(1262,'product',30,'conditioner/pure-keratin-reconstructing-conditioner-250-ml.html','catalog/product/view/id/30/category/42',0,1,NULL,1,'{\"category_id\":\"42\"}'),(1263,'product',30,'pure-keratin-reconstructing-conditioner-250-ml.html','catalog/product/view/id/30',0,2,NULL,1,NULL),(1264,'product',30,'conditioner/pure-keratin-reconstructing-conditioner-250-ml.html','catalog/product/view/id/30/category/42',0,2,NULL,1,'{\"category_id\":\"42\"}'),(1265,'product',31,'age-restore-package-1000-ml.html','catalog/product/view/id/31',0,1,NULL,1,NULL),(1266,'product',31,'promotion-packages/age-restore-package-1000-ml.html','catalog/product/view/id/31/category/46',0,1,NULL,1,'{\"category_id\":\"46\"}'),(1267,'product',31,'age-restore-package-1000-ml.html','catalog/product/view/id/31',0,2,NULL,1,NULL),(1268,'product',31,'promotion-packages/age-restore-package-1000-ml.html','catalog/product/view/id/31/category/46',0,2,NULL,1,'{\"category_id\":\"46\"}'),(1273,'product',32,'age-restore-package-250-ml-1.html','catalog/product/view/id/32',0,1,NULL,1,NULL),(1274,'product',32,'promotion-packages/age-restore-package-250-ml-1.html','catalog/product/view/id/32/category/46',0,1,NULL,1,'{\"category_id\":\"46\"}'),(1275,'product',32,'age-restore-package-1000-ml-1.html','age-restore-package-250-ml-1.html',301,1,NULL,0,'[]'),(1276,'product',32,'promotion-packages/age-restore-package-1000-ml-1.html','promotion-packages/age-restore-package-250-ml-1.html',301,1,NULL,0,'{\"category_id\":\"46\"}'),(1277,'product',32,'age-restore-package-250-ml-1.html','catalog/product/view/id/32',0,2,NULL,1,NULL),(1278,'product',32,'promotion-packages/age-restore-package-250-ml-1.html','catalog/product/view/id/32/category/46',0,2,NULL,1,'{\"category_id\":\"46\"}'),(1279,'product',32,'age-restore-package-1000-ml-1.html','age-restore-package-250-ml-1.html',301,2,NULL,0,'[]'),(1280,'product',32,'promotion-packages/age-restore-package-1000-ml-1.html','promotion-packages/age-restore-package-250-ml-1.html',301,2,NULL,0,'{\"category_id\":\"46\"}'),(1281,'product',33,'k-perfection-package-250ml.html','catalog/product/view/id/33',0,1,NULL,1,NULL),(1282,'product',33,'promotion-packages/k-perfection-package-250ml.html','catalog/product/view/id/33/category/46',0,1,NULL,1,'{\"category_id\":\"46\"}'),(1283,'product',33,'k-perfection-package-250ml.html','catalog/product/view/id/33',0,2,NULL,1,NULL),(1284,'product',33,'promotion-packages/k-perfection-package-250ml.html','catalog/product/view/id/33/category/46',0,2,NULL,1,'{\"category_id\":\"46\"}'),(1285,'product',34,'k-perfection-package-1000-ml.html','catalog/product/view/id/34',0,1,NULL,1,NULL),(1286,'product',34,'promotion-packages/k-perfection-package-1000-ml.html','catalog/product/view/id/34/category/46',0,1,NULL,1,'{\"category_id\":\"46\"}'),(1287,'product',34,'k-perfection-package-1000-ml.html','catalog/product/view/id/34',0,2,NULL,1,NULL),(1288,'product',34,'promotion-packages/k-perfection-package-1000-ml.html','catalog/product/view/id/34/category/46',0,2,NULL,1,'{\"category_id\":\"46\"}'),(1289,'product',35,'fairy-silk-package-1000ml.html','catalog/product/view/id/35',0,1,NULL,1,NULL),(1290,'product',35,'promotion-packages/fairy-silk-package-1000ml.html','catalog/product/view/id/35/category/46',0,1,NULL,1,'{\"category_id\":\"46\"}'),(1291,'product',35,'fairy-silk-package-1000ml.html','catalog/product/view/id/35',0,2,NULL,1,NULL),(1292,'product',35,'promotion-packages/fairy-silk-package-1000ml.html','catalog/product/view/id/35/category/46',0,2,NULL,1,'{\"category_id\":\"46\"}'),(1293,'product',36,'fairy-silk-package-1000ml-1.html','catalog/product/view/id/36',0,1,NULL,1,NULL),(1294,'product',36,'promotion-packages/fairy-silk-package-1000ml-1.html','catalog/product/view/id/36/category/46',0,1,NULL,1,'{\"category_id\":\"46\"}'),(1295,'product',36,'fairy-silk-package-1000ml-1.html','catalog/product/view/id/36',0,2,NULL,1,NULL),(1296,'product',36,'promotion-packages/fairy-silk-package-1000ml-1.html','catalog/product/view/id/36/category/46',0,2,NULL,1,'{\"category_id\":\"46\"}');

--
-- Table structure for table `mag2_variable`
--

CREATE TABLE `mag2_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 `MAG2_VARIABLE_CODE` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variables';

--
-- Dumping data for table `mag2_variable`
--


--
-- Table structure for table `mag2_variable_value`
--

CREATE TABLE `mag2_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 `MAG2_VARIABLE_VALUE_VARIABLE_ID_STORE_ID` (`variable_id`,`store_id`),
  KEY `MAG2_VARIABLE_VALUE_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_VARIABLE_VALUE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_VARIABLE_VALUE_VARIABLE_ID_VARIABLE_VARIABLE_ID` FOREIGN KEY (`variable_id`) REFERENCES `mag2_variable` (`variable_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variable Value';

--
-- Dumping data for table `mag2_variable_value`
--


--
-- Table structure for table `mag2_vault_payment_token`
--

CREATE TABLE `mag2_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 DEFAULT '1',
  `is_visible` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `MAG2_VAULT_PAYMENT_TOKEN_HASH_UNIQUE_INDEX_PUBLIC_HASH` (`public_hash`),
  UNIQUE KEY `UNQ_DF8882950277807252C2F26F9D8377BB` (`payment_method_code`,`customer_id`,`gateway_token`),
  KEY `MAG2_VAULT_PAYMENT_TOKEN_CSTR_ID_MAG2_CSTR_ENTT_ENTT_ID` (`customer_id`),
  CONSTRAINT `MAG2_VAULT_PAYMENT_TOKEN_CSTR_ID_MAG2_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Vault tokens of payment';

--
-- Dumping data for table `mag2_vault_payment_token`
--


--
-- Table structure for table `mag2_vault_payment_token_order_payment_link`
--

CREATE TABLE `mag2_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_5CB22CFCFFF1B1E3976A523A3A397D87` (`payment_token_id`),
  CONSTRAINT `FK_0A47FF54D3011AB58D3F8CAC969AC348` FOREIGN KEY (`order_payment_id`) REFERENCES `mag2_sales_order_payment` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `FK_5CB22CFCFFF1B1E3976A523A3A397D87` FOREIGN KEY (`payment_token_id`) REFERENCES `mag2_vault_payment_token` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Order payments to vault token';

--
-- Dumping data for table `mag2_vault_payment_token_order_payment_link`
--


--
-- Table structure for table `mag2_vertex_customer_code`
--

CREATE TABLE `mag2_vertex_customer_code` (
  `customer_id` int(10) unsigned NOT NULL COMMENT 'Customer ID',
  `customer_code` text COMMENT 'Customer Code for Vertex',
  PRIMARY KEY (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='mag2_vertex_customer_code';

--
-- Dumping data for table `mag2_vertex_customer_code`
--


--
-- Table structure for table `mag2_vertex_invoice_sent`
--

CREATE TABLE `mag2_vertex_invoice_sent` (
  `invoice_id` int(10) unsigned NOT NULL COMMENT 'Invoice ID',
  `sent_to_vertex` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Invoice has been logged in Vertex',
  PRIMARY KEY (`invoice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='mag2_vertex_invoice_sent';

--
-- Dumping data for table `mag2_vertex_invoice_sent`
--


--
-- Table structure for table `mag2_vertex_order_invoice_status`
--

CREATE TABLE `mag2_vertex_order_invoice_status` (
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `sent_to_vertex` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Invoice has been logged in Vertex',
  PRIMARY KEY (`order_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='mag2_vertex_order_invoice_status';

--
-- Dumping data for table `mag2_vertex_order_invoice_status`
--


--
-- Table structure for table `mag2_vertex_taxrequest`
--

CREATE TABLE `mag2_vertex_taxrequest` (
  `request_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `request_type` varchar(255) NOT NULL COMMENT 'Request Type',
  `quote_id` bigint(20) DEFAULT NULL,
  `order_id` bigint(20) DEFAULT NULL,
  `total_tax` varchar(255) NOT NULL COMMENT 'Total Tax Amount',
  `source_path` varchar(255) NOT NULL COMMENT 'Source path controller_module_action',
  `tax_area_id` varchar(255) NOT NULL COMMENT 'Tax Jurisdictions Id',
  `sub_total` varchar(255) NOT NULL COMMENT 'Response Subtotal Amount',
  `total` varchar(255) NOT NULL COMMENT 'Response Total Amount',
  `lookup_result` varchar(255) NOT NULL COMMENT 'Tax Area Response Lookup Result',
  `request_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Request create date',
  `request_xml` text NOT NULL COMMENT 'Request XML',
  `response_xml` text NOT NULL COMMENT 'Response XML',
  PRIMARY KEY (`request_id`),
  UNIQUE KEY `MAG2_VERTEX_TAXREQUEST_REQUEST_ID` (`request_id`),
  KEY `MAG2_VERTEX_TAXREQUEST_REQUEST_TYPE` (`request_type`),
  KEY `MAG2_VERTEX_TAXREQUEST_ORDER_ID` (`order_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Log of requests to Vertex';

--
-- Dumping data for table `mag2_vertex_taxrequest`
--


--
-- Table structure for table `mag2_weee_tax`
--

CREATE TABLE `mag2_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 `MAG2_WEEE_TAX_WEBSITE_ID` (`website_id`),
  KEY `MAG2_WEEE_TAX_ENTITY_ID` (`entity_id`),
  KEY `MAG2_WEEE_TAX_COUNTRY` (`country`),
  KEY `MAG2_WEEE_TAX_ATTRIBUTE_ID` (`attribute_id`),
  CONSTRAINT `MAG2_WEEE_TAX_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID` FOREIGN KEY (`attribute_id`) REFERENCES `mag2_eav_attribute` (`attribute_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_WEEE_TAX_COUNTRY_DIRECTORY_COUNTRY_COUNTRY_ID` FOREIGN KEY (`country`) REFERENCES `mag2_directory_country` (`country_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_WEEE_TAX_ENTITY_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`entity_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_WEEE_TAX_WEBSITE_ID_STORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `mag2_store_website` (`website_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Weee Tax';

--
-- Dumping data for table `mag2_weee_tax`
--


--
-- Table structure for table `mag2_weltpixel_license`
--

CREATE TABLE `mag2_weltpixel_license` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Id',
  `module_name` varchar(255) DEFAULT NULL COMMENT 'Module Name',
  `license_key` text COMMENT 'License Key',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='WeltPixel License';

--
-- Dumping data for table `mag2_weltpixel_license`
--


--
-- Table structure for table `mag2_widget`
--

CREATE TABLE `mag2_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 `MAG2_WIDGET_WIDGET_CODE` (`widget_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Preconfigured Widgets';

--
-- Dumping data for table `mag2_widget`
--


--
-- Table structure for table `mag2_widget_instance`
--

CREATE TABLE `mag2_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 `MAG2_WIDGET_INSTANCE_THEME_ID_THEME_THEME_ID` (`theme_id`),
  CONSTRAINT `MAG2_WIDGET_INSTANCE_THEME_ID_THEME_THEME_ID` FOREIGN KEY (`theme_id`) REFERENCES `mag2_theme` (`theme_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COMMENT='Instances of Widget for Package Theme';

--
-- Dumping data for table `mag2_widget_instance`
--

INSERT INTO `mag2_widget_instance` VALUES (1,'Magento\\Cms\\Block\\Widget\\Block',2,'Contact us info','0','{\"block_id\":\"2\"}',0),(2,'Magento\\Cms\\Block\\Widget\\Block',2,'Footer Links','0','{\"block_id\":\"1\"}',0),(3,'Magento\\Cms\\Block\\Widget\\Block',2,'Sale Left Menu','0','{\"block_id\":\"3\"}',0),(4,'Magento\\Cms\\Block\\Widget\\Block',2,'Gear Left Menu','0','{\"block_id\":\"4\"}',0),(5,'Magento\\Cms\\Block\\Widget\\Block',2,'Men\'s Left Menu','0','{\"block_id\":\"5\"}',0),(6,'Magento\\Cms\\Block\\Widget\\Block',2,'Women\'s Left Menu','0','{\"block_id\":\"6\"}',0),(7,'Magento\\Cms\\Block\\Widget\\Block',2,'What\'s New Left Menu','0','{\"block_id\":\"7\"}',0),(8,'Magento\\Cms\\Block\\Widget\\Block',2,'Women Category Content','0','{\"block_id\":\"8\"}',0),(9,'Magento\\Cms\\Block\\Widget\\Block',2,'Training Category Content','0','{\"block_id\":\"9\"}',0),(10,'Magento\\Cms\\Block\\Widget\\Block',2,'Men Category Content','0','{\"block_id\":\"10\"}',0),(11,'Magento\\Cms\\Block\\Widget\\Block',2,'Gear Category Content','0','{\"block_id\":\"11\"}',0),(12,'Magento\\Cms\\Block\\Widget\\Block',2,'New Products Category Content','0','{\"block_id\":\"13\"}',0),(13,'Magento\\Cms\\Block\\Widget\\Block',2,'Sale Category Content','0','{\"block_id\":\"12\"}',0),(14,'Magento\\Cms\\Block\\Widget\\Block',2,'Home Page','0','{\"block_id\":\"14\"}',0),(15,'Magento\\Cms\\Block\\Widget\\Block',2,'Performance Fabrics','0','{\"block_id\":\"15\"}',0),(16,'Magento\\Cms\\Block\\Widget\\Block',2,'Eco Friendly','0','{\"block_id\":\"16\"}',0),(17,'Magento\\Cms\\Block\\Widget\\Block',2,'Login Info','0','{\"block_id\":\"18\"}',0),(18,'Magento\\Cms\\Block\\Widget\\Block',2,'Giftcard Category Content','0','{\"block_id\":\"17\"}',0);

--
-- Table structure for table `mag2_widget_instance_page`
--

CREATE TABLE `mag2_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 `MAG2_WIDGET_INSTANCE_PAGE_INSTANCE_ID` (`instance_id`),
  CONSTRAINT `FK_F53996C97047B467E298E15BD8F7F5F0` FOREIGN KEY (`instance_id`) REFERENCES `mag2_widget_instance` (`instance_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COMMENT='Instance of Widget on Page';

--
-- Dumping data for table `mag2_widget_instance_page`
--

INSERT INTO `mag2_widget_instance_page` VALUES (1,1,'pages','contact_index_index','content.top','all','','widget/static_block/default.phtml'),(2,2,'all_pages','default','cms_footer_links_container','all','','widget/static_block/default.phtml'),(3,3,'anchor_categories','catalog_category_view_type_layered','sidebar.main','specific','37','widget/static_block/default.phtml'),(4,4,'anchor_categories','catalog_category_view_type_layered','sidebar.main','specific','3','widget/static_block/default.phtml'),(5,5,'anchor_categories','catalog_category_view_type_layered','sidebar.main','specific','11','widget/static_block/default.phtml'),(6,6,'anchor_categories','catalog_category_view_type_layered','sidebar.main','specific','20','widget/static_block/default.phtml'),(7,7,'anchor_categories','catalog_category_view_type_layered','sidebar.main','specific','38','widget/static_block/default.phtml'),(8,8,'anchor_categories','catalog_category_view_type_layered','content.top','specific','20','widget/static_block/default.phtml'),(9,9,'anchor_categories','catalog_category_view_type_layered','content.top','specific','9','widget/static_block/default.phtml'),(10,10,'anchor_categories','catalog_category_view_type_layered','content.top','specific','11','widget/static_block/default.phtml'),(11,11,'anchor_categories','catalog_category_view_type_layered','content.top','specific','3','widget/static_block/default.phtml'),(12,12,'anchor_categories','catalog_category_view_type_layered','content.top','specific','38','widget/static_block/default.phtml'),(13,13,'anchor_categories','catalog_category_view_type_layered','content.top','specific','37','widget/static_block/default.phtml'),(14,14,'pages','cms_index_index','content','all','','widget/static_block/default.phtml'),(15,15,'anchor_categories','catalog_category_view_type_layered','content.top','specific','39','widget/static_block/default.phtml'),(16,16,'anchor_categories','catalog_category_view_type_layered','content.top','specific','40','widget/static_block/default.phtml'),(17,17,'pages','customer_account_login','customer.login.container','all','','widget/static_block/default.phtml'),(18,18,'anchor_categories','catalog_category_view_type_layered','content.top','specific',NULL,'widget/static_block/default.phtml');

--
-- Table structure for table `mag2_widget_instance_page_layout`
--

CREATE TABLE `mag2_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 `MAG2_WIDGET_INSTANCE_PAGE_LAYOUT_LAYOUT_UPDATE_ID_PAGE_ID` (`layout_update_id`,`page_id`),
  KEY `MAG2_WIDGET_INSTANCE_PAGE_LAYOUT_PAGE_ID` (`page_id`),
  CONSTRAINT `FK_3CA6834FACACE966EE957D0F8FCC8F59` FOREIGN KEY (`layout_update_id`) REFERENCES `mag2_layout_update` (`layout_update_id`) ON DELETE CASCADE,
  CONSTRAINT `FK_AF7F70095028B96AD5B8D8209D7B0B0A` FOREIGN KEY (`page_id`) REFERENCES `mag2_widget_instance_page` (`page_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Layout updates';

--
-- Dumping data for table `mag2_widget_instance_page_layout`
--

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

--
-- Table structure for table `mag2_wishlist`
--

CREATE TABLE `mag2_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 `MAG2_WISHLIST_CUSTOMER_ID` (`customer_id`),
  KEY `MAG2_WISHLIST_SHARED` (`shared`),
  CONSTRAINT `MAG2_WISHLIST_CUSTOMER_ID_CUSTOMER_ENTITY_ENTITY_ID` FOREIGN KEY (`customer_id`) REFERENCES `mag2_customer_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Wishlist main Table';

--
-- Dumping data for table `mag2_wishlist`
--


--
-- Table structure for table `mag2_wishlist_item`
--

CREATE TABLE `mag2_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 `MAG2_WISHLIST_ITEM_WISHLIST_ID` (`wishlist_id`),
  KEY `MAG2_WISHLIST_ITEM_PRODUCT_ID` (`product_id`),
  KEY `MAG2_WISHLIST_ITEM_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_WISHLIST_ITEM_PRODUCT_ID_CATALOG_PRODUCT_ENTITY_ENTITY_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_WISHLIST_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE SET NULL,
  CONSTRAINT `MAG2_WISHLIST_ITEM_WISHLIST_ID_WISHLIST_WISHLIST_ID` FOREIGN KEY (`wishlist_id`) REFERENCES `mag2_wishlist` (`wishlist_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Wishlist items';

--
-- Dumping data for table `mag2_wishlist_item`
--


--
-- Table structure for table `mag2_wishlist_item_option`
--

CREATE TABLE `mag2_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_4BAADBECA2F55C14A8705A3362039D6E` (`wishlist_item_id`),
  CONSTRAINT `FK_4BAADBECA2F55C14A8705A3362039D6E` FOREIGN KEY (`wishlist_item_id`) REFERENCES `mag2_wishlist_item` (`wishlist_item_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Wishlist Item Option Table';

--
-- Dumping data for table `mag2_wishlist_item_option`
--



