INSERT INTO `mag2_report_event` VALUES (27423,'2021-10-13 09:52:15',1,135,865884,1,2),(27424,'2021-10-13 09:52:26',4,135,865884,1,2),(27425,'2021-10-13 09:52:31',1,129,865884,1,2),(27426,'2021-10-13 09:52:35',4,129,865884,1,2),(27427,'2021-10-13 09:53:46',1,129,865884,1,2),(27428,'2021-10-13 09:54:54',1,68,865888,1,2),(27429,'2021-10-13 09:55:09',1,68,865889,1,2),(27430,'2021-10-13 09:55:35',1,135,865889,1,2),(27431,'2021-10-13 11:37:36',1,132,865921,1,2),(27432,'2021-10-13 12:03:41',1,109,865924,1,2),(27433,'2021-10-13 13:34:36',1,127,865939,1,2),(27434,'2021-10-13 13:35:01',4,127,865939,1,2),(27435,'2021-10-13 13:35:08',1,90,865939,1,2),(27436,'2021-10-13 13:35:15',4,90,865939,1,2),(27437,'2021-10-13 13:35:24',1,88,865939,1,2),(27438,'2021-10-13 13:35:33',4,88,865939,1,2),(27439,'2021-10-13 13:35:49',1,68,865939,1,2),(27440,'2021-10-13 13:36:34',4,68,865939,1,2),(27441,'2021-10-13 13:36:40',4,68,865939,1,2),(27442,'2021-10-13 13:37:04',1,122,865939,1,2),(27443,'2021-10-13 13:37:11',4,122,865939,1,2),(27444,'2021-10-13 15:43:20',1,90,865948,1,2),(27445,'2021-10-13 15:43:30',4,90,865948,1,2),(27446,'2021-10-13 15:45:06',1,127,865948,1,2),(27447,'2021-10-13 15:45:43',1,132,865948,1,2),(27448,'2021-10-13 15:46:11',1,90,865948,1,2),(27449,'2021-10-13 15:46:19',4,90,865948,1,2),(27450,'2021-10-13 15:46:29',1,132,865948,1,2),(27451,'2021-10-13 15:46:42',1,132,865948,1,2),(27452,'2021-10-13 15:47:09',4,132,865948,1,2),(27453,'2021-10-13 15:47:21',1,88,865948,1,2),(27454,'2021-10-13 15:47:29',4,88,865948,1,2),(27455,'2021-10-13 15:47:49',1,68,865948,1,2),(27456,'2021-10-13 15:48:26',4,68,865948,1,2),(27457,'2021-10-13 15:48:41',4,68,865948,1,2),(27458,'2021-10-13 15:48:52',1,86,865948,1,2),(27459,'2021-10-13 15:49:14',4,86,865948,1,2),(27460,'2021-10-13 15:49:24',1,89,865948,1,2),(27461,'2021-10-13 15:49:33',4,89,865948,1,2),(27462,'2021-10-13 15:49:46',1,122,865948,1,2),(27463,'2021-10-13 15:49:51',4,122,865948,1,2),(27464,'2021-10-13 15:53:15',1,135,865949,1,2),(27465,'2021-10-13 15:54:16',1,132,865949,1,2),(27466,'2021-10-13 15:54:18',1,127,865949,1,2),(27467,'2021-10-13 15:54:19',1,129,865949,1,2),(27468,'2021-10-13 15:59:03',1,122,865949,1,2),(27469,'2021-10-13 16:02:53',1,95,865949,1,2),(27470,'2021-10-13 16:04:52',1,101,865949,1,2),(27471,'2021-10-13 16:06:28',1,109,865949,1,2),(27472,'2021-10-13 16:06:54',1,127,865950,1,2),(27473,'2021-10-13 16:07:32',1,90,865949,1,2),(27474,'2021-10-13 16:07:33',4,127,865950,1,2),(27475,'2021-10-13 16:07:40',1,90,865950,1,2),(27476,'2021-10-13 16:07:49',4,90,865950,1,2),(27477,'2021-10-13 16:07:58',1,88,865950,1,2),(27478,'2021-10-13 16:08:06',4,88,865950,1,2),(27479,'2021-10-13 16:08:27',1,68,865950,1,2),(27480,'2021-10-13 16:08:28',1,68,865949,1,2),(27481,'2021-10-13 16:08:29',1,86,865949,1,2),(27482,'2021-10-13 16:08:45',4,68,865950,1,2),(27483,'2021-10-13 16:08:52',4,68,865950,1,2),(27484,'2021-10-13 16:08:56',4,68,865950,1,2),(27485,'2021-10-13 16:09:21',1,89,865950,1,2),(27486,'2021-10-13 16:09:29',4,89,865950,1,2),(27487,'2021-10-13 16:09:42',1,122,865950,1,2),(27488,'2021-10-13 22:47:48',1,86,0,1,2),(27489,'2021-10-13 23:47:46',1,88,0,1,2),(27490,'2021-10-14 00:54:54',1,95,865967,1,2),(27491,'2021-10-14 07:25:20',4,128,865993,1,2),(27492,'2021-10-14 07:28:07',4,128,865993,1,2),(27493,'2021-10-14 07:30:14',1,132,865996,1,2),(27494,'2021-10-14 07:30:18',1,132,865996,1,2),(27495,'2021-10-14 07:30:24',4,132,865996,1,2),(27496,'2021-10-14 07:31:51',4,128,865996,1,2),(27497,'2021-10-14 07:32:52',4,128,865996,1,2),(27498,'2021-10-14 07:35:33',4,128,865996,1,2),(27499,'2021-10-14 07:39:09',1,95,865993,1,2),(27500,'2021-10-14 07:39:15',4,95,865993,1,2),(27501,'2021-10-14 07:49:16',1,90,865997,1,2),(27502,'2021-10-14 07:49:25',4,90,865997,1,2),(27503,'2021-10-14 07:49:30',1,127,865997,1,2),(27504,'2021-10-14 07:49:41',4,123,865998,1,2),(27505,'2021-10-14 07:50:48',4,127,865997,1,2),(27506,'2021-10-14 07:58:30',1,101,865999,1,2),(27507,'2021-10-14 07:58:42',4,101,865999,1,2),(27508,'2021-10-14 08:13:25',4,128,866002,1,2),(27509,'2021-10-14 10:04:18',1,88,866018,1,2),(27510,'2021-10-14 10:16:31',1,90,866020,1,2),(27511,'2021-10-14 10:47:23',1,68,866025,1,2),(27512,'2021-10-14 10:47:42',4,68,866025,1,2),(27513,'2021-10-14 11:24:57',4,128,866030,1,2),(27514,'2021-10-14 11:25:42',4,88,866030,1,2),(27515,'2021-10-14 11:35:09',1,68,866025,1,2),(27516,'2021-10-14 11:37:01',1,68,866030,1,2),(27517,'2021-10-14 11:46:41',1,95,866025,1,1),(27518,'2021-10-14 11:47:52',1,109,866025,1,1),(27519,'2021-10-14 11:49:03',1,95,866025,1,2),(27520,'2021-10-14 11:55:46',1,109,866030,1,2),(27521,'2021-10-14 11:56:36',1,95,866030,1,2),(27522,'2021-10-14 12:03:26',4,128,866034,1,2),(27523,'2021-10-14 12:04:17',1,109,866030,1,2),(27524,'2021-10-14 12:04:18',1,95,866030,1,2),(27525,'2021-10-14 12:07:40',1,95,866030,1,2),(27526,'2021-10-14 12:12:26',1,109,866030,1,2),(27527,'2021-10-14 12:12:42',1,68,866030,1,2),(27528,'2021-10-14 12:23:19',1,86,866040,1,2),(27529,'2021-10-14 12:31:50',1,143,866030,1,2),(27530,'2021-10-14 12:32:10',1,109,866030,1,2),(27531,'2021-10-14 12:32:30',1,143,866030,1,2),(27532,'2021-10-14 12:32:48',4,143,866030,1,2),(27533,'2021-10-14 12:33:07',1,109,866030,1,2),(27534,'2021-10-14 12:33:23',1,86,866030,1,2),(27535,'2021-10-14 12:33:42',1,95,866030,1,2),(27536,'2021-10-14 12:36:50',1,95,866030,1,2),(27537,'2021-10-14 12:37:19',1,135,0,1,2),(27538,'2021-10-14 12:47:20',1,127,0,1,2),(27539,'2021-10-14 12:51:28',1,127,866043,1,2),(27540,'2021-10-14 16:36:26',1,132,866070,1,2),(27541,'2021-10-14 21:21:51',1,89,866093,1,2),(27542,'2021-10-14 21:59:04',1,109,0,1,2),(27543,'2021-10-14 22:35:21',1,101,0,1,2),(27544,'2021-10-14 23:02:05',1,122,0,1,2),(27545,'2021-10-15 00:08:01',1,124,0,1,2),(27546,'2021-10-15 03:39:16',1,143,0,1,2),(27547,'2021-10-15 03:59:04',1,123,0,1,2),(27548,'2021-10-15 08:27:27',4,90,866203,1,2),(27549,'2021-10-15 08:27:30',4,88,866203,1,2),(27550,'2021-10-15 08:27:33',4,89,866203,1,2),(27551,'2021-10-15 08:27:35',1,101,866203,1,2),(27552,'2021-10-15 08:27:55',4,101,866203,1,2),(27553,'2021-10-15 08:57:36',1,124,866208,1,2),(27554,'2021-10-15 09:56:06',1,122,866216,1,2),(27555,'2021-10-15 10:31:13',1,101,866233,1,2),(27556,'2021-10-15 13:00:10',1,129,866254,1,2),(27557,'2021-10-15 13:11:34',1,128,866255,1,2),(27558,'2021-10-15 14:27:44',1,89,866259,1,2),(27559,'2021-10-16 00:54:52',1,123,0,1,2),(27560,'2021-10-16 06:59:06',1,143,866336,1,2),(27561,'2021-10-16 07:55:42',1,88,866341,1,2),(27562,'2021-10-16 09:41:12',4,88,866351,1,2),(27563,'2021-10-16 09:41:13',4,89,866351,1,2),(27564,'2021-10-16 09:41:16',1,101,866351,1,2),(27565,'2021-10-16 09:42:11',1,95,866351,1,2),(27566,'2021-10-16 09:42:30',4,95,866351,1,2),(27567,'2021-10-16 09:43:20',1,89,866351,1,2),(27568,'2021-10-16 09:45:17',4,88,866351,1,2),(27569,'2021-10-16 09:45:24',4,89,866351,1,2),(27570,'2021-10-16 09:45:39',1,109,866351,1,2),(27571,'2021-10-16 09:46:18',1,95,866351,1,2),(27572,'2021-10-16 09:46:33',4,95,866351,1,2),(27573,'2021-10-16 10:22:49',1,109,866356,1,2),(27574,'2021-10-16 10:22:56',4,109,866356,1,2),(27575,'2021-10-16 10:22:59',4,109,866356,1,2),(27576,'2021-10-16 10:23:02',4,109,866356,1,2),(27577,'2021-10-16 10:24:08',1,143,866356,1,2),(27578,'2021-10-16 10:25:10',4,143,866356,1,2),(27579,'2021-10-16 10:25:15',4,143,866356,1,2),(27580,'2021-10-16 12:54:52',1,123,866370,1,2),(27581,'2021-10-16 13:40:39',1,109,866374,1,2),(27582,'2021-10-16 13:41:52',1,124,866374,1,2),(27583,'2021-10-16 14:10:53',1,122,866379,1,2),(27584,'2021-10-16 16:28:43',4,129,866411,1,2),(27585,'2021-10-16 16:28:48',1,127,866411,1,2),(27586,'2021-10-16 16:29:03',4,127,866411,1,2),(27587,'2021-10-16 16:29:16',4,122,866411,1,2),(27588,'2021-10-16 16:29:31',4,90,866411,1,2),(27589,'2021-10-16 16:29:33',4,88,866411,1,2),(27590,'2021-10-16 16:29:36',4,89,866411,1,2),(27591,'2021-10-16 21:48:31',1,124,866436,1,2),(27592,'2021-10-16 23:19:38',1,89,866448,1,2),(27593,'2021-10-17 12:26:36',1,135,866500,1,2),(27594,'2021-10-17 12:35:07',1,122,866501,1,2),(27595,'2021-10-17 13:09:09',1,122,0,1,2),(27596,'2021-10-17 13:51:47',1,123,866507,1,2),(27597,'2021-10-17 15:45:54',1,86,0,1,2),(27598,'2021-10-17 17:03:34',1,127,866532,1,2),(27599,'2021-10-17 17:03:56',1,135,866532,1,2),(27600,'2021-10-17 17:04:19',4,135,866532,1,2),(27601,'2021-10-17 17:04:31',1,127,866532,1,2),(27602,'2021-10-17 17:04:46',4,127,866532,1,2),(27603,'2021-10-17 17:04:56',1,132,866532,1,2),(27604,'2021-10-17 17:05:10',4,132,866532,1,2),(27605,'2021-10-17 17:05:53',4,124,866532,1,2),(27606,'2021-10-17 17:05:57',4,122,866532,1,2),(27607,'2021-10-17 17:06:09',4,88,866532,1,2),(27608,'2021-10-17 17:07:05',1,109,866532,1,2),(27609,'2021-10-17 17:07:18',4,109,866532,1,2),(27610,'2021-10-17 17:07:24',4,109,866532,1,2),(27611,'2021-10-17 17:08:03',4,128,866532,1,2),(27612,'2021-10-17 17:08:22',1,127,866532,1,2),(27613,'2021-10-17 17:08:31',4,127,866532,1,2),(27614,'2021-10-17 17:09:00',1,135,866532,1,2),(27615,'2021-10-17 17:09:08',4,135,866532,1,2),(27616,'2021-10-17 17:09:17',1,132,866532,1,2),(27617,'2021-10-17 17:09:53',1,135,866532,1,2),(27618,'2021-10-17 17:10:10',1,127,866532,1,2),(27619,'2021-10-17 17:11:12',1,129,866532,1,2),(27620,'2021-10-17 17:13:55',1,129,866532,1,2),(27621,'2021-10-18 06:49:28',4,90,866638,1,2),(27622,'2021-10-18 11:45:51',1,122,866798,1,2),(27623,'2021-10-18 14:30:24',1,122,0,1,2),(27624,'2021-10-18 14:55:08',1,135,866852,1,2),(27625,'2021-10-18 14:55:20',1,135,866852,1,2),(27626,'2021-10-18 14:55:23',1,132,866852,1,2),(27627,'2021-10-18 15:47:41',1,101,866854,1,2),(27628,'2021-10-18 15:49:20',1,90,866855,1,2),(27629,'2021-10-18 15:49:36',4,90,866855,1,2),(27630,'2021-10-18 18:09:53',1,88,866873,1,2),(27631,'2021-10-18 18:10:13',4,88,866873,1,2),(27632,'2021-10-18 18:57:19',1,143,866878,1,2),(27633,'2021-10-18 18:57:45',4,143,866878,1,2),(27634,'2021-10-18 18:57:52',4,143,866878,1,2),(27635,'2021-10-18 18:58:02',4,143,866878,1,2),(27636,'2021-10-18 18:58:11',4,143,866878,1,2),(27637,'2021-10-18 18:58:29',1,88,866878,1,2),(27638,'2021-10-18 18:58:52',4,88,866878,1,2),(27639,'2021-10-18 18:58:58',1,143,866879,1,2),(27640,'2021-10-18 18:59:07',1,86,866878,1,2),(27641,'2021-10-18 18:59:28',4,86,866878,1,2),(27642,'2021-10-18 18:59:43',1,101,866878,1,2),(27643,'2021-10-18 18:59:58',1,95,866878,1,2),(27644,'2021-10-18 19:00:17',4,95,866878,1,2),(27645,'2021-10-18 19:02:15',1,143,866878,1,2),(27646,'2021-10-18 19:09:12',1,109,866878,1,2),(27647,'2021-10-18 19:09:31',4,109,866878,1,2),(27648,'2021-10-18 19:11:08',1,109,866878,1,2),(27649,'2021-10-18 19:11:21',4,109,866878,1,2),(27650,'2021-10-18 19:22:52',1,88,866889,1,2),(27651,'2021-10-18 19:46:36',1,123,866891,1,2),(27652,'2021-10-18 21:40:29',1,143,867002,1,2),(27653,'2021-10-18 21:41:02',1,95,867002,1,2),(27654,'2021-10-18 21:41:16',1,109,867002,1,2),(27655,'2021-10-18 22:28:54',1,132,867008,1,2),(27656,'2021-10-18 23:16:35',1,128,0,1,2),(27657,'2021-10-18 23:44:12',1,124,867024,1,2),(27658,'2021-10-19 02:45:50',1,101,0,1,2),(27659,'2021-10-19 03:23:10',1,89,867038,1,2),(27660,'2021-10-19 05:02:53',1,122,867046,1,2),(27661,'2021-10-19 07:39:23',1,90,867059,1,2),(27662,'2021-10-19 07:39:30',4,90,867059,1,2),(27663,'2021-10-19 07:39:41',1,88,867059,1,2),(27664,'2021-10-19 07:39:57',4,88,867059,1,2),(27665,'2021-10-19 07:40:18',1,86,867059,1,2),(27666,'2021-10-19 07:40:32',4,86,867059,1,2),(27667,'2021-10-19 07:40:59',1,95,867059,1,2),(27668,'2021-10-19 07:41:12',4,95,867059,1,2),(27669,'2021-10-19 07:41:26',4,95,867059,1,2),(27670,'2021-10-19 07:41:40',1,86,867059,1,2),(27671,'2021-10-19 07:42:10',4,86,867059,1,2),(27672,'2021-10-19 08:30:12',4,90,867064,1,2),(27673,'2021-10-19 11:36:15',1,128,0,1,2),(27674,'2021-10-19 13:57:00',1,89,867098,1,2),(27675,'2021-10-19 13:57:31',1,88,867098,1,2),(27676,'2021-10-19 13:58:12',4,88,867098,1,2),(27677,'2021-10-19 14:16:51',1,132,867097,1,2),(27678,'2021-10-19 15:43:54',1,86,867114,1,2),(27679,'2021-10-19 17:48:19',1,124,867122,1,2),(27680,'2021-10-19 17:53:39',1,123,867125,1,2),(27681,'2021-10-19 19:46:04',1,88,867140,1,2),(27682,'2021-10-19 19:46:07',1,143,867140,1,2),(27683,'2021-10-19 20:12:53',1,132,867140,1,2),(27684,'2021-10-19 20:12:54',1,127,867140,1,2),(27685,'2021-10-19 20:12:54',1,129,867140,1,2),(27686,'2021-10-19 20:12:55',1,135,867140,1,2),(27687,'2021-10-19 20:14:21',1,128,867140,1,2),(27688,'2021-10-19 20:14:22',1,124,867140,1,2),(27689,'2021-10-19 20:14:23',1,122,867140,1,2),(27690,'2021-10-19 20:14:24',1,123,867140,1,2),(27691,'2021-10-19 20:15:17',1,101,867140,1,2),(27692,'2021-10-19 20:15:19',1,109,867140,1,2),(27693,'2021-10-19 20:15:19',1,95,867140,1,2),(27694,'2021-10-19 23:13:42',1,123,0,1,2),(27695,'2021-10-20 02:02:08',1,95,0,1,2),(27696,'2021-10-20 04:22:21',1,122,867193,1,2),(27697,'2021-10-20 08:30:40',4,123,867231,1,2),(27698,'2021-10-20 10:41:39',1,124,867249,1,2),(27699,'2021-10-20 11:06:04',1,123,867253,1,2),(27700,'2021-10-20 11:29:43',1,129,0,1,2),(27701,'2021-10-20 11:57:12',1,132,867266,1,2),(27702,'2021-10-20 13:48:19',1,135,867284,1,2),(27703,'2021-10-20 13:48:50',4,135,867284,1,2),(27704,'2021-10-20 13:49:02',1,128,867284,1,2),(27705,'2021-10-20 13:49:02',1,128,867284,1,2),(27706,'2021-10-20 13:49:19',4,124,867284,1,2),(27707,'2021-10-20 13:49:22',1,124,867284,1,2),(27708,'2021-10-20 13:49:45',1,124,867284,1,2),(27709,'2021-10-20 13:50:14',4,123,867284,1,2),(27710,'2021-10-20 13:50:20',1,123,867284,1,2),(27711,'2021-10-20 13:50:52',1,124,867284,1,2),(27712,'2021-10-20 13:51:29',1,124,867285,1,2),(27713,'2021-10-20 13:51:50',4,124,867285,1,2),(27714,'2021-10-20 13:52:02',1,135,867285,1,2),(27715,'2021-10-20 13:52:25',4,135,867285,1,2),(27716,'2021-10-20 13:52:52',1,101,867285,1,2),(27717,'2021-10-20 13:53:06',4,101,867285,1,2),(27718,'2021-10-20 13:53:38',1,86,867285,1,2),(27719,'2021-10-20 13:53:54',4,86,867285,1,2),(27720,'2021-10-20 13:54:13',1,86,867285,1,2),(27721,'2021-10-20 13:54:31',1,123,867285,1,2),(27722,'2021-10-20 13:54:36',4,123,867285,1,2),(27723,'2021-10-20 13:55:45',1,89,867285,1,2),(27724,'2021-10-20 13:55:52',4,89,867285,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 `FK_001CAD345F50FFE187D88DD7EB269301` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Daily';

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

INSERT INTO `mag2_report_viewed_product_aggregated_daily` VALUES (1,'2021-10-18',2,86,'بسكويت مغطى بالشوكولاتة',0.0000,1,7),(2,'2021-10-18',2,88,'كرواسان',1.0000,3,1),(3,'2021-10-18',2,90,'مفن',1.0000,1,10),(4,'2021-10-18',2,95,'بسكويت عالي البروتين',0.0000,1,11),(5,'2021-10-18',2,101,'مقرمشات',0.0000,2,4),(6,'2021-10-18',2,109,'بسكويت مخبوز',0.0000,2,5),(7,'2021-10-18',2,122,'صلصة الطماطم',2.5000,2,6),(8,'2021-10-18',2,123,'صلصة الارابياتا الحارة',2.5000,1,8),(9,'2021-10-18',2,132,'معكرونة التوبيتي عالية البروتين',0.0000,1,9),(10,'2021-10-18',2,135,'معكرونة الفوسيلي عالية البروتين',0.0000,2,3),(11,'2021-10-18',2,143,'بسكويت',0.0000,3,2),(12,'2021-10-19',2,86,'بسكويت مغطى بالشوكولاتة',0.0000,2,3),(13,'2021-10-19',2,88,'كرواسان',1.0000,1,12),(14,'2021-10-19',2,89,'كرواسان محشي بالشوكولاتة',1.2500,1,5),(15,'2021-10-19',2,90,'مفن',1.0000,1,6),(16,'2021-10-19',2,95,'بسكويت عالي البروتين',0.0000,2,2),(17,'2021-10-19',2,101,'مقرمشات',0.0000,1,9),(18,'2021-10-19',2,109,'بسكويت مخبوز',0.0000,1,10),(19,'2021-10-19',2,122,'صلصة الطماطم',2.5000,1,11),(20,'2021-10-19',2,124,'صلصة الطماطم / الريحان',2.5000,1,4),(21,'2021-10-19',2,128,'معكرونة السباغيتي عالية البروتين',2.5000,2,1),(22,'2021-10-19',2,132,'معكرونة التوبيتي عالية البروتين',0.0000,1,7),(23,'2021-10-19',2,143,'بسكويت',0.0000,1,8);

--
-- 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_04958ADDDA65117EC917C4ABE0527576` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Monthly';

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

INSERT INTO `mag2_report_viewed_product_aggregated_monthly` VALUES (1,'2021-10-01',2,143,'بسكويت',0.0000,4,1),(2,'2021-10-01',2,88,'كرواسان',1.0000,4,2),(3,'2021-10-01',2,86,'بسكويت مغطى بالشوكولاتة',0.0000,3,3),(4,'2021-10-01',2,109,'بسكويت مخبوز',0.0000,3,4),(5,'2021-10-01',2,95,'بسكويت عالي البروتين',0.0000,3,5),(6,'2021-10-01',2,122,'صلصة الطماطم',2.5000,3,6),(7,'2021-10-01',2,101,'مقرمشات',0.0000,3,7),(8,'2021-10-01',2,132,'معكرونة التوبيتي عالية البروتين',0.0000,2,8),(9,'2021-10-01',2,128,'معكرونة السباغيتي عالية البروتين',2.5000,2,9),(10,'2021-10-01',2,135,'معكرونة الفوسيلي عالية البروتين',0.0000,2,10),(11,'2021-10-01',2,90,'مفن',1.0000,2,11),(12,'2021-10-01',2,89,'كرواسان محشي بالشوكولاتة',1.2500,1,12),(13,'2021-10-01',2,123,'صلصة الارابياتا الحارة',2.5000,1,13),(14,'2021-10-01',2,124,'صلصة الطماطم / الريحان',2.5000,1,14);

--
-- 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 `FK_4F52D09963FBB542717D6221CB861EC3` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Yearly';

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

INSERT INTO `mag2_report_viewed_product_aggregated_yearly` VALUES (1,'2021-01-01',2,143,'بسكويت',0.0000,4,1),(2,'2021-01-01',2,88,'كرواسان',1.0000,4,2),(3,'2021-01-01',2,86,'بسكويت مغطى بالشوكولاتة',0.0000,3,3),(4,'2021-01-01',2,109,'بسكويت مخبوز',0.0000,3,4),(5,'2021-01-01',2,95,'بسكويت عالي البروتين',0.0000,3,5),(6,'2021-01-01',2,122,'صلصة الطماطم',2.5000,3,6),(7,'2021-01-01',2,101,'مقرمشات',0.0000,3,7),(8,'2021-01-01',2,132,'معكرونة التوبيتي عالية البروتين',0.0000,2,8),(9,'2021-01-01',2,128,'معكرونة السباغيتي عالية البروتين',2.5000,2,9),(10,'2021-01-01',2,135,'معكرونة الفوسيلي عالية البروتين',0.0000,2,10),(11,'2021-01-01',2,90,'مفن',1.0000,2,11),(12,'2021-01-01',2,89,'كرواسان محشي بالشوكولاتة',1.2500,1,12),(13,'2021-01-01',2,123,'صلصة الارابياتا الحارة',2.5000,1,13),(14,'2021-01-01',2,124,'صلصة الطماطم / الريحان',2.5000,1,14);

--
-- 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_PRD_ID_MAG2_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `mag2_catalog_product_entity` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3766 DEFAULT CHARSET=utf8 COMMENT='Reports Viewed Product Index Table';

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

INSERT INTO `mag2_report_viewed_product_index` VALUES (3044,861551,NULL,86,1,'2021-10-05 14:10:13'),(3045,861551,NULL,89,2,'2021-10-05 14:26:39'),(3046,861551,NULL,90,2,'2021-10-05 14:30:18'),(3056,861647,NULL,95,2,'2021-10-05 21:15:48'),(3058,861671,NULL,101,2,'2021-10-05 21:39:35'),(3059,861675,NULL,101,2,'2021-10-05 21:40:25'),(3060,861684,NULL,105,2,'2021-10-05 21:50:18'),(3061,861688,NULL,105,2,'2021-10-05 21:51:34'),(3062,861696,NULL,89,2,'2021-10-05 21:54:09'),(3063,861704,NULL,95,2,'2021-10-05 21:54:26'),(3064,861710,NULL,109,2,'2021-10-05 22:28:55'),(3065,861710,NULL,105,2,'2021-10-05 22:31:38'),(3066,861758,NULL,109,2,'2021-10-06 07:06:18'),(3067,861762,NULL,95,1,'2021-10-06 07:12:45'),(3068,861775,NULL,101,1,'2021-10-06 07:12:55'),(3069,861783,NULL,95,1,'2021-10-06 07:13:27'),(3078,861825,NULL,105,2,'2021-10-06 07:45:08'),(3089,861844,NULL,86,2,'2021-10-06 08:32:13'),(3090,861844,NULL,95,2,'2021-10-06 08:32:22'),(3091,861844,NULL,101,2,'2021-10-06 08:32:55'),(3092,861844,NULL,105,2,'2021-10-06 08:33:18'),(3096,861813,NULL,105,2,'2021-10-06 08:36:22'),(3099,861813,NULL,86,2,'2021-10-06 08:39:01'),(3100,861813,NULL,109,2,'2021-10-06 08:39:12'),(3102,861762,NULL,105,1,'2021-10-06 08:39:42'),(3112,861868,NULL,95,2,'2021-10-06 09:33:31'),(3113,861762,NULL,123,2,'2021-10-06 09:34:17'),(3114,861881,NULL,101,1,'2021-10-06 09:34:40'),(3115,861889,NULL,101,1,'2021-10-06 09:35:57'),(3116,861762,NULL,101,1,'2021-10-06 09:36:02'),(3117,861897,NULL,109,1,'2021-10-06 09:36:59'),(3125,861762,NULL,88,1,'2021-10-06 09:46:27'),(3126,861905,NULL,109,2,'2021-10-06 09:47:29'),(3131,861762,NULL,109,1,'2021-10-06 09:51:44'),(3132,861859,NULL,122,2,'2021-10-06 09:51:48'),(3133,861859,NULL,88,2,'2021-10-06 09:52:01'),(3136,861762,NULL,86,1,'2021-10-06 09:53:22'),(3137,861905,NULL,101,2,'2021-10-06 09:53:36'),(3140,861907,NULL,101,2,'2021-10-06 09:55:53'),(3141,861908,NULL,101,2,'2021-10-06 09:55:54'),(3142,861859,NULL,101,2,'2021-10-06 09:56:25'),(3144,861913,NULL,95,2,'2021-10-06 10:30:36'),(3145,861905,NULL,86,2,'2021-10-06 10:35:18'),(3161,861921,NULL,122,1,'2021-10-06 11:41:17'),(3162,861921,NULL,123,1,'2021-10-06 11:41:19'),(3163,861921,NULL,124,1,'2021-10-06 11:41:21'),(3164,861921,NULL,101,2,'2021-10-06 11:41:42'),(3166,861921,NULL,109,2,'2021-10-06 11:42:11'),(3167,861921,NULL,86,2,'2021-10-06 11:42:12'),(3168,861921,NULL,95,2,'2021-10-06 11:42:13'),(3174,861921,NULL,88,2,'2021-10-06 11:50:43'),(3175,861921,NULL,90,2,'2021-10-06 11:50:44'),(3176,861921,NULL,89,2,'2021-10-06 11:50:45'),(3188,861960,NULL,109,2,'2021-10-06 13:13:19'),(3189,861960,NULL,95,2,'2021-10-06 13:13:38'),(3190,861960,NULL,101,2,'2021-10-06 13:13:40'),(3192,861960,NULL,90,2,'2021-10-06 13:14:10'),(3193,861960,NULL,88,2,'2021-10-06 13:14:11'),(3194,861960,NULL,86,2,'2021-10-06 13:14:12'),(3195,861960,NULL,89,2,'2021-10-06 13:14:13'),(3196,861959,NULL,109,2,'2021-10-06 13:32:29'),(3197,861959,NULL,95,2,'2021-10-06 13:32:56'),(3200,862019,NULL,101,2,'2021-10-06 20:49:51'),(3201,862022,NULL,90,2,'2021-10-06 20:50:52'),(3202,862023,NULL,122,2,'2021-10-06 20:52:14'),(3203,862024,NULL,95,2,'2021-10-06 21:05:35'),(3204,NULL,NULL,95,2,'2021-10-06 22:35:36'),(3218,862066,NULL,128,2,'2021-10-07 06:51:56'),(3219,862089,NULL,89,2,'2021-10-07 08:13:20'),(3220,862147,NULL,127,2,'2021-10-07 08:44:59'),(3221,862159,NULL,127,2,'2021-10-07 08:47:14'),(3222,862166,NULL,127,2,'2021-10-07 08:47:30'),(3223,862169,NULL,127,2,'2021-10-07 08:47:38'),(3224,862180,NULL,135,2,'2021-10-07 08:48:07'),(3225,862188,NULL,135,2,'2021-10-07 08:48:46'),(3226,862165,NULL,128,2,'2021-10-07 08:54:01'),(3227,862165,NULL,129,2,'2021-10-07 08:54:15'),(3228,862201,NULL,135,2,'2021-10-07 08:56:30'),(3229,862207,NULL,135,2,'2021-10-07 08:57:18'),(3230,862229,NULL,123,2,'2021-10-07 10:05:50'),(3231,NULL,NULL,132,2,'2021-10-07 10:32:53'),(3232,NULL,NULL,122,2,'2021-10-07 10:36:46'),(3233,NULL,NULL,124,2,'2021-10-07 10:41:47'),(3234,NULL,NULL,101,2,'2021-10-07 10:46:49'),(3235,NULL,NULL,135,2,'2021-10-07 10:51:51'),(3236,862237,NULL,132,2,'2021-10-07 11:10:36'),(3237,862237,NULL,127,2,'2021-10-07 11:11:33'),(3243,862237,NULL,135,2,'2021-10-07 11:16:53'),(3246,862237,NULL,129,2,'2021-10-07 11:18:57'),(3247,862237,NULL,128,2,'2021-10-07 11:18:59'),(3248,862237,NULL,122,2,'2021-10-07 11:21:07'),(3249,862237,NULL,123,2,'2021-10-07 11:21:08'),(3250,862237,NULL,124,2,'2021-10-07 11:21:09'),(3251,862237,NULL,89,2,'2021-10-07 11:21:30'),(3252,862237,NULL,90,2,'2021-10-07 11:21:30'),(3253,862237,NULL,88,2,'2021-10-07 11:21:32'),(3254,862237,NULL,101,2,'2021-10-07 11:21:33'),(3255,862237,NULL,86,2,'2021-10-07 11:21:56'),(3256,862237,NULL,109,2,'2021-10-07 11:21:58'),(3258,862237,NULL,95,2,'2021-10-07 11:22:01'),(3261,862252,NULL,132,2,'2021-10-07 12:06:25'),(3262,862257,NULL,132,2,'2021-10-07 12:07:34'),(3263,862274,NULL,127,2,'2021-10-07 12:18:28'),(3264,862279,NULL,127,2,'2021-10-07 12:21:13'),(3265,862285,NULL,127,2,'2021-10-07 12:26:17'),(3266,862287,NULL,127,2,'2021-10-07 12:31:15'),(3267,862288,NULL,127,2,'2021-10-07 12:31:23'),(3268,862293,NULL,129,2,'2021-10-07 12:33:40'),(3269,862293,NULL,132,2,'2021-10-07 12:33:49'),(3270,862293,NULL,128,2,'2021-10-07 12:34:06'),(3271,862299,NULL,127,2,'2021-10-07 12:43:40'),(3273,862380,NULL,127,2,'2021-10-07 13:05:52'),(3274,862400,NULL,127,2,'2021-10-07 13:05:58'),(3275,862416,NULL,127,2,'2021-10-07 13:06:25'),(3276,862420,NULL,127,2,'2021-10-07 13:07:28'),(3278,862436,NULL,127,2,'2021-10-07 13:10:21'),(3279,862444,NULL,127,2,'2021-10-07 13:10:49'),(3280,862452,NULL,127,2,'2021-10-07 13:11:05'),(3281,862463,NULL,127,2,'2021-10-07 13:12:09'),(3282,862469,NULL,127,2,'2021-10-07 13:14:48'),(3283,862293,NULL,109,2,'2021-10-07 13:26:49'),(3285,862485,NULL,135,2,'2021-10-07 13:29:03'),(3287,862497,NULL,127,2,'2021-10-07 13:41:41'),(3288,862505,NULL,127,2,'2021-10-07 13:42:06'),(3290,862544,NULL,129,2,'2021-10-07 15:24:40'),(3291,862554,NULL,124,2,'2021-10-07 17:35:27'),(3292,862555,NULL,109,2,'2021-10-07 17:39:40'),(3293,NULL,NULL,90,2,'2021-10-07 20:06:55'),(3294,NULL,NULL,127,2,'2021-10-07 21:24:40'),(3295,862586,NULL,95,2,'2021-10-07 22:44:57'),(3296,862587,NULL,86,2,'2021-10-07 22:45:28'),(3298,862595,NULL,89,2,'2021-10-07 22:50:33'),(3299,862597,NULL,88,2,'2021-10-07 22:51:12'),(3300,862600,NULL,123,2,'2021-10-07 22:52:46'),(3301,862601,NULL,124,2,'2021-10-07 22:53:32'),(3302,862602,NULL,122,2,'2021-10-07 22:54:06'),(3303,862603,NULL,135,2,'2021-10-07 22:54:43'),(3304,862604,NULL,109,2,'2021-10-07 22:55:03'),(3305,862605,NULL,129,2,'2021-10-07 22:55:41'),(3306,862606,NULL,90,2,'2021-10-07 22:56:15'),(3307,862607,NULL,127,2,'2021-10-07 22:56:49'),(3308,862612,NULL,101,2,'2021-10-07 22:59:35'),(3309,862613,NULL,128,2,'2021-10-07 23:00:08'),(3310,862614,NULL,132,2,'2021-10-07 23:00:32'),(3311,NULL,NULL,109,2,'2021-10-08 00:58:00'),(3312,862625,NULL,88,2,'2021-10-08 01:58:16'),(3313,862651,NULL,86,2,'2021-10-08 05:18:52'),(3314,NULL,NULL,86,2,'2021-10-08 07:59:22'),(3315,862662,NULL,132,2,'2021-10-08 08:20:32'),(3316,862672,NULL,127,2,'2021-10-08 09:33:19'),(3317,862673,NULL,132,2,'2021-10-08 09:33:20'),(3318,862674,NULL,135,2,'2021-10-08 09:33:21'),(3319,862675,NULL,128,2,'2021-10-08 09:33:22'),(3320,862676,NULL,129,2,'2021-10-08 09:33:26'),(3321,862690,NULL,127,2,'2021-10-08 09:33:45'),(3322,862694,NULL,124,2,'2021-10-08 09:36:36'),(3323,862695,NULL,122,2,'2021-10-08 09:36:37'),(3324,862696,NULL,123,2,'2021-10-08 09:36:39'),(3325,862706,NULL,90,2,'2021-10-08 09:37:20'),(3326,862707,NULL,88,2,'2021-10-08 09:37:21'),(3327,862708,NULL,89,2,'2021-10-08 09:37:22'),(3328,862709,NULL,101,2,'2021-10-08 09:37:24'),(3330,862734,NULL,109,2,'2021-10-08 09:39:14'),(3331,862735,NULL,86,2,'2021-10-08 09:39:15'),(3332,862736,NULL,95,2,'2021-10-08 09:39:17'),(3333,NULL,NULL,88,2,'2021-10-08 17:33:23'),(3334,862939,NULL,128,2,'2021-10-09 04:25:48'),(3335,862962,NULL,135,2,'2021-10-09 07:21:50'),(3336,862988,NULL,95,2,'2021-10-09 10:04:46'),(3337,862991,NULL,109,2,'2021-10-09 10:33:27'),(3339,863025,NULL,109,2,'2021-10-09 15:06:47'),(3340,863034,NULL,90,2,'2021-10-09 17:37:39'),(3343,NULL,NULL,86,2,'2021-10-09 18:25:46'),(3344,863040,NULL,128,2,'2021-10-09 19:49:50'),(3346,863100,NULL,127,2,'2021-10-10 06:44:28'),(3347,863157,NULL,129,1,'2021-10-10 08:25:37'),(3348,863159,NULL,127,2,'2021-10-10 08:28:33'),(3350,863227,NULL,109,2,'2021-10-10 08:58:08'),(3351,863247,NULL,135,2,'2021-10-10 09:29:23'),(3352,863265,NULL,135,2,'2021-10-10 10:40:35'),(3353,863269,NULL,109,2,'2021-10-10 11:01:22'),(3355,863269,NULL,132,1,'2021-10-10 11:32:21'),(3356,863290,NULL,135,2,'2021-10-10 12:03:31'),(3357,863317,NULL,135,2,'2021-10-10 13:03:32'),(3358,863318,NULL,135,2,'2021-10-10 13:04:52'),(3359,863318,NULL,132,1,'2021-10-10 13:09:46'),(3361,863312,NULL,129,2,'2021-10-10 13:19:03'),(3362,863312,NULL,135,2,'2021-10-10 13:19:16'),(3363,863318,NULL,128,2,'2021-10-10 13:19:29'),(3364,863312,NULL,109,2,'2021-10-10 13:19:33'),(3365,863318,NULL,127,2,'2021-10-10 13:21:48'),(3366,863312,NULL,101,2,'2021-10-10 13:22:35'),(3370,863312,NULL,90,2,'2021-10-10 13:24:37'),(3383,NULL,NULL,128,2,'2021-10-10 16:09:22'),(3384,863385,NULL,132,2,'2021-10-10 20:03:16'),(3385,863515,NULL,132,2,'2021-10-11 06:01:49'),(3386,863533,NULL,132,2,'2021-10-11 09:15:43'),(3387,863534,NULL,132,2,'2021-10-11 09:15:45'),(3388,863541,NULL,132,2,'2021-10-11 09:16:11'),(3389,863549,NULL,132,2,'2021-10-11 09:18:03'),(3390,863555,NULL,132,2,'2021-10-11 09:19:32'),(3391,863571,NULL,135,2,'2021-10-11 09:20:51'),(3392,863598,NULL,132,2,'2021-10-11 10:58:58'),(3394,863657,NULL,132,2,'2021-10-11 12:30:04'),(3395,863673,NULL,132,2,'2021-10-11 12:35:18'),(3396,863674,NULL,135,2,'2021-10-11 12:37:48'),(3398,863693,NULL,88,2,'2021-10-11 12:46:17'),(3399,863694,NULL,88,2,'2021-10-11 12:46:19'),(3400,863703,NULL,132,2,'2021-10-11 12:47:19'),(3403,863716,NULL,135,2,'2021-10-11 12:48:12'),(3404,863720,NULL,135,2,'2021-10-11 12:48:12'),(3405,863724,NULL,123,2,'2021-10-11 12:49:59'),(3407,NULL,NULL,109,2,'2021-10-11 12:51:16'),(3408,863762,NULL,88,2,'2021-10-11 12:51:28'),(3409,NULL,NULL,95,2,'2021-10-11 12:54:52'),(3411,863774,NULL,127,2,'2021-10-11 12:55:31'),(3412,863798,NULL,86,2,'2021-10-11 12:56:17'),(3413,863799,NULL,86,2,'2021-10-11 12:56:19'),(3415,863805,NULL,132,2,'2021-10-11 13:04:35'),(3416,863809,NULL,132,2,'2021-10-11 13:04:50'),(3417,863825,NULL,132,2,'2021-10-11 13:10:05'),(3418,863833,NULL,132,2,'2021-10-11 13:11:28'),(3421,863843,NULL,132,2,'2021-10-11 13:14:55'),(3422,863850,NULL,132,2,'2021-10-11 13:20:47'),(3423,863869,NULL,90,2,'2021-10-11 13:24:07'),(3424,863870,NULL,90,2,'2021-10-11 13:24:08'),(3427,863885,NULL,132,2,'2021-10-11 13:27:14'),(3431,863923,NULL,122,1,'2021-10-11 13:32:43'),(3435,863927,NULL,122,1,'2021-10-11 13:36:54'),(3438,863933,NULL,122,1,'2021-10-11 13:38:58'),(3441,863716,NULL,127,2,'2021-10-11 13:40:23'),(3442,863943,NULL,127,2,'2021-10-11 13:40:23'),(3443,863945,NULL,122,1,'2021-10-11 13:41:03'),(3444,863957,NULL,132,2,'2021-10-11 13:43:18'),(3445,863716,NULL,132,2,'2021-10-11 13:46:20'),(3446,863964,NULL,132,2,'2021-10-11 13:46:20'),(3447,863967,NULL,132,2,'2021-10-11 13:46:46'),(3448,863973,NULL,132,2,'2021-10-11 13:47:59'),(3449,863979,NULL,101,2,'2021-10-11 13:49:29'),(3450,863980,NULL,101,2,'2021-10-11 13:49:29'),(3451,863981,NULL,101,2,'2021-10-11 13:49:31'),(3453,863992,NULL,86,2,'2021-10-11 13:50:27'),(3459,863997,NULL,132,2,'2021-10-11 14:00:47'),(3460,864011,NULL,90,2,'2021-10-11 14:18:00'),(3461,864021,NULL,88,2,'2021-10-11 14:20:30'),(3462,864035,NULL,88,2,'2021-10-11 14:21:42'),(3463,864068,NULL,101,2,'2021-10-11 14:24:40'),(3464,864065,NULL,90,2,'2021-10-11 14:24:52'),(3465,864065,NULL,88,2,'2021-10-11 14:25:39'),(3466,864065,NULL,89,2,'2021-10-11 14:26:11'),(3470,864107,NULL,88,2,'2021-10-11 14:31:46'),(3471,864124,NULL,101,2,'2021-10-11 14:32:47'),(3472,864135,NULL,122,2,'2021-10-11 14:36:37'),(3473,864144,NULL,122,2,'2021-10-11 14:36:53'),(3474,864148,NULL,122,2,'2021-10-11 14:37:03'),(3476,864187,NULL,127,2,'2021-10-11 17:58:36'),(3477,864201,NULL,127,2,'2021-10-11 17:59:50'),(3478,864207,NULL,101,2,'2021-10-11 18:00:27'),(3479,864225,NULL,90,2,'2021-10-11 18:05:43'),(3482,864283,NULL,95,2,'2021-10-12 01:55:17'),(3483,NULL,NULL,95,2,'2021-10-12 03:25:17'),(3485,864311,NULL,127,2,'2021-10-12 06:17:41'),(3486,864321,NULL,129,2,'2021-10-12 06:24:12'),(3487,864364,NULL,132,2,'2021-10-12 06:26:54'),(3488,864357,NULL,127,2,'2021-10-12 06:27:18'),(3489,864378,NULL,132,2,'2021-10-12 06:27:51'),(3491,864596,NULL,127,2,'2021-10-12 07:03:28'),(3492,864616,NULL,135,2,'2021-10-12 07:07:03'),(3493,864622,NULL,135,2,'2021-10-12 07:07:19'),(3494,864698,NULL,135,2,'2021-10-12 10:43:00'),(3495,864706,NULL,127,2,'2021-10-12 11:03:15'),(3496,864746,NULL,127,2,'2021-10-12 11:41:43'),(3497,864805,NULL,135,1,'2021-10-12 11:59:45'),(3498,864853,NULL,127,2,'2021-10-12 12:24:03'),(3499,864875,NULL,127,2,'2021-10-12 12:25:35'),(3500,864883,NULL,127,2,'2021-10-12 12:25:59'),(3501,864884,NULL,132,2,'2021-10-12 12:26:24'),(3502,864901,NULL,132,1,'2021-10-12 12:27:48'),(3503,864914,NULL,127,2,'2021-10-12 12:31:24'),(3504,864926,NULL,127,2,'2021-10-12 12:32:53'),(3505,864945,NULL,132,2,'2021-10-12 12:35:05'),(3506,864952,NULL,132,2,'2021-10-12 12:35:37'),(3508,864984,NULL,127,2,'2021-10-12 12:39:09'),(3509,864971,NULL,132,2,'2021-10-12 12:40:21'),(3510,864998,NULL,127,2,'2021-10-12 12:41:53'),(3511,865004,NULL,127,2,'2021-10-12 12:42:38'),(3512,865019,NULL,127,2,'2021-10-12 12:48:51'),(3513,865035,NULL,86,2,'2021-10-12 12:50:56'),(3514,865063,NULL,101,2,'2021-10-12 12:54:57'),(3515,865081,NULL,101,2,'2021-10-12 12:55:33'),(3516,865087,NULL,101,2,'2021-10-12 12:56:00'),(3517,865102,NULL,132,2,'2021-10-12 12:56:47'),(3518,865123,NULL,132,2,'2021-10-12 12:57:13'),(3520,865179,NULL,101,2,'2021-10-12 13:02:15'),(3521,865166,NULL,127,2,'2021-10-12 13:02:29'),(3523,865189,NULL,132,2,'2021-10-12 13:03:03'),(3525,865190,NULL,127,2,'2021-10-12 13:05:09'),(3526,865194,NULL,128,2,'2021-10-12 13:06:02'),(3527,865195,NULL,128,2,'2021-10-12 13:06:09'),(3530,865213,NULL,101,2,'2021-10-12 13:14:12'),(3531,865214,NULL,101,2,'2021-10-12 13:14:13'),(3532,865215,NULL,101,2,'2021-10-12 13:14:13'),(3533,865355,NULL,128,2,'2021-10-12 13:43:19'),(3534,865367,NULL,128,2,'2021-10-12 13:44:07'),(3535,865381,NULL,127,2,'2021-10-12 13:45:50'),(3536,865387,NULL,127,2,'2021-10-12 13:46:29'),(3538,865416,NULL,135,2,'2021-10-12 14:00:00'),(3539,865426,NULL,88,2,'2021-10-12 14:00:56'),(3540,865440,NULL,95,2,'2021-10-12 14:24:02'),(3541,865449,NULL,128,2,'2021-10-12 15:42:29'),(3542,865538,NULL,95,2,'2021-10-12 16:25:48'),(3543,865551,NULL,127,2,'2021-10-12 16:49:31'),(3544,865569,NULL,101,2,'2021-10-12 16:58:25'),(3545,865575,NULL,90,2,'2021-10-12 16:58:51'),(3546,865599,NULL,95,2,'2021-10-12 16:59:46'),(3548,865740,NULL,123,1,'2021-10-13 06:34:32'),(3549,865746,NULL,123,1,'2021-10-13 06:34:51'),(3550,865805,NULL,135,2,'2021-10-13 08:48:36'),(3551,865805,NULL,109,2,'2021-10-13 08:49:07'),(3553,865805,NULL,86,2,'2021-10-13 08:51:54'),(3555,865877,NULL,135,2,'2021-10-13 09:31:00'),(3556,865878,NULL,135,1,'2021-10-13 09:32:30'),(3557,865878,NULL,109,2,'2021-10-13 09:32:46'),(3559,865879,NULL,127,2,'2021-10-13 09:34:32'),(3561,865879,NULL,123,2,'2021-10-13 09:35:31'),(3562,865880,NULL,128,2,'2021-10-13 09:37:41'),(3563,865880,NULL,135,2,'2021-10-13 09:37:55'),(3564,865882,NULL,90,2,'2021-10-13 09:44:09'),(3565,865881,NULL,109,2,'2021-10-13 09:45:17'),(3566,865883,NULL,127,2,'2021-10-13 09:46:37'),(3567,865884,NULL,135,2,'2021-10-13 09:52:15'),(3568,865884,NULL,129,2,'2021-10-13 09:52:31'),(3572,865889,NULL,135,2,'2021-10-13 09:55:35'),(3573,865921,NULL,132,2,'2021-10-13 11:37:36'),(3574,865924,NULL,109,2,'2021-10-13 12:03:41'),(3575,865939,NULL,127,2,'2021-10-13 13:34:36'),(3576,865939,NULL,90,2,'2021-10-13 13:35:08'),(3577,865939,NULL,88,2,'2021-10-13 13:35:24'),(3579,865939,NULL,122,2,'2021-10-13 13:37:04'),(3580,865948,NULL,90,2,'2021-10-13 15:43:20'),(3581,865948,NULL,127,2,'2021-10-13 15:45:06'),(3582,865948,NULL,132,2,'2021-10-13 15:45:43'),(3586,865948,NULL,88,2,'2021-10-13 15:47:21'),(3588,865948,NULL,86,2,'2021-10-13 15:48:52'),(3589,865948,NULL,89,2,'2021-10-13 15:49:24'),(3590,865948,NULL,122,2,'2021-10-13 15:49:46'),(3591,865949,NULL,135,2,'2021-10-13 15:53:15'),(3592,865949,NULL,132,2,'2021-10-13 15:54:16'),(3593,865949,NULL,127,2,'2021-10-13 15:54:18'),(3594,865949,NULL,129,2,'2021-10-13 15:54:19'),(3595,865949,NULL,122,2,'2021-10-13 15:59:03'),(3596,865949,NULL,95,2,'2021-10-13 16:02:53'),(3597,865949,NULL,101,2,'2021-10-13 16:04:52'),(3598,865949,NULL,109,2,'2021-10-13 16:06:28'),(3599,865950,NULL,127,2,'2021-10-13 16:06:54'),(3600,865949,NULL,90,2,'2021-10-13 16:07:32'),(3601,865950,NULL,90,2,'2021-10-13 16:07:40'),(3602,865950,NULL,88,2,'2021-10-13 16:07:58'),(3605,865949,NULL,86,2,'2021-10-13 16:08:29'),(3606,865950,NULL,89,2,'2021-10-13 16:09:21'),(3607,865950,NULL,122,2,'2021-10-13 16:09:42'),(3608,NULL,NULL,86,2,'2021-10-13 22:47:48'),(3609,NULL,NULL,88,2,'2021-10-13 23:47:46'),(3610,865967,NULL,95,2,'2021-10-14 00:54:54'),(3611,865996,NULL,132,2,'2021-10-14 07:30:13'),(3613,865993,NULL,95,2,'2021-10-14 07:39:09'),(3614,865997,NULL,90,2,'2021-10-14 07:49:16'),(3615,865997,NULL,127,2,'2021-10-14 07:49:30'),(3616,865999,NULL,101,2,'2021-10-14 07:58:30'),(3617,866018,NULL,88,2,'2021-10-14 10:04:18'),(3618,866020,NULL,90,2,'2021-10-14 10:16:31'),(3622,866025,NULL,95,2,'2021-10-14 11:46:41'),(3623,866025,NULL,109,1,'2021-10-14 11:47:52'),(3625,866030,NULL,109,2,'2021-10-14 11:55:46'),(3626,866030,NULL,95,2,'2021-10-14 11:56:36'),(3632,866040,NULL,86,2,'2021-10-14 12:23:19'),(3633,866030,NULL,143,2,'2021-10-14 12:31:50'),(3637,866030,NULL,86,2,'2021-10-14 12:33:23'),(3640,NULL,NULL,135,2,'2021-10-14 12:37:19'),(3641,NULL,NULL,127,2,'2021-10-14 12:47:20'),(3642,866043,NULL,127,2,'2021-10-14 12:51:28'),(3643,866070,NULL,132,2,'2021-10-14 16:36:26'),(3644,866093,NULL,89,2,'2021-10-14 21:21:51'),(3645,NULL,NULL,109,2,'2021-10-14 21:59:04'),(3646,NULL,NULL,101,2,'2021-10-14 22:35:21'),(3647,NULL,NULL,122,2,'2021-10-14 23:02:05'),(3648,NULL,NULL,124,2,'2021-10-15 00:08:01'),(3649,NULL,NULL,143,2,'2021-10-15 03:39:16'),(3650,NULL,NULL,123,2,'2021-10-15 03:59:04'),(3651,866203,NULL,101,2,'2021-10-15 08:27:35'),(3652,866208,NULL,124,2,'2021-10-15 08:57:36'),(3653,866216,NULL,122,2,'2021-10-15 09:56:06'),(3654,866233,NULL,101,2,'2021-10-15 10:31:13'),(3655,866254,NULL,129,2,'2021-10-15 13:00:10'),(3656,866255,NULL,128,2,'2021-10-15 13:11:34'),(3657,866259,NULL,89,2,'2021-10-15 14:27:44'),(3658,NULL,NULL,123,2,'2021-10-16 00:54:52'),(3659,866336,NULL,143,2,'2021-10-16 06:59:06'),(3660,866341,NULL,88,2,'2021-10-16 07:55:42'),(3661,866351,NULL,101,2,'2021-10-16 09:41:16'),(3662,866351,NULL,95,2,'2021-10-16 09:42:11'),(3663,866351,NULL,89,2,'2021-10-16 09:43:20'),(3664,866351,NULL,109,2,'2021-10-16 09:45:39'),(3666,866356,NULL,109,2,'2021-10-16 10:22:49'),(3667,866356,NULL,143,2,'2021-10-16 10:24:08'),(3668,866370,NULL,123,2,'2021-10-16 12:54:52'),(3669,866374,NULL,109,2,'2021-10-16 13:40:39'),(3670,866374,NULL,124,2,'2021-10-16 13:41:52'),(3671,866379,NULL,122,2,'2021-10-16 14:10:53'),(3672,866411,NULL,127,2,'2021-10-16 16:28:48'),(3673,866436,NULL,124,2,'2021-10-16 21:48:31'),(3674,866448,NULL,89,2,'2021-10-16 23:19:38'),(3675,866500,NULL,135,2,'2021-10-17 12:26:36'),(3676,866501,NULL,122,2,'2021-10-17 12:35:07'),(3677,NULL,NULL,122,2,'2021-10-17 13:09:09'),(3678,866507,NULL,123,2,'2021-10-17 13:51:47'),(3679,NULL,NULL,86,2,'2021-10-17 15:45:54'),(3680,866532,NULL,127,2,'2021-10-17 17:03:34'),(3681,866532,NULL,135,2,'2021-10-17 17:03:56'),(3683,866532,NULL,132,2,'2021-10-17 17:04:56'),(3684,866532,NULL,109,2,'2021-10-17 17:07:05'),(3690,866532,NULL,129,2,'2021-10-17 17:11:12'),(3692,866798,NULL,122,2,'2021-10-18 11:45:51'),(3693,NULL,NULL,122,2,'2021-10-18 14:30:24'),(3694,866852,NULL,135,2,'2021-10-18 14:55:08'),(3696,866852,NULL,132,2,'2021-10-18 14:55:23'),(3697,866854,NULL,101,2,'2021-10-18 15:47:41'),(3698,866855,NULL,90,2,'2021-10-18 15:49:20'),(3699,866873,NULL,88,2,'2021-10-18 18:09:53'),(3700,866878,NULL,143,2,'2021-10-18 18:57:19'),(3701,866878,NULL,88,2,'2021-10-18 18:58:29'),(3702,866879,NULL,143,2,'2021-10-18 18:58:58'),(3703,866878,NULL,86,2,'2021-10-18 18:59:07'),(3704,866878,NULL,101,2,'2021-10-18 18:59:43'),(3705,866878,NULL,95,2,'2021-10-18 18:59:58'),(3707,866878,NULL,109,2,'2021-10-18 19:09:12'),(3709,866889,NULL,88,2,'2021-10-18 19:22:52'),(3710,866891,NULL,123,2,'2021-10-18 19:46:36'),(3711,867002,NULL,143,2,'2021-10-18 21:40:29'),(3712,867002,NULL,95,2,'2021-10-18 21:41:02'),(3713,867002,NULL,109,2,'2021-10-18 21:41:16'),(3714,867008,NULL,132,2,'2021-10-18 22:28:54'),(3715,NULL,NULL,128,2,'2021-10-18 23:16:35'),(3716,867024,NULL,124,2,'2021-10-18 23:44:12'),(3717,NULL,NULL,101,2,'2021-10-19 02:45:50'),(3718,867038,NULL,89,2,'2021-10-19 03:23:10'),(3719,867046,NULL,122,2,'2021-10-19 05:02:53'),(3720,867059,NULL,90,2,'2021-10-19 07:39:23'),(3721,867059,NULL,88,2,'2021-10-19 07:39:41'),(3722,867059,NULL,86,2,'2021-10-19 07:40:18'),(3723,867059,NULL,95,2,'2021-10-19 07:40:59'),(3725,NULL,NULL,128,2,'2021-10-19 11:36:15'),(3726,867098,NULL,89,2,'2021-10-19 13:57:00'),(3727,867098,NULL,88,2,'2021-10-19 13:57:31'),(3728,867097,NULL,132,2,'2021-10-19 14:16:51'),(3729,867114,NULL,86,2,'2021-10-19 15:43:54'),(3730,867122,NULL,124,2,'2021-10-19 17:48:19'),(3731,867125,NULL,123,2,'2021-10-19 17:53:39'),(3732,867140,NULL,88,2,'2021-10-19 19:46:04'),(3733,867140,NULL,143,2,'2021-10-19 19:46:07'),(3734,867140,NULL,132,2,'2021-10-19 20:12:53'),(3735,867140,NULL,127,2,'2021-10-19 20:12:54'),(3736,867140,NULL,129,2,'2021-10-19 20:12:54'),(3737,867140,NULL,135,2,'2021-10-19 20:12:55'),(3738,867140,NULL,128,2,'2021-10-19 20:14:21'),(3739,867140,NULL,124,2,'2021-10-19 20:14:22'),(3740,867140,NULL,122,2,'2021-10-19 20:14:23'),(3741,867140,NULL,123,2,'2021-10-19 20:14:24'),(3742,867140,NULL,101,2,'2021-10-19 20:15:17'),(3743,867140,NULL,109,2,'2021-10-19 20:15:19'),(3744,867140,NULL,95,2,'2021-10-19 20:15:19'),(3745,NULL,NULL,123,2,'2021-10-19 23:13:42'),(3746,NULL,NULL,95,2,'2021-10-20 02:02:08'),(3747,867193,NULL,122,2,'2021-10-20 04:22:21'),(3748,867249,NULL,124,2,'2021-10-20 10:41:39'),(3749,867253,NULL,123,2,'2021-10-20 11:06:04'),(3750,NULL,NULL,129,2,'2021-10-20 11:29:43'),(3751,867266,NULL,132,2,'2021-10-20 11:57:12'),(3752,867284,NULL,135,2,'2021-10-20 13:48:19'),(3753,867284,NULL,128,2,'2021-10-20 13:49:02'),(3755,867284,NULL,124,2,'2021-10-20 13:49:22'),(3757,867284,NULL,123,2,'2021-10-20 13:50:20'),(3759,867285,NULL,124,2,'2021-10-20 13:51:29'),(3760,867285,NULL,135,2,'2021-10-20 13:52:02'),(3761,867285,NULL,101,2,'2021-10-20 13:52:52'),(3762,867285,NULL,86,2,'2021-10-20 13:53:38'),(3764,867285,NULL,123,2,'2021-10-20 13:54:31'),(3765,867285,NULL,89,2,'2021-10-20 13:55:45');

--
-- 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(20,4) unsigned DEFAULT NULL,
  `total_base` decimal(20,4) unsigned DEFAULT NULL,
  `item_count` int(10) unsigned NOT NULL COMMENT 'Line Item Count',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Updated At',
  PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reporting for all orders';

--
-- Dumping data for table `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_STATUS_ID_MAG2_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`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COMMENT='Review detail information';

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

INSERT INTO `mag2_review_detail` VALUES (1,1,2,'عجيبه ','طعمها حلو سدت نفسي عن الحلو ونزلت عليها 5 كيلوو ','ام حسن ',NULL),(2,2,2,'هذا البكج المفروض اسمه السحر الحلال لان يسد الشهيه و يغير المقاسات بشكل يخرع مستمره بتلشهر الثالث وماراح اوقف شي خطيرررر جدا جدا','هذا البكج المفروض اسمه السحر الحلال لان يسد الشهيه و يغير المقاسات بشكل يخرع مستمره بالشهرالثالث وماراح اوقف شي خطيرررر جدا جدا','ايمان',195),(3,3,2,'S','هلقهوه شي من الخيال ولا عمري ضعفت بهالسهوله مع اي منتج ','Sarah',196),(4,4,2,'N','اختي مجربته والكل عباله مسويه تكميم والله العظيم صدددددمه واللي عرسها قريب وتبي نتيجه سريعه تاخذه مع القهوه ','Nada ',NULL),(5,5,2,'N','اختي مجربته والكل عبالهم مسويه تكميم صدممممه جد وانصح فيه للي اعراسهم قريبه ومع رياضه بيطلع بيرفكتتتتتت????????','Nada ',NULL),(6,6,2,'حلوه','هلقهوه شي من الخيال ولا عمري ضعفت بهلسهوله مع اي منتج ','Sarah',NULL),(7,7,2,'لايف كوفي ','القهوه عجيبه انا خذتها بس مش منتضمه عليه وايد المقاسات اختلفت انا كنت البس xxl الحين  لارج  الزنود وايد خفت عندي  وصدق تشتغل على الدهون هذا الي لاحضته عليها ','ام سعيد ',NULL),(8,8,2,'روعهه','الجاي عجيبب نازله منه باسبوعين اربع كيلو وبدون مااوقف اكل????????','Nawal',NULL),(9,9,2,'شي خياااال ','استخدمها كلايف ستايل شي خيال تسد الشهيه وساعدتني على الحرق وخاصه قبل النادي واستخدمها بدال اي بلاك كوفي ','اماني المنصور',NULL),(10,10,2,'عجيب عجيب عجيب','هالكريم فعلاً شي خيااال استخدمت 4 علب من جماله ترطيب قوي وعطاني نتيجه بنسبة 65% من تحسين المنطقه اللي فيها سلوليت واحلا شي فيه ريحته حلوووه ومستمره عليه للأمانه????','اماني المنصور',NULL),(11,11,2,'باكج بديل  التكميم','ماشاء الله جودة ونتيجة واقعية \r\nالحين بكمل ٣ شهور معاج \r\nنزلت بشكل ملحوظ حتى آلام ظهري إلي كنت أعاني منها إختفت \r\nوسويت تحاليل تبارك الرحمن كل شي طبيعي \r\nتستحقين الثقه كامله آمانةً','منى الشمري ',NULL),(12,12,2,'المفضل','احبه حيل طلبته مرتين لان حيل قوي ','Reem',NULL),(13,13,2,'بصراحه الايف كوفي احبه احبه احبه مافي مثله القياسات تنزل عليه بطريقه مو طبيعيه رهييييب والطعم خيااااال ','المنتج رهيب الايف كوفي مااستغنى عنه احبه احبه احبه طعمه خياااال وينزل بالقياسات واااايد يفرق\r\n','أم دانه',194),(14,14,2,'بصراحه الكريم رهيب','الكريم ريحته حلوه جدا والمفعول رهيب لاحظته على الزنود ','أم دانه',194),(15,15,2,'القهوه عجييييبه ','القهوه عجيبه احبها احبها احبها مااستغنى عنها صج تنزل بالقياسات وايد وهذا مالاحظته','أم دانه',NULL),(16,16,2,'.','عجيب للكرش خصوصا ثاني علبه اطلبها ومستمرووون','ايمان',NULL),(17,17,2,'احبكم','روعه قهوه تهبل زادت حرق عندي وسدت شهيتي وضعفت حييل منها نزلت ٦ كيلو','ام جوان',NULL),(18,18,2,'للامانه ما التزمت فيها عدل عدل ، اقطع فيها واجد و امشي شوي و نزلت الحين قطعتها والله وزني ثبت ','للامانه ما التزمت فيها عدل عدل ، اقطع فيها واجد و امشي شوي و نزلت الحين قطعتها والله وزني ثبت ','Noun',NULL),(19,19,2,'ناااار','القهوه عجييييبه وايد قسمت لي جسمي مع انه اذا احد شافني يقول نازله اكثر من 10 و للامانه بس المقاسات تغيرت وايد مستانسه على شكل جسمي واهو مرتب ، شكرررراا????♥️♥️','ريم ',NULL),(20,20,2,'ناااار','القهوه عجييييبه وايد قسمت لي جسمي مع انه اذا احد شافني يقول نازله اكثر من 10 و للامانه بس المقاسات تغيرت وايد مستانسه على شكل جسمي واهو مرتب ، شكرررراا????♥️♥️','ريم ',NULL),(21,21,2,'ابي منتج','انا من السعوديه مدنيه الطائف ','منى',NULL),(22,22,2,'امبببيه','امبببيه','T',NULL);

--
-- 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`),
  UNIQUE KEY `MAG2_REVIEW_ENTITY_SUMMARY_ENTITY_PK_VALUE_STORE_ID_ENTITY_TYPE` (`entity_pk_value`,`store_id`,`entity_type`),
  KEY `MAG2_REVIEW_ENTITY_SUMMARY_STORE_ID` (`store_id`),
  CONSTRAINT `MAG2_REVIEW_ENTITY_SUMMARY_STORE_ID_MAG2_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_MAG2_REVIEW_REVIEW_ID` FOREIGN KEY (`review_id`) REFERENCES `mag2_review` (`review_id`) ON DELETE CASCADE,
  CONSTRAINT `MAG2_REVIEW_STORE_STORE_ID_MAG2_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`
--

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

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Daily';

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

INSERT INTO `mag2_sales_bestsellers_aggregated_daily` VALUES (1,'2021-10-16',2,88,'كرواسان',1.0000,1.0000,1),(2,'2021-10-16',2,89,'كرواسان محشي بالشوكولاتة',1.2500,1.0000,2),(3,'2021-10-16',2,92,'High Protein Biscuit -HAZELNUT',1.5000,1.0000,3),(4,'2021-10-17',1,88,'كرواسان',1.0000,2.0000,2),(5,'2021-10-17',1,89,'كرواسان محشي بالشوكولاتة',1.2500,2.0000,3),(6,'2021-10-17',1,90,'مفن',1.0000,2.0000,4),(7,'2021-10-17',1,122,'صلصة الطماطم',2.5000,1.0000,6),(8,'2021-10-17',1,125,'Penne High Protein -250gram',2.5000,1.0000,5),(9,'2021-10-17',1,136,'Biscuit-Orange',1.0000,2.0000,1),(10,'2021-10-17',2,88,'كرواسان',1.0000,1.0000,5),(11,'2021-10-17',2,106,'Baked Biscuit  -GINGER',1.1000,1.0000,7),(12,'2021-10-17',2,108,'Baked Biscuit  -CRANBERRIES',1.1000,1.0000,8),(13,'2021-10-17',2,122,'صلصة الطماطم',2.5000,1.0000,9),(14,'2021-10-17',2,124,'صلصة الطماطم / الريحان',2.5000,1.0000,3),(15,'2021-10-17',2,125,'Penne High Protein -250gram',2.5000,2.0000,1),(16,'2021-10-17',2,128,'معكرونة السباغيتي عالية البروتين',2.5000,1.0000,4),(17,'2021-10-17',2,130,'Tubetti High Protein -250gram',2.5000,1.0000,6),(18,'2021-10-17',2,133,'Fusilli High Protein -250gram',2.5000,2.0000,2),(19,'2021-10-18',1,134,'Fusilli High Protein -50gram',1.0000,2.0000,3),(20,'2021-10-18',1,141,'Biscuit-Almond',1.0000,2.0000,1),(21,'2021-10-18',1,142,'Biscuit-Vanilla Lemon',1.1000,2.0000,2),(22,'2021-10-18',2,90,'مفن',1.0000,1.0000,1),(23,'2021-10-19',2,83,'Biscuit with Chocolate-Orange with chocolate',1.1000,1.0000,4),(24,'2021-10-19',2,85,'Biscuit with Chocolate- Vanilla Lemon with chocolate',1.1000,1.0000,5),(25,'2021-10-19',2,88,'كرواسان',1.0000,4.0000,1),(26,'2021-10-19',2,90,'مفن',1.0000,1.0000,6),(27,'2021-10-19',2,91,'High Protein Biscuit -BLUEBERRY',1.5000,1.0000,2),(28,'2021-10-19',2,93,'High Protein Biscuit -CHOCOLATE',1.5000,1.0000,3),(32,'2021-10-16',0,88,'كرواسان',1.0000,1.0000,1),(33,'2021-10-16',0,89,'كرواسان محشي بالشوكولاتة',1.2500,1.0000,2),(34,'2021-10-16',0,92,'High Protein Biscuit -HAZELNUT',1.5000,1.0000,3),(35,'2021-10-17',0,88,'كرواسان',1.0000,3.0000,1),(36,'2021-10-17',0,89,'كرواسان محشي بالشوكولاتة',1.2500,2.0000,3),(37,'2021-10-17',0,90,'مفن',1.0000,2.0000,4),(38,'2021-10-17',0,106,'Baked Biscuit  -GINGER',1.1000,1.0000,10),(39,'2021-10-17',0,108,'Baked Biscuit  -CRANBERRIES',1.1000,1.0000,11),(40,'2021-10-17',0,122,'صلصة الطماطم',2.5000,2.0000,7),(41,'2021-10-17',0,124,'صلصة الطماطم / الريحان',2.5000,1.0000,12),(42,'2021-10-17',0,125,'Penne High Protein -250gram',2.5000,3.0000,2),(43,'2021-10-17',0,128,'معكرونة السباغيتي عالية البروتين',2.5000,1.0000,8),(44,'2021-10-17',0,130,'Tubetti High Protein -250gram',2.5000,1.0000,9),(45,'2021-10-17',0,133,'Fusilli High Protein -250gram',2.5000,2.0000,5),(46,'2021-10-17',0,136,'Biscuit-Orange',1.0000,2.0000,6),(47,'2021-10-18',0,90,'مفن',1.0000,1.0000,4),(48,'2021-10-18',0,134,'Fusilli High Protein -50gram',1.0000,2.0000,3),(49,'2021-10-18',0,141,'Biscuit-Almond',1.0000,2.0000,1),(50,'2021-10-18',0,142,'Biscuit-Vanilla Lemon',1.1000,2.0000,2),(51,'2021-10-19',0,83,'Biscuit with Chocolate-Orange with chocolate',1.1000,1.0000,4),(52,'2021-10-19',0,85,'Biscuit with Chocolate- Vanilla Lemon with chocolate',1.1000,1.0000,5),(53,'2021-10-19',0,88,'كرواسان',1.0000,4.0000,1),(54,'2021-10-19',0,90,'مفن',1.0000,1.0000,6),(55,'2021-10-19',0,91,'High Protein Biscuit -BLUEBERRY',1.5000,1.0000,2),(56,'2021-10-19',0,93,'High Protein Biscuit -CHOCOLATE',1.5000,1.0000,3);

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Monthly';

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

INSERT INTO `mag2_sales_bestsellers_aggregated_monthly` VALUES (1,'2021-10-01',0,88,'كرواسان',1.0000,8.0000,1),(2,'2021-10-01',0,90,'مفن',1.0000,4.0000,2),(3,'2021-10-01',0,125,'Penne High Protein -250gram',2.5000,3.0000,3),(4,'2021-10-01',0,89,'كرواسان محشي بالشوكولاتة',1.2500,3.0000,4),(5,'2021-10-01',0,136,'Biscuit-Orange',1.0000,2.0000,5),(6,'2021-10-01',0,142,'Biscuit-Vanilla Lemon',1.1000,2.0000,6),(7,'2021-10-01',0,134,'Fusilli High Protein -50gram',1.0000,2.0000,7),(8,'2021-10-01',0,122,'صلصة الطماطم',2.5000,2.0000,8),(9,'2021-10-01',0,133,'Fusilli High Protein -250gram',2.5000,2.0000,9),(10,'2021-10-01',0,141,'Biscuit-Almond',1.0000,2.0000,10),(11,'2021-10-01',0,92,'High Protein Biscuit -HAZELNUT',1.5000,1.0000,11),(12,'2021-10-01',0,124,'صلصة الطماطم / الريحان',2.5000,1.0000,12),(13,'2021-10-01',0,85,'Biscuit with Chocolate- Vanilla Lemon with chocolate',1.1000,1.0000,13),(14,'2021-10-01',0,108,'Baked Biscuit  -CRANBERRIES',1.1000,1.0000,14),(15,'2021-10-01',0,130,'Tubetti High Protein -250gram',2.5000,1.0000,15),(16,'2021-10-01',0,91,'High Protein Biscuit -BLUEBERRY',1.5000,1.0000,16),(17,'2021-10-01',0,83,'Biscuit with Chocolate-Orange with chocolate',1.1000,1.0000,17),(18,'2021-10-01',0,106,'Baked Biscuit  -GINGER',1.1000,1.0000,18),(19,'2021-10-01',0,128,'معكرونة السباغيتي عالية البروتين',2.5000,1.0000,19),(20,'2021-10-01',0,93,'High Protein Biscuit -CHOCOLATE',1.5000,1.0000,20),(21,'2021-10-01',1,90,'مفن',1.0000,2.0000,1),(22,'2021-10-01',1,88,'كرواسان',1.0000,2.0000,2),(23,'2021-10-01',1,136,'Biscuit-Orange',1.0000,2.0000,3),(24,'2021-10-01',1,141,'Biscuit-Almond',1.0000,2.0000,4),(25,'2021-10-01',1,89,'كرواسان محشي بالشوكولاتة',1.2500,2.0000,5),(26,'2021-10-01',1,142,'Biscuit-Vanilla Lemon',1.1000,2.0000,6),(27,'2021-10-01',1,134,'Fusilli High Protein -50gram',1.0000,2.0000,7),(28,'2021-10-01',1,122,'صلصة الطماطم',2.5000,1.0000,8),(29,'2021-10-01',1,125,'Penne High Protein -250gram',2.5000,1.0000,9),(30,'2021-10-01',2,88,'كرواسان',1.0000,6.0000,1),(31,'2021-10-01',2,90,'مفن',1.0000,2.0000,2),(32,'2021-10-01',2,125,'Penne High Protein -250gram',2.5000,2.0000,3),(33,'2021-10-01',2,133,'Fusilli High Protein -250gram',2.5000,2.0000,4),(34,'2021-10-01',2,108,'Baked Biscuit  -CRANBERRIES',1.1000,1.0000,5),(35,'2021-10-01',2,130,'Tubetti High Protein -250gram',2.5000,1.0000,6),(36,'2021-10-01',2,91,'High Protein Biscuit -BLUEBERRY',1.5000,1.0000,7),(37,'2021-10-01',2,89,'كرواسان محشي بالشوكولاتة',1.2500,1.0000,8),(38,'2021-10-01',2,122,'صلصة الطماطم',2.5000,1.0000,9),(39,'2021-10-01',2,83,'Biscuit with Chocolate-Orange with chocolate',1.1000,1.0000,10),(40,'2021-10-01',2,106,'Baked Biscuit  -GINGER',1.1000,1.0000,11),(41,'2021-10-01',2,128,'معكرونة السباغيتي عالية البروتين',2.5000,1.0000,12),(42,'2021-10-01',2,93,'High Protein Biscuit -CHOCOLATE',1.5000,1.0000,13),(43,'2021-10-01',2,92,'High Protein Biscuit -HAZELNUT',1.5000,1.0000,14),(44,'2021-10-01',2,124,'صلصة الطماطم / الريحان',2.5000,1.0000,15),(45,'2021-10-01',2,85,'Biscuit with Chocolate- Vanilla Lemon with chocolate',1.1000,1.0000,16);

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 COMMENT='Sales Bestsellers Aggregated Yearly';

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

INSERT INTO `mag2_sales_bestsellers_aggregated_yearly` VALUES (1,'2021-01-01',0,88,'كرواسان',1.0000,8.0000,1),(2,'2021-01-01',0,90,'مفن',1.0000,4.0000,2),(3,'2021-01-01',0,125,'Penne High Protein -250gram',2.5000,3.0000,3),(4,'2021-01-01',0,89,'كرواسان محشي بالشوكولاتة',1.2500,3.0000,4),(5,'2021-01-01',0,136,'Biscuit-Orange',1.0000,2.0000,5),(6,'2021-01-01',0,142,'Biscuit-Vanilla Lemon',1.1000,2.0000,6),(7,'2021-01-01',0,134,'Fusilli High Protein -50gram',1.0000,2.0000,7),(8,'2021-01-01',0,122,'صلصة الطماطم',2.5000,2.0000,8),(9,'2021-01-01',0,133,'Fusilli High Protein -250gram',2.5000,2.0000,9),(10,'2021-01-01',0,141,'Biscuit-Almond',1.0000,2.0000,10),(11,'2021-01-01',0,92,'High Protein Biscuit -HAZELNUT',1.5000,1.0000,11),(12,'2021-01-01',0,124,'صلصة الطماطم / الريحان',2.5000,1.0000,12),(13,'2021-01-01',0,85,'Biscuit with Chocolate- Vanilla Lemon with chocolate',1.1000,1.0000,13),(14,'2021-01-01',0,108,'Baked Biscuit  -CRANBERRIES',1.1000,1.0000,14),(15,'2021-01-01',0,130,'Tubetti High Protein -250gram',2.5000,1.0000,15),(16,'2021-01-01',0,91,'High Protein Biscuit -BLUEBERRY',1.5000,1.0000,16),(17,'2021-01-01',0,83,'Biscuit with Chocolate-Orange with chocolate',1.1000,1.0000,17),(18,'2021-01-01',0,106,'Baked Biscuit  -GINGER',1.1000,1.0000,18),(19,'2021-01-01',0,128,'معكرونة السباغيتي عالية البروتين',2.5000,1.0000,19),(20,'2021-01-01',0,93,'High Protein Biscuit -CHOCOLATE',1.5000,1.0000,20),(21,'2021-01-01',1,90,'مفن',1.0000,2.0000,1),(22,'2021-01-01',1,88,'كرواسان',1.0000,2.0000,2),(23,'2021-01-01',1,136,'Biscuit-Orange',1.0000,2.0000,3),(24,'2021-01-01',1,141,'Biscuit-Almond',1.0000,2.0000,4),(25,'2021-01-01',1,89,'كرواسان محشي بالشوكولاتة',1.2500,2.0000,5),(26,'2021-01-01',1,142,'Biscuit-Vanilla Lemon',1.1000,2.0000,6),(27,'2021-01-01',1,134,'Fusilli High Protein -50gram',1.0000,2.0000,7),(28,'2021-01-01',1,122,'صلصة الطماطم',2.5000,1.0000,8),(29,'2021-01-01',1,125,'Penne High Protein -250gram',2.5000,1.0000,9),(30,'2021-01-01',2,88,'كرواسان',1.0000,6.0000,1),(31,'2021-01-01',2,90,'مفن',1.0000,2.0000,2),(32,'2021-01-01',2,125,'Penne High Protein -250gram',2.5000,2.0000,3),(33,'2021-01-01',2,133,'Fusilli High Protein -250gram',2.5000,2.0000,4),(34,'2021-01-01',2,108,'Baked Biscuit  -CRANBERRIES',1.1000,1.0000,5),(35,'2021-01-01',2,130,'Tubetti High Protein -250gram',2.5000,1.0000,6),(36,'2021-01-01',2,91,'High Protein Biscuit -BLUEBERRY',1.5000,1.0000,7),(37,'2021-01-01',2,89,'كرواسان محشي بالشوكولاتة',1.2500,1.0000,8),(38,'2021-01-01',2,122,'صلصة الطماطم',2.5000,1.0000,9),(39,'2021-01-01',2,83,'Biscuit with Chocolate-Orange with chocolate',1.1000,1.0000,10),(40,'2021-01-01',2,106,'Baked Biscuit  -GINGER',1.1000,1.0000,11),(41,'2021-01-01',2,128,'معكرونة السباغيتي عالية البروتين',2.5000,1.0000,12),(42,'2021-01-01',2,93,'High Protein Biscuit -CHOCOLATE',1.5000,1.0000,13),(43,'2021-01-01',2,92,'High Protein Biscuit -HAZELNUT',1.5000,1.0000,14),(44,'2021-01-01',2,124,'صلصة الطماطم / الريحان',2.5000,1.0000,15),(45,'2021-01-01',2,85,'Biscuit with Chocolate- Vanilla Lemon with chocolate',1.1000,1.0000,16);

--
-- 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(20,4) DEFAULT NULL COMMENT 'Adjustment Positive',
  `base_shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `store_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Order Rate',
  `base_discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `base_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Order Rate',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `base_adjustment_negative` decimal(20,4) DEFAULT NULL COMMENT 'Base Adjustment Negative',
  `base_subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal Incl Tax',
  `shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `adjustment_negative` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment Negative',
  `base_shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `store_to_base_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Base Rate',
  `base_to_global_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Global Rate',
  `base_adjustment` decimal(20,4) DEFAULT NULL COMMENT 'Base Adjustment',
  `base_subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal',
  `discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Amount',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `adjustment` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment',
  `base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `base_adjustment_positive` decimal(20,4) DEFAULT NULL COMMENT 'Base Adjustment Positive',
  `base_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Amount',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `email_sent` smallint(5) unsigned DEFAULT NULL COMMENT 'Email Sent',
  `send_email` smallint(5) unsigned DEFAULT NULL COMMENT 'Send Email',
  `creditmemo_status` int(11) DEFAULT NULL COMMENT 'Creditmemo Status',
  `state` int(11) DEFAULT NULL COMMENT 'State',
  `shipping_address_id` int(11) DEFAULT NULL COMMENT 'Shipping Address ID',
  `billing_address_id` int(11) DEFAULT NULL COMMENT 'Billing Address ID',
  `invoice_id` int(11) DEFAULT NULL COMMENT 'Invoice ID',
  `store_currency_code` varchar(3) DEFAULT NULL COMMENT 'Store Currency Code',
  `order_currency_code` varchar(3) DEFAULT NULL COMMENT 'Order Currency Code',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `global_currency_code` varchar(3) DEFAULT NULL COMMENT 'Global Currency Code',
  `transaction_id` varchar(255) DEFAULT NULL COMMENT 'Transaction ID',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `shipping_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Discount Tax Compensation Amount',
  `base_shipping_discount_tax_compensation_amnt` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Discount Tax Compensation Amount',
  `shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Incl Tax',
  `base_shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Incl Tax',
  `discount_description` varchar(255) DEFAULT NULL COMMENT 'Discount Description',
  `customer_note` text COMMENT 'Customer Note',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `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`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Flat Creditmemo';

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


--
-- 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`)
) 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(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `order_status` varchar(32) DEFAULT NULL COMMENT 'Order Status',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `billing_address` varchar(255) DEFAULT NULL COMMENT 'Billing Address',
  `shipping_address` varchar(255) DEFAULT NULL COMMENT 'Shipping Address',
  `customer_name` varchar(128) NOT NULL COMMENT 'Customer Name',
  `customer_email` varchar(128) DEFAULT NULL COMMENT 'Customer Email',
  `customer_group_id` smallint(6) DEFAULT NULL COMMENT 'Customer Group ID',
  `payment_method` varchar(32) DEFAULT NULL COMMENT 'Payment Method',
  `shipping_information` varchar(255) DEFAULT NULL COMMENT 'Shipping Method Name',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(20,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `adjustment_positive` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment Positive',
  `adjustment_negative` decimal(20,4) DEFAULT NULL COMMENT 'Adjustment Negative',
  `order_base_grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Order Grand Total',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `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`
--


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

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


--
-- 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(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Tax Amount',
  `tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Amount',
  `base_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `store_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Order Rate',
  `base_shipping_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Tax Amount',
  `base_discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `base_to_order_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Order Rate',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Amount',
  `subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal Incl Tax',
  `base_subtotal_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal Incl Tax',
  `store_to_base_rate` decimal(20,4) DEFAULT NULL COMMENT 'Store To Base Rate',
  `base_shipping_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Amount',
  `total_qty` decimal(12,4) DEFAULT NULL COMMENT 'Total Qty',
  `base_to_global_rate` decimal(20,4) DEFAULT NULL COMMENT 'Base To Global Rate',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `base_subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Base Subtotal',
  `discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Amount',
  `billing_address_id` int(11) DEFAULT NULL COMMENT 'Billing Address ID',
  `is_used_for_refund` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Used For Refund',
  `order_id` int(10) unsigned NOT NULL COMMENT 'Order ID',
  `email_sent` smallint(5) unsigned DEFAULT NULL COMMENT 'Email Sent',
  `send_email` smallint(5) unsigned DEFAULT NULL COMMENT 'Send Email',
  `can_void_flag` smallint(5) unsigned DEFAULT NULL COMMENT 'Can Void Flag',
  `state` int(11) DEFAULT NULL COMMENT 'State',
  `shipping_address_id` int(11) DEFAULT NULL COMMENT 'Shipping Address ID',
  `store_currency_code` varchar(3) DEFAULT NULL COMMENT 'Store Currency Code',
  `transaction_id` varchar(255) DEFAULT NULL COMMENT 'Transaction ID',
  `order_currency_code` varchar(3) DEFAULT NULL COMMENT 'Order Currency Code',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `global_currency_code` varchar(3) DEFAULT NULL COMMENT 'Global Currency Code',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `shipping_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Discount Tax Compensation Amount',
  `base_shipping_discount_tax_compensation_amnt` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Discount Tax Compensation Amount',
  `shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Shipping Incl Tax',
  `base_shipping_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Shipping Incl Tax',
  `base_total_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Total Refunded',
  `discount_description` varchar(255) DEFAULT NULL COMMENT 'Discount Description',
  `customer_note` text COMMENT 'Customer Note',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  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`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Invoice';

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

INSERT INTO `mag2_sales_invoice` VALUES (1,1,13.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,13.0000,3.0000,10.0000,10.0000,0.0000,3.0000,2.0000,1.0000,10.0000,10.0000,0.0000,4,NULL,2,NULL,NULL,0,2,3,'KWD',NULL,'KWD','KWD','KWD','2000000211','2021-09-30 11:20:45','2021-09-30 11:20:45',0.0000,0.0000,0.0000,0.0000,3.0000,3.0000,NULL,NULL,NULL,NULL),(2,2,28.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,28.0000,3.0000,25.0000,25.0000,0.0000,3.0000,5.0000,1.0000,25.0000,25.0000,0.0000,8,NULL,4,NULL,NULL,0,2,7,'KWD',NULL,'KWD','KWD','KWD','2000000212','2021-09-30 12:36:17','2021-09-30 12:36:17',0.0000,0.0000,0.0000,0.0000,3.0000,3.0000,NULL,NULL,NULL,NULL),(3,2,25.2000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,25.2000,2.0000,23.2000,23.2000,0.0000,2.0000,18.0000,1.0000,23.2000,23.2000,0.0000,16,NULL,8,NULL,NULL,0,2,15,'KWD',NULL,'KWD','KWD','KWD','2000000213','2021-10-17 19:33:06','2021-10-17 19:33:06',0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,NULL,NULL,NULL,NULL),(4,2,5.7500,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,5.7500,2.0000,3.7500,3.7500,0.0000,2.0000,4.0000,1.0000,3.7500,3.7500,0.0000,14,NULL,7,NULL,NULL,0,2,13,'KWD',NULL,'KWD','KWD','KWD','2000000214','2021-10-17 19:40:18','2021-10-17 19:40:18',0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,NULL,NULL,NULL,NULL),(5,1,15.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,15.5000,2.0000,13.5000,13.5000,0.0000,2.0000,10.0000,1.0000,13.5000,13.5000,0.0000,18,NULL,9,NULL,NULL,0,2,17,'KWD',NULL,'KWD','KWD','KWD','2000000215','2021-10-17 20:23:22','2021-10-17 20:23:22',0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,NULL,NULL,NULL,NULL),(6,2,3.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,3.0000,2.0000,1.0000,1.0000,0.0000,2.0000,1.0000,1.0000,1.0000,1.0000,0.0000,20,NULL,10,NULL,NULL,0,2,19,'KWD',NULL,'KWD','KWD','KWD','2000000216','2021-10-18 06:53:03','2021-10-18 06:53:03',0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,NULL,NULL,NULL,NULL),(7,1,4.1000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,4.1000,2.0000,2.1000,2.1000,0.0000,2.0000,2.0000,1.0000,2.1000,2.1000,0.0000,26,NULL,13,NULL,NULL,0,2,25,'KWD',NULL,'KWD','KWD','KWD','2000000217','2021-10-18 16:56:16','2021-10-18 16:56:16',0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,NULL,NULL,NULL,NULL),(8,2,12.2000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,12.2000,2.0000,10.2000,10.2000,0.0000,2.0000,9.0000,1.0000,10.2000,10.2000,0.0000,28,NULL,14,NULL,NULL,0,2,27,'KWD',NULL,'KWD','KWD','KWD','2000000218','2021-10-19 08:19:50','2021-10-19 08:19:50',0.0000,0.0000,0.0000,0.0000,2.0000,2.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`)
) 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(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(20,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `base_grand_total` decimal(20,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,'2000000211',2,1,'Main Website\nMain Website Store\n',2,'000000006','2021-09-30 11:20:23','','rana@mawaqaa.com',0,'hesabe','KWD','KWD','KWD','KWD','test test','test test','test test','Flat Rate - Fixed',10.0000,3.0000,13.0000,13.0000,'2021-09-30 11:20:45','2021-09-30 11:20:45'),(2,'2000000212',2,2,'Main Website\nMain Website Store\n',4,'2000000465','2021-09-30 12:25:25','','rana@mawaqaa.com',0,'hesabe','KWD','KWD','KWD','KWD','test test','test test','test test','شحن ثابت - مبلغ ثابت',25.0000,3.0000,28.0000,28.0000,'2021-09-30 12:36:17','2021-09-30 12:36:17'),(3,'2000000213',2,2,'Main Website\nMain Website Store\n',8,'2000000469','2021-10-17 17:15:05','','hessa_alswaidan@hotmail.com',0,'mpgs','KWD','KWD','KWD','KWD','Hessa Alsuwaidan','Block 2 / Street 5 / House 17 Surra 45402','Block 2 / Street 5 / House 17 Surra 45402','شحن ثابت - مبلغ ثابت',23.2000,2.0000,25.2000,25.2000,'2021-10-17 19:33:06','2021-10-17 19:33:06'),(4,'2000000214',2,2,'Main Website\nMain Website Store\n',7,'2000000468','2021-10-16 09:49:22','','divina77@hotmail.com',0,'hesabe','KWD','KWD','KWD','KWD','Amal Al-Ameeri','العديلية ق ١ ش سلطان الكليب م ٥ العديلية العاصمة','العديلية ق ١ ش سلطان الكليب م ٥ العديلية العاصمة','شحن ثابت - مبلغ ثابت',3.7500,2.0000,5.7500,5.7500,'2021-10-17 19:40:18','2021-10-17 19:40:18'),(5,'2000000215',2,1,'Main Website\nMain Website Store\n',9,'000000008','2021-10-17 20:21:43','Mona Sulaiman','1634502102@example.com',1,'hesabe','KWD','KWD','KWD','KWD','Mona Sulaiman','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','Flat Rate - Fixed',13.5000,2.0000,15.5000,15.5000,'2021-10-17 20:23:22','2021-10-17 20:23:22'),(6,'2000000216',2,2,'Main Website\nMain Website Store\n',10,'2000000470','2021-10-18 06:50:22','','rana@mawaqaa.com',0,'hesabe','KWD','KWD','KWD','KWD','test test','test test test','test test test','شحن ثابت - مبلغ ثابت',1.0000,2.0000,3.0000,3.0000,'2021-10-18 06:53:03','2021-10-18 06:53:03'),(7,'2000000217',2,1,'Main Website\nMain Website Store\n',13,'000000011','2021-10-18 16:53:41','Mona Sulaiman','1634576020@example.com',1,'hesabe','KWD','KWD','KWD','KWD','Mona Sulaiman','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','Flat Rate - Fixed',2.1000,2.0000,4.1000,4.1000,'2021-10-18 16:56:16','2021-10-18 16:56:16'),(8,'2000000218',2,2,'Main Website\nMain Website Store\n',14,'2000000471','2021-10-19 08:18:26','Mona Sulaiman','1634576020@example.com',1,'hesabe','KWD','KWD','KWD','KWD','Mona Sulaiman','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','شحن ثابت - مبلغ ثابت',10.2000,2.0000,12.2000,12.2000,'2021-10-19 08:19:50','2021-10-19 08:19:50');

--
-- 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(20,4) DEFAULT NULL COMMENT 'Base Row Total',
  `discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Amount',
  `row_total` decimal(20,4) DEFAULT NULL COMMENT 'Row Total',
  `base_discount_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `price_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Price Incl Tax',
  `base_tax_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `base_price_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Price Incl Tax',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `base_cost` decimal(12,4) DEFAULT NULL COMMENT 'Base Cost',
  `price` decimal(12,4) DEFAULT NULL COMMENT 'Price',
  `base_row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Base Row Total Incl Tax',
  `row_total_incl_tax` decimal(12,4) DEFAULT NULL COMMENT 'Row Total Incl Tax',
  `product_id` int(11) DEFAULT NULL COMMENT 'Product ID',
  `order_item_id` int(11) DEFAULT NULL COMMENT 'Order Item ID',
  `additional_data` text COMMENT 'Additional Data',
  `description` text COMMENT 'Description',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `tax_ratio` text COMMENT 'Ratio of tax invoiced over tax of the order item',
  `weee_tax_applied` text COMMENT 'Weee Tax Applied',
  `weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Amount',
  `weee_tax_applied_row_amount` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Applied Row Amount',
  `weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Disposition',
  `weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Weee Tax Row Disposition',
  `base_weee_tax_applied_amount` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Amount',
  `base_weee_tax_applied_row_amnt` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Applied Row Amnt',
  `base_weee_tax_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Disposition',
  `base_weee_tax_row_disposition` decimal(12,4) DEFAULT NULL COMMENT 'Base Weee Tax Row Disposition',
  PRIMARY KEY (`entity_id`),
  KEY `MAG2_SALES_INVOICE_ITEM_PARENT_ID` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=36 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,5.0000,0.0000,10.0000,NULL,10.0000,NULL,5.0000,0.0000,5.0000,2.0000,NULL,5.0000,10.0000,10.0000,16,2,NULL,NULL,'Test Product','Test Product',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(2,2,5.0000,0.0000,25.0000,NULL,25.0000,NULL,5.0000,0.0000,5.0000,5.0000,NULL,5.0000,25.0000,25.0000,16,4,NULL,NULL,'Test Product','Test Product',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(3,3,2.5000,0.0000,2.5000,NULL,2.5000,NULL,2.5000,0.0000,2.5000,1.0000,NULL,2.5000,2.5000,2.5000,132,14,NULL,NULL,'Tubetti High Protein -250gram','معكرونة التوبيتي عالية البروتين',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(4,3,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,0.0000,NULL,NULL,130,15,NULL,NULL,'Tubetti High Protein -250gram','Tubetti High Protein -250gram',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,3,2.5000,0.0000,2.5000,NULL,2.5000,NULL,2.5000,0.0000,2.5000,1.0000,NULL,2.5000,2.5000,2.5000,124,16,NULL,NULL,'Fit Sauce Tomato/Basil','صلصة الطماطم / الريحان',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(6,3,2.5000,0.0000,2.5000,NULL,2.5000,NULL,2.5000,0.0000,2.5000,1.0000,NULL,2.5000,2.5000,2.5000,122,17,NULL,NULL,'Fit Sauce Tomato','صلصة الطماطم',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(7,3,1.0000,0.0000,1.0000,NULL,1.0000,NULL,1.0000,0.0000,1.0000,1.0000,NULL,1.0000,1.0000,1.0000,88,18,NULL,NULL,'Croissant ','كرواسان',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(8,3,1.1000,0.0000,1.1000,NULL,1.1000,NULL,1.1000,0.0000,1.1000,1.0000,NULL,1.1000,1.1000,1.1000,109,19,NULL,NULL,'Baked Biscuit  -GINGER','بسكويت مخبوز',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(9,3,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,0.0000,NULL,NULL,106,20,NULL,NULL,'Baked Biscuit  -GINGER','Baked Biscuit  -GINGER',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,3,1.1000,0.0000,1.1000,NULL,1.1000,NULL,1.1000,0.0000,1.1000,1.0000,NULL,1.1000,1.1000,1.1000,109,21,NULL,NULL,'Baked Biscuit  -CRANBERRIES','بسكويت مخبوز',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(11,3,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,0.0000,NULL,NULL,108,22,NULL,NULL,'Baked Biscuit  -CRANBERRIES','Baked Biscuit  -CRANBERRIES',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(12,3,2.5000,0.0000,2.5000,NULL,2.5000,NULL,2.5000,0.0000,2.5000,1.0000,NULL,2.5000,2.5000,2.5000,128,23,NULL,NULL,'Spaghetti High Protein ','معكرونة السباغيتي عالية البروتين',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(13,3,2.5000,0.0000,5.0000,NULL,5.0000,NULL,2.5000,0.0000,2.5000,2.0000,NULL,2.5000,5.0000,5.0000,127,24,NULL,NULL,'Penne High Protein -250gram','معكرونة البيني عالية البروتين',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(14,3,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2.0000,NULL,0.0000,NULL,NULL,125,25,NULL,NULL,'Penne High Protein -250gram','Penne High Protein -250gram',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,3,2.5000,0.0000,5.0000,NULL,5.0000,NULL,2.5000,0.0000,2.5000,2.0000,NULL,2.5000,5.0000,5.0000,135,26,NULL,NULL,'Fusilli High Protein -250gram','معكرونة الفوسيلي عالية البروتين',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(16,3,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2.0000,NULL,0.0000,NULL,NULL,133,27,NULL,NULL,'Fusilli High Protein -250gram','Fusilli High Protein -250gram',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,4,1.0000,0.0000,1.0000,NULL,1.0000,NULL,1.0000,0.0000,1.0000,1.0000,NULL,1.0000,1.0000,1.0000,88,10,NULL,NULL,'Croissant ','كرواسان',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(18,4,1.2500,0.0000,1.2500,NULL,1.2500,NULL,1.2500,0.0000,1.2500,1.0000,NULL,1.2500,1.2500,1.2500,89,11,NULL,NULL,'Croissant with Chocolate','كرواسان محشي بالشوكولاتة',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(19,4,1.5000,0.0000,1.5000,NULL,1.5000,NULL,1.5000,0.0000,1.5000,1.0000,NULL,1.5000,1.5000,1.5000,95,12,NULL,NULL,'High Protein Biscuit -HAZELNUT','بسكويت عالي البروتين',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(20,4,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,0.0000,NULL,NULL,92,13,NULL,NULL,'High Protein Biscuit -HAZELNUT','High Protein Biscuit -HAZELNUT',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,5,1.0000,0.0000,2.0000,NULL,2.0000,NULL,1.0000,0.0000,1.0000,2.0000,NULL,1.0000,2.0000,2.0000,88,28,NULL,NULL,'Croissant ','كرواسان',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(22,5,1.2500,0.0000,2.5000,NULL,2.5000,NULL,1.2500,0.0000,1.2500,2.0000,NULL,1.2500,2.5000,2.5000,89,29,NULL,NULL,'Croissant with Chocolate','كرواسان محشي بالشوكولاتة',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(23,5,1.0000,0.0000,2.0000,NULL,2.0000,NULL,1.0000,0.0000,1.0000,2.0000,NULL,1.0000,2.0000,2.0000,90,30,NULL,NULL,'Muffin ','مفن',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(24,5,2.5000,0.0000,2.5000,NULL,2.5000,NULL,2.5000,0.0000,2.5000,1.0000,NULL,2.5000,2.5000,2.5000,122,31,NULL,NULL,'Fit Sauce Tomato','صلصة الطماطم',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(25,5,2.5000,0.0000,2.5000,NULL,2.5000,NULL,2.5000,0.0000,2.5000,1.0000,NULL,2.5000,2.5000,2.5000,125,32,NULL,NULL,'Penne High Protein -250gram','Penne High Protein -250gram',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(26,5,1.0000,0.0000,2.0000,NULL,2.0000,NULL,1.0000,0.0000,1.0000,2.0000,NULL,1.0000,2.0000,2.0000,136,33,NULL,NULL,'Biscuit-Orange','Biscuit-Orange',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(27,6,1.0000,0.0000,1.0000,NULL,1.0000,NULL,1.0000,0.0000,1.0000,1.0000,NULL,1.0000,1.0000,1.0000,90,34,NULL,NULL,'Muffin ','مفن',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(28,7,1.0000,0.0000,1.0000,NULL,1.0000,NULL,1.0000,0.0000,1.0000,1.0000,NULL,1.0000,1.0000,1.0000,141,39,NULL,NULL,'Biscuit-Almond','Biscuit-Almond',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(29,7,1.1000,0.0000,1.1000,NULL,1.1000,NULL,1.1000,0.0000,1.1000,1.0000,NULL,1.1000,1.1000,1.1000,142,40,NULL,NULL,'Biscuit-Vanilla Lemon','Biscuit-Vanilla Lemon',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(30,8,1.1000,0.0000,1.1000,NULL,1.1000,NULL,1.1000,0.0000,1.1000,1.0000,NULL,1.1000,1.1000,1.1000,83,41,NULL,NULL,'Biscuit with Chocolate-Orange with chocolate-1','Biscuit with Chocolate-Orange with chocolate',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(31,8,1.1000,0.0000,1.1000,NULL,1.1000,NULL,1.1000,0.0000,1.1000,1.0000,NULL,1.1000,1.1000,1.1000,85,42,NULL,NULL,'Biscuit with Chocolate- Vanilla Lemon with chocolate-1','Biscuit with Chocolate- Vanilla Lemon with chocolate',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(32,8,1.0000,0.0000,4.0000,NULL,4.0000,NULL,1.0000,0.0000,1.0000,4.0000,NULL,1.0000,4.0000,4.0000,88,43,NULL,NULL,'Croissant ','كرواسان',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(33,8,1.0000,0.0000,1.0000,NULL,1.0000,NULL,1.0000,0.0000,1.0000,1.0000,NULL,1.0000,1.0000,1.0000,90,44,NULL,NULL,'Muffin ','مفن',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(34,8,1.5000,0.0000,1.5000,NULL,1.5000,NULL,1.5000,0.0000,1.5000,1.0000,NULL,1.5000,1.5000,1.5000,91,45,NULL,NULL,'High Protein Biscuit -BLUEBERRY','High Protein Biscuit -BLUEBERRY',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(35,8,1.5000,0.0000,1.5000,NULL,1.5000,NULL,1.5000,0.0000,1.5000,1.0000,NULL,1.5000,1.5000,1.5000,93,46,NULL,NULL,'High Protein Biscuit -CHOCOLATE','High Protein Biscuit -CHOCOLATE',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`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='Sales Invoiced Aggregated';

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

INSERT INTO `mag2_sales_invoiced_aggregated` VALUES (1,'2021-10-17',1,'complete',1,1.0000,15.5000,15.5000,0.0000),(2,'2021-10-17',2,'complete',2,2.0000,30.9500,30.9500,0.0000),(3,'2021-10-18',1,'processing',1,1.0000,4.1000,4.1000,0.0000),(4,'2021-10-18',2,'complete',1,1.0000,3.0000,3.0000,0.0000),(5,'2021-10-19',2,'complete',1,1.0000,12.2000,12.2000,0.0000),(8,'2021-10-17',0,'complete',3,3.0000,46.4500,46.4500,0.0000),(9,'2021-10-18',0,'complete',1,1.0000,3.0000,3.0000,0.0000),(10,'2021-10-18',0,'processing',1,1.0000,4.1000,4.1000,0.0000),(11,'2021-10-19',0,'complete',1,1.0000,12.2000,12.2000,0.0000);

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

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

INSERT INTO `mag2_sales_invoiced_aggregated_order` VALUES (1,'2021-10-16',2,'complete',1,1.0000,5.7500,5.7500,0.0000),(2,'2021-10-17',1,'complete',1,1.0000,15.5000,15.5000,0.0000),(3,'2021-10-17',2,'complete',1,1.0000,25.2000,25.2000,0.0000),(4,'2021-10-18',1,'processing',1,1.0000,4.1000,4.1000,0.0000),(5,'2021-10-18',2,'complete',1,1.0000,3.0000,3.0000,0.0000),(6,'2021-10-19',2,'complete',1,1.0000,12.2000,12.2000,0.0000),(8,'2021-10-16',0,'complete',1,1.0000,5.7500,5.7500,0.0000),(9,'2021-10-17',0,'complete',2,2.0000,40.7000,40.7000,0.0000),(10,'2021-10-18',0,'complete',1,1.0000,3.0000,3.0000,0.0000),(11,'2021-10-18',0,'processing',1,1.0000,4.1000,4.1000,0.0000),(12,'2021-10-19',0,'complete',1,1.0000,12.2000,12.2000,0.0000);

--
-- 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',
  `vertex_vat_country_code` varchar(255) DEFAULT NULL COMMENT 'Vertex Customer Vat Country',
  PRIMARY KEY (`entity_id`),
  KEY `MAG2_SALES_ORDER_ADDRESS_PARENT_ID` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 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,NULL,2,NULL,NULL,NULL,NULL,NULL,'test','test','test','rana@mawaqaa.com','0000000','KW','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,NULL,3,NULL,NULL,NULL,NULL,NULL,'test','test','test','rana@mawaqaa.com','0000000','KW','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,2,NULL,2,NULL,NULL,NULL,NULL,NULL,'test','test','test','rana@mawaqaa.com','0000000','KW','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,2,NULL,4,NULL,NULL,NULL,NULL,NULL,'test','test','test','rana@mawaqaa.com','0000000','KW','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,3,NULL,8,NULL,NULL,NULL,NULL,NULL,'test','kuwait','kuwait','rana@mawaqaa.com','0000000','KW','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,3,NULL,9,NULL,NULL,NULL,NULL,NULL,'test','kuwait','kuwait','rana@mawaqaa.com','0000000','KW','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,4,NULL,8,NULL,NULL,NULL,NULL,NULL,'test','test','test','rana@mawaqaa.com','00000000','KW','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,4,NULL,10,NULL,NULL,NULL,NULL,NULL,'test','test','test','rana@mawaqaa.com','00000000','KW','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,5,NULL,814,NULL,NULL,NULL,'حولي','20006','Sulaiman','Salmyah block 6 street 4\nSalnyah block 6 street 4m\nSalnyah block 6 street 4','الكويت','nice_totah@hotmail.com','+965 9790 2454','KW','Mona','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,5,NULL,817,NULL,NULL,NULL,'حولي','20006','Sulaiman','Salmyah block 6 street 4\nSalnyah block 6 street 4m\nSalnyah block 6 street 4','الكويت','nice_totah@hotmail.com','+965 9790 2454','KW','Mona','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(11,6,NULL,819,NULL,NULL,NULL,'A','A','A','A','A','nhhhh@hotmail.com','???? 2344','KW','A','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(12,6,NULL,820,NULL,NULL,NULL,'A','A','A','A','A','nhhhh@hotmail.com','???? 2344','KW','A','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(13,7,NULL,832,NULL,NULL,NULL,'العاصمة',NULL,'Al-Ameeri','العديلية ق ١ ش سلطان الكليب م ٥','العديلية','divina77@hotmail.com','66743331','KW','Amal','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(14,7,NULL,833,NULL,NULL,NULL,'العاصمة',NULL,'Al-Ameeri','العديلية ق ١ ش سلطان الكليب م ٥','العديلية','divina77@hotmail.com','66743331','KW','Amal','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,8,NULL,839,NULL,NULL,NULL,NULL,'45402','Alsuwaidan ','Block 2 / Street 5 / House 17','Surra','hessa_alswaidan@hotmail.com','99443921','KW','Hessa','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(16,8,NULL,840,NULL,NULL,NULL,NULL,'45402','Alsuwaidan ','Block 2 / Street 5 / House 17','Surra','hessa_alswaidan@hotmail.com','99443921','KW','Hessa','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,9,NULL,844,NULL,NULL,NULL,'Hawally',NULL,'Sulaiman','Salmiya , Block 6','Salmiya','1634502102@example.com','97902454','KW','Mona','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(18,9,NULL,843,NULL,NULL,NULL,'Hawally',NULL,'Sulaiman','Salmiya , Block 6','Salmiya','1634502102@example.com','97902454','KW','Mona','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(19,10,NULL,846,NULL,NULL,NULL,NULL,'test','test','test','test','rana@mawaqaa.com','00000000','KW','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(20,10,NULL,847,NULL,NULL,NULL,NULL,'test','test','test','test','rana@mawaqaa.com','00000000','KW','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,11,NULL,849,NULL,NULL,NULL,'test',NULL,'test','test','test','1634548438@example.com','00000','KW','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(22,11,NULL,848,NULL,NULL,NULL,'test',NULL,'test','test','test','1634548438@example.com','00000','KW','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(23,12,NULL,851,NULL,NULL,NULL,'kuwait',NULL,'last name here','test','kuwait','1634550246@example.com','0000000','KW','name here','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(24,12,NULL,850,NULL,NULL,NULL,'kuwait',NULL,'last name here','test','kuwait','1634550246@example.com','0000000','KW','name here','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(25,13,NULL,859,NULL,NULL,NULL,'Hawally',NULL,'Sulaiman','Salmiya , Block 6','Salmiya','1634576020@example.com','97902454','KW','Mona','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(26,13,NULL,858,NULL,NULL,NULL,'Hawally',NULL,'Sulaiman','Salmiya , Block 6','Salmiya','1634576020@example.com','97902454','KW','Mona','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(27,14,NULL,875,NULL,NULL,NULL,'Hawally',NULL,'Sulaiman','Salmiya , Block 6','Salmiya','1634576020@example.com','97902454','KW','Mona','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(28,14,NULL,874,NULL,NULL,NULL,'Hawally',NULL,'Sulaiman','Salmiya , Block 6','Salmiya','1634576020@example.com','97902454','KW','Mona','billing',NULL,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(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Income Amount',
  `total_revenue_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Revenue Amount',
  `total_profit_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Profit Amount',
  `total_invoiced_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Invoiced Amount',
  `total_canceled_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Canceled Amount',
  `total_paid_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Paid Amount',
  `total_refunded_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Refunded Amount',
  `total_tax_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount',
  `total_tax_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount Actual',
  `total_shipping_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount',
  `total_shipping_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount Actual',
  `total_discount_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount',
  `total_discount_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `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`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='Sales Order Aggregated Created';

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

INSERT INTO `mag2_sales_order_aggregated_created` VALUES (1,'2021-10-18',1,'processing',1,2.0000,2.0000,4.1000,2.1000,2.1000,4.1000,0.0000,4.1000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(2,'2021-10-18',2,'complete',1,1.0000,1.0000,3.0000,1.0000,1.0000,3.0000,0.0000,3.0000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(3,'2021-10-19',2,'complete',1,9.0000,9.0000,12.2000,10.2000,10.2000,12.2000,0.0000,12.2000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(4,'2021-10-18',0,'complete',1,1.0000,1.0000,3.0000,1.0000,1.0000,3.0000,0.0000,3.0000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(5,'2021-10-18',0,'processing',1,2.0000,2.0000,4.1000,2.1000,2.1000,4.1000,0.0000,4.1000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(6,'2021-10-19',0,'complete',1,9.0000,9.0000,12.2000,10.2000,10.2000,12.2000,0.0000,12.2000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000);

--
-- 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(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Income Amount',
  `total_revenue_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Revenue Amount',
  `total_profit_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Profit Amount',
  `total_invoiced_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Invoiced Amount',
  `total_canceled_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Canceled Amount',
  `total_paid_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Paid Amount',
  `total_refunded_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Refunded Amount',
  `total_tax_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount',
  `total_tax_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Tax Amount Actual',
  `total_shipping_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount',
  `total_shipping_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Shipping Amount Actual',
  `total_discount_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount',
  `total_discount_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Discount Amount Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `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`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='Mag2 Sales Order Aggregated Updated';

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

INSERT INTO `mag2_sales_order_aggregated_updated` VALUES (1,'2021-10-18',1,'processing',1,2.0000,2.0000,4.1000,2.1000,2.1000,4.1000,0.0000,4.1000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(2,'2021-10-18',2,'complete',1,1.0000,1.0000,3.0000,1.0000,1.0000,3.0000,0.0000,3.0000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(3,'2021-10-19',2,'complete',3,23.0000,23.0000,43.1500,37.1500,37.1500,43.1500,0.0000,43.1500,0.0000,0.0000,0.0000,6.0000,6.0000,0.0000,0.0000),(4,'2021-10-18',0,'complete',1,1.0000,1.0000,3.0000,1.0000,1.0000,3.0000,0.0000,3.0000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(5,'2021-10-18',0,'processing',1,2.0000,2.0000,4.1000,2.1000,2.1000,4.1000,0.0000,4.1000,0.0000,0.0000,0.0000,2.0000,2.0000,0.0000,0.0000),(6,'2021-10-19',0,'complete',3,23.0000,23.0000,43.1500,37.1500,37.1500,43.1500,0.0000,43.1500,0.0000,0.0000,0.0000,6.0000,6.0000,0.0000,0.0000);

--
-- 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(20,4) DEFAULT NULL COMMENT 'Base Grand Total',
  `base_total_paid` decimal(20,4) DEFAULT NULL COMMENT 'Base Total Paid',
  `grand_total` decimal(20,4) DEFAULT NULL COMMENT 'Grand Total',
  `total_paid` decimal(20,4) DEFAULT NULL COMMENT 'Total Paid',
  `increment_id` varchar(50) DEFAULT NULL COMMENT 'Increment ID',
  `base_currency_code` varchar(3) DEFAULT NULL COMMENT 'Base Currency Code',
  `order_currency_code` varchar(255) DEFAULT NULL COMMENT 'Order Currency Code',
  `shipping_name` varchar(255) DEFAULT NULL COMMENT 'Shipping Name',
  `billing_name` varchar(255) DEFAULT NULL COMMENT 'Billing Name',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Created At',
  `updated_at` timestamp NULL DEFAULT NULL COMMENT 'Updated At',
  `billing_address` varchar(255) DEFAULT NULL COMMENT 'Billing Address',
  `shipping_address` varchar(255) DEFAULT NULL COMMENT 'Shipping Address',
  `shipping_information` varchar(255) DEFAULT NULL COMMENT 'Shipping Method Name',
  `customer_email` varchar(255) DEFAULT NULL COMMENT 'Customer Email',
  `customer_group` varchar(255) DEFAULT NULL COMMENT 'Customer Group',
  `subtotal` decimal(20,4) DEFAULT NULL COMMENT 'Subtotal',
  `shipping_and_handling` decimal(20,4) DEFAULT NULL COMMENT 'Shipping and handling amount',
  `customer_name` varchar(255) DEFAULT NULL COMMENT 'Customer Name',
  `payment_method` varchar(255) DEFAULT NULL COMMENT 'Payment Method',
  `total_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Total Refunded',
  `signifyd_guarantee_status` varchar(32) DEFAULT NULL COMMENT 'Signifyd Guarantee Disposition Status',
  `pickup_location_code` varchar(255) DEFAULT NULL COMMENT 'Pickup Location Code',
  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`),
  KEY `MAG2_SALES_ORDER_GRID_PICKUP_LOCATION_CODE` (`pickup_location_code`),
  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,'canceled',1,'Main Website\nMain Website Store\n',NULL,8.0000,NULL,8.0000,NULL,'000000005','KWD','KWD','test test','test test','2021-09-30 11:17:24','2021-09-30 11:17:38','test test','test test','Flat Rate - Fixed','rana@mawaqaa.com','0',5.0000,3.0000,'','hesabe',NULL,NULL,NULL),(2,'complete',1,'Main Website\nMain Website Store\n',NULL,13.0000,13.0000,13.0000,13.0000,'000000006','KWD','KWD','test test','test test','2021-09-30 11:20:23','2021-09-30 12:40:28','test test','test test','Flat Rate - Fixed','rana@mawaqaa.com','0',10.0000,3.0000,'','hesabe',NULL,NULL,NULL),(3,'canceled',1,'Main Website\nMain Website Store\n',NULL,28.0000,NULL,28.0000,NULL,'000000007','KWD','KWD','test test','test test','2021-09-30 11:45:09','2021-09-30 11:47:03','kuwait kuwait','kuwait kuwait','Flat Rate - Fixed','rana@mawaqaa.com','0',25.0000,3.0000,'','mpgs',NULL,NULL,NULL),(4,'complete',2,'Main Website\nMain Website Store\n',NULL,28.0000,28.0000,28.0000,28.0000,'2000000465','KWD','KWD','test test','test test','2021-09-30 12:25:25','2021-09-30 12:38:23','test test','test test','شحن ثابت - مبلغ ثابت','rana@mawaqaa.com','0',25.0000,3.0000,'','hesabe',NULL,NULL,NULL),(5,'canceled',2,'Main Website\nMain Website Store\n',NULL,4.0000,NULL,4.0000,NULL,'2000000466','KWD','KWD','Mona Sulaiman','Mona Sulaiman','2021-10-14 07:57:02','2021-10-17 19:46:26','Salmyah block 6 street 4\nSalnyah block 6 street 4m\nSalnyah block 6 street 4 الكويت حولي 20006','Salmyah block 6 street 4\nSalnyah block 6 street 4m\nSalnyah block 6 street 4 الكويت حولي 20006','شحن ثابت - مبلغ ثابت','nice_totah@hotmail.com','0',2.0000,2.0000,'','hesabe',NULL,NULL,NULL),(6,'canceled',2,'Main Website\nMain Website Store\n',NULL,3.6000,NULL,3.6000,NULL,'2000000467','KWD','KWD','A A','A A','2021-10-14 08:01:36','2021-10-17 19:46:26','A A A A','A A A A','شحن ثابت - مبلغ ثابت','nhhhh@hotmail.com','0',1.6000,2.0000,'','hesabe',NULL,NULL,NULL),(7,'complete',2,'Main Website\nMain Website Store\n',NULL,5.7500,5.7500,5.7500,5.7500,'2000000468','KWD','KWD','Amal Al-Ameeri','Amal Al-Ameeri','2021-10-16 09:49:22','2021-10-19 11:35:36','العديلية ق ١ ش سلطان الكليب م ٥ العديلية العاصمة','العديلية ق ١ ش سلطان الكليب م ٥ العديلية العاصمة','شحن ثابت - مبلغ ثابت','divina77@hotmail.com','0',3.7500,2.0000,'','hesabe',NULL,NULL,NULL),(8,'complete',2,'Main Website\nMain Website Store\n',NULL,25.2000,25.2000,25.2000,25.2000,'2000000469','KWD','KWD','Hessa Alsuwaidan','Hessa Alsuwaidan','2021-10-17 17:15:05','2021-10-19 11:36:04','Block 2 / Street 5 / House 17 Surra 45402','Block 2 / Street 5 / House 17 Surra 45402','شحن ثابت - مبلغ ثابت','hessa_alswaidan@hotmail.com','0',23.2000,2.0000,'','mpgs',NULL,NULL,NULL),(9,'complete',1,'Main Website\nMain Website Store\n',258,15.5000,15.5000,15.5000,15.5000,'000000008','KWD','KWD','Mona Sulaiman','Mona Sulaiman','2021-10-17 20:21:43','2021-10-17 20:23:49','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','Flat Rate - Fixed','1634502102@example.com','1',13.5000,2.0000,'Mona Sulaiman','hesabe',NULL,NULL,NULL),(10,'complete',2,'Main Website\nMain Website Store\n',NULL,3.0000,3.0000,3.0000,3.0000,'2000000470','KWD','KWD','test test','test test','2021-10-18 06:50:22','2021-10-18 06:53:44','test test test','test test test','شحن ثابت - مبلغ ثابت','rana@mawaqaa.com','0',1.0000,2.0000,'','hesabe',NULL,NULL,NULL),(11,'pending',1,'Main Website\nMain Website Store\n',259,4.0000,NULL,4.0000,NULL,'000000009','KWD','KWD','test test','test test','2021-10-18 09:13:59','2021-10-18 09:13:59','test test test','test test test','Flat Rate - Fixed','1634548438@example.com','1',2.0000,2.0000,'test test','hesabe',NULL,NULL,NULL),(12,'pending',1,'Main Website\nMain Website Store\n',260,4.1000,NULL,4.1000,NULL,'000000010','KWD','KWD','name here last name here','name here last name here','2021-10-18 09:44:07','2021-10-18 09:44:07','test kuwait kuwait','test kuwait kuwait','Flat Rate - Fixed','1634550246@example.com','1',2.1000,2.0000,'name here last name here','hesabe',NULL,NULL,NULL),(13,'processing',1,'Main Website\nMain Website Store\n',261,4.1000,4.1000,4.1000,4.1000,'000000011','KWD','KWD','Mona Sulaiman','Mona Sulaiman','2021-10-18 16:53:41','2021-10-18 16:56:16','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','Flat Rate - Fixed','1634576020@example.com','1',2.1000,2.0000,'Mona Sulaiman','hesabe',NULL,NULL,NULL),(14,'complete',2,'Main Website\nMain Website Store\n',261,12.2000,12.2000,12.2000,12.2000,'2000000471','KWD','KWD','Mona Sulaiman','Mona Sulaiman','2021-10-19 08:18:26','2021-10-19 08:20:04','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','شحن ثابت - مبلغ ثابت','1634576020@example.com','1',10.2000,2.0000,'Mona Sulaiman','hesabe',NULL,NULL,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(20,4) DEFAULT '0.0000' COMMENT 'Tax Amount',
  `base_tax_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Tax Amount',
  `tax_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Tax Invoiced',
  `base_tax_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Tax Invoiced',
  `discount_percent` decimal(12,4) DEFAULT '0.0000' COMMENT 'Discount Percent',
  `discount_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Discount Amount',
  `base_discount_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Discount Amount',
  `discount_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Discount Invoiced',
  `base_discount_invoiced` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Discount Invoiced',
  `amount_refunded` decimal(20,4) DEFAULT '0.0000' COMMENT 'Amount Refunded',
  `base_amount_refunded` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Amount Refunded',
  `row_total` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Row Total',
  `base_row_total` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Row Total',
  `row_invoiced` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Row Invoiced',
  `base_row_invoiced` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Row Invoiced',
  `row_weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Weight',
  `base_tax_before_discount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Before Discount',
  `tax_before_discount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Before Discount',
  `ext_order_item_id` varchar(255) DEFAULT NULL COMMENT 'Ext Order Item ID',
  `locked_do_invoice` smallint(5) unsigned DEFAULT NULL COMMENT 'Locked Do Invoice',
  `locked_do_ship` smallint(5) unsigned DEFAULT NULL COMMENT 'Locked Do Ship',
  `price_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Price Incl Tax',
  `base_price_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Price Incl Tax',
  `row_total_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Row Total Incl Tax',
  `base_row_total_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Row Total Incl Tax',
  `discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Amount',
  `base_discount_tax_compensation_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Amount',
  `discount_tax_compensation_invoiced` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Invoiced',
  `base_discount_tax_compensation_invoiced` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Invoiced',
  `discount_tax_compensation_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Refunded',
  `base_discount_tax_compensation_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Tax Compensation Refunded',
  `tax_canceled` decimal(12,4) DEFAULT NULL COMMENT 'Tax Canceled',
  `discount_tax_compensation_canceled` decimal(20,4) DEFAULT NULL COMMENT 'Discount Tax Compensation Canceled',
  `tax_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Tax Refunded',
  `base_tax_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Refunded',
  `discount_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Discount Refunded',
  `base_discount_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Refunded',
  `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`)
) ENGINE=InnoDB AUTO_INCREMENT=47 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,1,1,'2021-09-30 11:17:24','2021-09-30 11:17:38',16,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovL3RoZWhlYWx0aHljYXJ0LmNvbS5rdy9kZWZhdWx0L2NhdGVnb3J5Lmh0bWw,\",\"product\":\"16\",\"qty\":1}}',NULL,0,'Test Product','Test Product',NULL,NULL,NULL,0,0,NULL,1.0000,0.0000,1.0000,0.0000,0.0000,NULL,5.0000,5.0000,5.0000,5.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,5.0000,5.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,5.0000,5.0000,5.0000,5.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,2,NULL,1,1,'2021-09-30 11:20:23','2021-09-30 12:40:28',16,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovL3RoZWhlYWx0aHljYXJ0LmNvbS5rdy9kZWZhdWx0L2NhdGVnb3J5Lmh0bWw,\",\"product\":\"16\",\"qty\":1}}',NULL,0,'Test Product','Test Product',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,2.0000,NULL,5.0000,5.0000,5.0000,5.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,10.0000,10.0000,10.0000,10.0000,0.0000,NULL,NULL,NULL,NULL,NULL,5.0000,5.0000,10.0000,10.0000,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),(3,3,NULL,3,1,'2021-09-30 11:45:09','2021-09-30 11:47:02',16,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovL3RoZWhlYWx0aHljYXJ0LmNvbS5rdy9kZWZhdWx0L3Rlc3QtcHJvZHVjdC5odG1s\",\"product\":\"16\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"qty\":\"5\"}}',NULL,0,'Test Product','Test Product',NULL,NULL,NULL,0,0,NULL,5.0000,0.0000,5.0000,0.0000,0.0000,NULL,5.0000,5.0000,5.0000,5.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,25.0000,25.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,5.0000,5.0000,25.0000,25.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,4,NULL,3,2,'2021-09-30 12:25:25','2021-09-30 12:38:23',16,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cDovL3RoZWhlYWx0aHljYXJ0LmNvbS5rdy9kZWZhdWx0L3Rlc3QtcHJvZHVjdC5odG1s\",\"product\":\"16\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"qty\":\"5\"}}',NULL,0,'Test Product','Test Product',NULL,NULL,NULL,0,0,NULL,0.0000,5.0000,5.0000,0.0000,5.0000,NULL,5.0000,5.0000,5.0000,5.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,25.0000,25.0000,25.0000,25.0000,0.0000,NULL,NULL,NULL,NULL,NULL,5.0000,5.0000,25.0000,25.0000,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),(5,5,NULL,719,2,'2021-10-14 07:57:02','2021-10-17 19:46:26',90,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvbXVmZmluLmh0bWw,\",\"product\":\"90\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"qty\":\"1\"}}',NULL,0,'Muffin ','مفن',NULL,NULL,NULL,0,0,NULL,1.0000,0.0000,1.0000,0.0000,0.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,5,NULL,721,2,'2021-10-14 07:57:02','2021-10-17 19:46:26',127,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvcGVubmUtaGlnaC1wcm90ZWluLmh0bWw,\",\"product\":\"127\",\"selected_configurable_option\":\"126\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"427\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0627\\u0644\\u0648\\u0632\\u0646\",\"value\":\"50\\u062c\\u0631\\u0627\\u0645\",\"option_id\":141,\"option_value\":\"427\"}],\"simple_name\":\"Penne High Protein -50gram\",\"simple_sku\":\"Penne High Protein -50gram\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'Penne High Protein -50gram','معكرونة البيني عالية البروتين',NULL,NULL,NULL,0,0,NULL,1.0000,0.0000,1.0000,0.0000,0.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,0.0000,0.0000,1.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,5,6,722,2,'2021-10-14 07:57:02','2021-10-17 19:46:26',126,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvcGVubmUtaGlnaC1wcm90ZWluLmh0bWw,\",\"product\":\"127\",\"selected_configurable_option\":\"126\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"427\"},\"qty\":\"1\"}}',1.0000,0,'Penne High Protein -50gram','Penne High Protein -50gram',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(8,6,NULL,723,2,'2021-10-14 08:01:36','2021-10-17 19:46:26',101,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvc25hY2suaHRtbD9vcHRpb25zPWNhcnQ,\",\"product\":\"101\",\"selected_configurable_option\":\"100\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"462\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0646\\u0643\\u0647\\u0629\",\"value\":\"\\u0627\\u0643\\u0644\\u064a\\u0644 \\u0627\\u0644\\u062c\\u0628\\u0644 \\/ \\u0631\\u0648\\u0632 \\u0645\\u0627\\u0631\\u064a\",\"option_id\":192,\"option_value\":\"462\"}],\"simple_name\":\"Snack-ROSEMARY\",\"simple_sku\":\"Snack-ROSEMARY\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'Snack-ROSEMARY','مقرمشات',NULL,NULL,NULL,0,0,NULL,1.0000,0.0000,1.0000,0.0000,0.0000,NULL,1.6000,1.6000,1.6000,1.6000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.6000,1.6000,0.0000,0.0000,1.0000,NULL,NULL,NULL,NULL,NULL,1.6000,1.6000,1.6000,1.6000,0.0000,0.0000,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,6,8,724,2,'2021-10-14 08:01:36','2021-10-17 19:46:26',100,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvc25hY2suaHRtbD9vcHRpb25zPWNhcnQ,\",\"product\":\"101\",\"selected_configurable_option\":\"100\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"462\"},\"qty\":\"1\"}}',1.0000,0,'Snack-ROSEMARY','Snack-ROSEMARY',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(10,7,NULL,742,2,'2021-10-16 09:49:22','2021-10-19 11:35:36',88,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvY2F0ZWdvcnktMi5odG1s\",\"product\":\"88\",\"qty\":1}}',NULL,0,'Croissant ','كرواسان',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,1.0000,1.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,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),(11,7,NULL,743,2,'2021-10-16 09:49:22','2021-10-19 11:35:36',89,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvY2F0ZWdvcnktMi5odG1s\",\"product\":\"89\",\"qty\":1}}',NULL,0,'Croissant with Chocolate','كرواسان محشي بالشوكولاتة',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.2500,1.2500,1.2500,1.2500,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.2500,1.2500,1.2500,1.2500,0.0000,NULL,NULL,NULL,NULL,NULL,1.2500,1.2500,1.2500,1.2500,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),(12,7,NULL,744,2,'2021-10-16 09:49:22','2021-10-19 11:35:36',95,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvYmFrZWQtYmlzY3VpdC5odG1sP29wdGlvbnM9Y2FydA,,\",\"product\":\"95\",\"selected_configurable_option\":\"92\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"453\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0646\\u0643\\u0647\\u0629\",\"value\":\"\\u0628\\u0646\\u062f\\u0642\",\"option_id\":192,\"option_value\":\"453\"}],\"simple_name\":\"High Protein Biscuit -HAZELNUT\",\"simple_sku\":\"High Protein Biscuit -HAZELNUT\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'High Protein Biscuit -HAZELNUT','بسكويت عالي البروتين',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.5000,1.5000,1.5000,1.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.5000,1.5000,1.5000,1.5000,1.0000,NULL,NULL,NULL,NULL,NULL,1.5000,1.5000,1.5000,1.5000,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),(13,7,12,745,2,'2021-10-16 09:49:22','2021-10-17 19:40:18',92,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvYmFrZWQtYmlzY3VpdC5odG1sP29wdGlvbnM9Y2FydA,,\",\"product\":\"95\",\"selected_configurable_option\":\"92\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"453\"},\"qty\":\"1\"}}',1.0000,0,'High Protein Biscuit -HAZELNUT','High Protein Biscuit -HAZELNUT',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(14,8,NULL,767,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',132,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvdHViZXR0aS1oaWdoLXByb3RlaW4uaHRtbA,,\",\"product\":\"132\",\"selected_configurable_option\":\"130\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"91\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0627\\u0644\\u0648\\u0632\\u0646\",\"value\":\"\\u062c\\u0631\\u0627\\u0645250\",\"option_id\":141,\"option_value\":\"91\"}],\"simple_name\":\"Tubetti High Protein -250gram\",\"simple_sku\":\"Tubetti High Protein -250gram\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'Tubetti High Protein -250gram','معكرونة التوبيتي عالية البروتين',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.5000,2.5000,2.5000,2.5000,1.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,2.5000,2.5000,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),(15,8,14,768,2,'2021-10-17 17:15:05','2021-10-17 19:33:06',130,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvdHViZXR0aS1oaWdoLXByb3RlaW4uaHRtbA,,\",\"product\":\"132\",\"selected_configurable_option\":\"130\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"91\"},\"qty\":\"1\"}}',1.0000,0,'Tubetti High Protein -250gram','Tubetti High Protein -250gram',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(16,8,NULL,769,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',124,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvY2F0ZWdvcnktMS5odG1s\",\"product\":\"124\",\"qty\":1}}',1.0000,0,'Fit Sauce Tomato/Basil','صلصة الطماطم / الريحان',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.5000,2.5000,2.5000,2.5000,1.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,2.5000,2.5000,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),(17,8,NULL,770,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',122,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvY2F0ZWdvcnktMS5odG1s\",\"product\":\"122\",\"qty\":1}}',1.0000,0,'Fit Sauce Tomato','صلصة الطماطم',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.5000,2.5000,2.5000,2.5000,1.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,2.5000,2.5000,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),(18,8,NULL,771,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',88,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvY2F0ZWdvcnktMi5odG1s\",\"product\":\"88\",\"qty\":1}}',NULL,0,'Croissant ','كرواسان',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,1.0000,1.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,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),(19,8,NULL,772,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',109,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvaGlnaC1wcm90ZWluLWJpc2N1aXQuaHRtbD9vcHRpb25zPWNhcnQ,\",\"product\":\"109\",\"selected_configurable_option\":\"106\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"456\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0646\\u0643\\u0647\\u0629\",\"value\":\"\\u0632\\u0646\\u062c\\u0628\\u064a\\u0644\",\"option_id\":192,\"option_value\":\"456\"}],\"simple_name\":\"Baked Biscuit  -GINGER\",\"simple_sku\":\"Baked Biscuit  -GINGER\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'Baked Biscuit  -GINGER','بسكويت مخبوز',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.1000,1.1000,1.1000,1.1000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.1000,1.1000,1.1000,1.1000,1.0000,NULL,NULL,NULL,NULL,NULL,1.1000,1.1000,1.1000,1.1000,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),(20,8,19,773,2,'2021-10-17 17:15:05','2021-10-17 19:33:06',106,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvaGlnaC1wcm90ZWluLWJpc2N1aXQuaHRtbD9vcHRpb25zPWNhcnQ,\",\"product\":\"109\",\"selected_configurable_option\":\"106\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"456\"},\"qty\":\"1\"}}',1.0000,0,'Baked Biscuit  -GINGER','Baked Biscuit  -GINGER',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(21,8,NULL,774,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',109,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvaGlnaC1wcm90ZWluLWJpc2N1aXQuaHRtbD9vcHRpb25zPWNhcnQ,\",\"product\":\"109\",\"selected_configurable_option\":\"108\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"458\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0646\\u0643\\u0647\\u0629\",\"value\":\"\\u0627\\u0644\\u062a\\u0648\\u062a \\u0627\\u0644\\u0628\\u0631\\u064a\",\"option_id\":192,\"option_value\":\"458\"}],\"simple_name\":\"Baked Biscuit  -CRANBERRIES\",\"simple_sku\":\"Baked Biscuit  -CRANBERRIES\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'Baked Biscuit  -CRANBERRIES','بسكويت مخبوز',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.1000,1.1000,1.1000,1.1000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.1000,1.1000,1.1000,1.1000,1.0000,NULL,NULL,NULL,NULL,NULL,1.1000,1.1000,1.1000,1.1000,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),(22,8,21,775,2,'2021-10-17 17:15:05','2021-10-17 19:33:06',108,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvaGlnaC1wcm90ZWluLWJpc2N1aXQuaHRtbD9vcHRpb25zPWNhcnQ,\",\"product\":\"109\",\"selected_configurable_option\":\"108\",\"related_product\":\"\",\"super_attribute\":{\"192\":\"458\"},\"qty\":\"1\"}}',1.0000,0,'Baked Biscuit  -CRANBERRIES','Baked Biscuit  -CRANBERRIES',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(23,8,NULL,776,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',128,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvY2F0ZWdvcnkuaHRtbA,,\",\"product\":\"128\",\"qty\":1}}',NULL,0,'Spaghetti High Protein ','معكرونة السباغيتي عالية البروتين',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.5000,2.5000,2.5000,2.5000,0.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,2.5000,2.5000,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),(24,8,NULL,777,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',127,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvcGVubmUtaGlnaC1wcm90ZWluLmh0bWw,\",\"product\":\"127\",\"selected_configurable_option\":\"125\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"91\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0627\\u0644\\u0648\\u0632\\u0646\",\"value\":\"\\u062c\\u0631\\u0627\\u0645250\",\"option_id\":141,\"option_value\":\"91\"}],\"simple_name\":\"Penne High Protein -250gram\",\"simple_sku\":\"Penne High Protein -250gram\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'Penne High Protein -250gram','معكرونة البيني عالية البروتين',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,2.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,5.0000,5.0000,5.0000,5.0000,2.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,5.0000,5.0000,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),(25,8,24,778,2,'2021-10-17 17:15:05','2021-10-17 19:33:06',125,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvcGVubmUtaGlnaC1wcm90ZWluLmh0bWw,\",\"product\":\"127\",\"selected_configurable_option\":\"125\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"91\"},\"qty\":\"1\"}}',1.0000,0,'Penne High Protein -250gram','Penne High Protein -250gram',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(26,8,NULL,779,2,'2021-10-17 17:15:05','2021-10-19 11:36:04',135,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvZnVzaWxsaS1oaWdoLXByb3RlaW4uaHRtbA,,\",\"product\":\"135\",\"selected_configurable_option\":\"133\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"91\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"\\u0627\\u0644\\u0648\\u0632\\u0646\",\"value\":\"\\u062c\\u0631\\u0627\\u0645250\",\"option_id\":141,\"option_value\":\"91\"}],\"simple_name\":\"Fusilli High Protein -250gram\",\"simple_sku\":\"Fusilli High Protein -250gram\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'Fusilli High Protein -250gram','معكرونة الفوسيلي عالية البروتين',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,2.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,5.0000,5.0000,5.0000,5.0000,2.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,5.0000,5.0000,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),(27,8,26,780,2,'2021-10-17 17:15:05','2021-10-17 19:33:06',133,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvZnVzaWxsaS1oaWdoLXByb3RlaW4uaHRtbA,,\",\"product\":\"135\",\"selected_configurable_option\":\"133\",\"related_product\":\"\",\"super_attribute\":{\"141\":\"91\"},\"qty\":\"1\"}}',1.0000,0,'Fusilli High Protein -250gram','Fusilli High Protein -250gram',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(28,9,NULL,781,1,'2021-10-17 20:21:43','2021-10-17 20:23:49',88,'simple','{\"info_buyRequest\":{\"qty\":2,\"options\":[]}}',NULL,0,'Croissant ','كرواسان',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,2.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,2.0000,2.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,2.0000,2.0000,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),(29,9,NULL,782,1,'2021-10-17 20:21:43','2021-10-17 20:23:49',89,'simple','{\"info_buyRequest\":{\"qty\":2,\"options\":[]}}',NULL,0,'Croissant with Chocolate','كرواسان محشي بالشوكولاتة',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,2.0000,NULL,1.2500,1.2500,1.2500,1.2500,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.5000,2.5000,2.5000,2.5000,0.0000,NULL,NULL,NULL,NULL,NULL,1.2500,1.2500,2.5000,2.5000,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),(30,9,NULL,783,1,'2021-10-17 20:21:43','2021-10-17 20:23:49',90,'simple','{\"info_buyRequest\":{\"qty\":2,\"options\":[]}}',NULL,0,'Muffin ','مفن',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,2.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,2.0000,2.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,2.0000,2.0000,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),(31,9,NULL,784,1,'2021-10-17 20:21:43','2021-10-17 20:23:49',122,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Fit Sauce Tomato','صلصة الطماطم',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.5000,2.5000,2.5000,2.5000,1.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,2.5000,2.5000,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),(32,9,NULL,785,1,'2021-10-17 20:21:43','2021-10-17 20:23:49',125,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Penne High Protein -250gram','Penne High Protein -250gram',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,2.5000,2.5000,2.5000,2.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.5000,2.5000,2.5000,2.5000,1.0000,NULL,NULL,NULL,NULL,NULL,2.5000,2.5000,2.5000,2.5000,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,0),(33,9,NULL,786,1,'2021-10-17 20:21:43','2021-10-17 20:23:49',136,'simple','{\"info_buyRequest\":{\"qty\":2,\"options\":[]}}',1.0000,0,'Biscuit-Orange','Biscuit-Orange',NULL,NULL,NULL,0,0,NULL,0.0000,2.0000,2.0000,0.0000,2.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2.0000,2.0000,2.0000,2.0000,2.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,2.0000,2.0000,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,0),(34,10,NULL,787,2,'2021-10-18 06:50:22','2021-10-18 06:53:44',90,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aGVoZWFsdGh5Y2FydC5jb20ua3cvYXIvY2F0ZWdvcnktMi5odG1s\",\"product\":\"90\",\"qty\":1}}',NULL,0,'Muffin ','مفن',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,1.0000,1.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,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),(35,11,NULL,788,1,'2021-10-18 09:13:59','2021-10-18 09:13:59',134,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Fusilli High Protein -50gram','Fusilli High Protein -50gram',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,0.0000,0.0000,1.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(36,11,NULL,789,1,'2021-10-18 09:13:59','2021-10-18 09:13:59',141,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Biscuit-Almond','Biscuit-Almond',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,0.0000,0.0000,1.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(37,12,NULL,790,1,'2021-10-18 09:44:07','2021-10-18 09:44:07',134,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Fusilli High Protein -50gram','Fusilli High Protein -50gram',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,0.0000,0.0000,1.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(38,12,NULL,791,1,'2021-10-18 09:44:07','2021-10-18 09:44:07',142,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Biscuit-Vanilla Lemon','Biscuit-Vanilla Lemon',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,1.1000,1.1000,1.1000,1.1000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.1000,1.1000,0.0000,0.0000,1.0000,NULL,NULL,NULL,NULL,NULL,1.1000,1.1000,1.1000,1.1000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(39,13,NULL,793,1,'2021-10-18 16:53:41','2021-10-18 16:56:16',141,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Biscuit-Almond','Biscuit-Almond',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,1.0000,1.0000,1.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,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,0),(40,13,NULL,794,1,'2021-10-18 16:53:41','2021-10-18 16:56:16',142,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Biscuit-Vanilla Lemon','Biscuit-Vanilla Lemon',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,0.0000,NULL,1.1000,1.1000,1.1000,1.1000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.1000,1.1000,1.1000,1.1000,1.0000,NULL,NULL,NULL,NULL,NULL,1.1000,1.1000,1.1000,1.1000,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,0),(41,14,NULL,823,2,'2021-10-19 08:18:26','2021-10-19 08:20:04',83,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Biscuit with Chocolate-Orange with chocolate-1','Biscuit with Chocolate-Orange with chocolate',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.1000,1.1000,1.1000,1.1000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.1000,1.1000,1.1000,1.1000,1.0000,NULL,NULL,NULL,NULL,NULL,1.1000,1.1000,1.1000,1.1000,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,0),(42,14,NULL,824,2,'2021-10-19 08:18:26','2021-10-19 08:20:04',85,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'Biscuit with Chocolate- Vanilla Lemon with chocolate-1','Biscuit with Chocolate- Vanilla Lemon with chocolate',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.1000,1.1000,1.1000,1.1000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.1000,1.1000,1.1000,1.1000,1.0000,NULL,NULL,NULL,NULL,NULL,1.1000,1.1000,1.1000,1.1000,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,0),(43,14,NULL,825,2,'2021-10-19 08:18:26','2021-10-19 08:20:04',88,'simple','{\"info_buyRequest\":{\"qty\":4,\"options\":[]}}',NULL,0,'Croissant ','كرواسان',NULL,NULL,NULL,0,0,NULL,0.0000,4.0000,4.0000,0.0000,4.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,4.0000,4.0000,4.0000,4.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,4.0000,4.0000,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),(44,14,NULL,826,2,'2021-10-19 08:18:26','2021-10-19 08:20:04',90,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',NULL,0,'Muffin ','مفن',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.0000,1.0000,1.0000,1.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000,1.0000,1.0000,1.0000,0.0000,NULL,NULL,NULL,NULL,NULL,1.0000,1.0000,1.0000,1.0000,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),(45,14,NULL,827,2,'2021-10-19 08:18:26','2021-10-19 08:20:04',91,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'High Protein Biscuit -BLUEBERRY','High Protein Biscuit -BLUEBERRY',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.5000,1.5000,1.5000,1.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.5000,1.5000,1.5000,1.5000,1.0000,NULL,NULL,NULL,NULL,NULL,1.5000,1.5000,1.5000,1.5000,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,0),(46,14,NULL,828,2,'2021-10-19 08:18:26','2021-10-19 08:20:04',93,'simple','{\"info_buyRequest\":{\"qty\":1,\"options\":[]}}',1.0000,0,'High Protein Biscuit -CHOCOLATE','High Protein Biscuit -CHOCOLATE',NULL,NULL,NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,1.5000,1.5000,1.5000,1.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,1.5000,1.5000,1.5000,1.5000,1.0000,NULL,NULL,NULL,NULL,NULL,1.5000,1.5000,1.5000,1.5000,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,0);

--
-- 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'),('dm_refund_review','DM Refund Review'),('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'),('upayment_fort_failed','Upayment Failed'),('upayment_fort_new','Upayment New Order');

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=5 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,1,NULL,0,'Payment was not Sucessfully Placed with Transaction ID 101202127300321796','canceled','2021-09-30 11:17:38','order'),(2,3,NULL,0,'Payment was not Sucessfully Placed with Transaction ID ','canceled','2021-09-30 11:47:03','order'),(3,7,NULL,0,'The authorized amount is KWD 5٫750. رقم المعاملة: \"101202128938883097\"','processing','2021-10-16 09:50:28','order'),(4,8,NULL,0,'The authorized amount is KWD 25٫200. رقم المعاملة: \"129017109540\"','processing','2021-10-17 17:16:33','order');

--
-- 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_STS_LBL_STS_MAG2_SALES_ORDER_STS_STS` FOREIGN KEY (`status`) REFERENCES `mag2_sales_order_status` (`status`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Status Label Table';

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

INSERT INTO `mag2_sales_order_status_label` VALUES ('pending',1,'Pending'),('pending',2,'قيد الانتظار');

--
-- 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_STS_STATE_STS_MAG2_SALES_ORDER_STS_STS` 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),('dm_refund_review','dm_refund_review',0,0),('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),('upayment_fort_failed','canceled',0,1),('upayment_fort_new','new',0,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(20,4) DEFAULT NULL COMMENT 'Amount',
  `priority` int(11) NOT NULL COMMENT 'Priority',
  `position` int(11) NOT NULL COMMENT 'Position',
  `base_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Amount',
  `process` smallint(6) NOT NULL COMMENT 'Process',
  `base_real_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Real Amount',
  PRIMARY KEY (`tax_id`),
  KEY `MAG2_SALES_ORDER_TAX_ORDER_ID_PRIORITY_POSITION` (`order_id`,`priority`,`position`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Table';

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


--
-- 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(20,4) NOT NULL COMMENT 'Tax amount for the item and tax rate',
  `base_amount` decimal(20,4) NOT NULL COMMENT 'Base tax amount for the item and tax rate',
  `real_amount` decimal(20,4) NOT NULL COMMENT 'Real tax amount for the item and tax rate',
  `real_base_amount` decimal(20,4) NOT NULL COMMENT 'Real base tax amount for the item and tax rate',
  `associated_item_id` int(10) unsigned DEFAULT NULL COMMENT 'Id of the associated item',
  `taxable_item_type` varchar(32) NOT NULL COMMENT 'Type of the taxable item',
  PRIMARY KEY (`tax_item_id`),
  UNIQUE KEY `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_C6A1ADEE5084F4EDE0A99E3CEFB7A81C` FOREIGN KEY (`associated_item_id`) REFERENCES `mag2_sales_order_item` (`item_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sales Order Tax Item';

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


--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Sales Payment Transaction';

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

INSERT INTO `mag2_sales_payment_transaction` VALUES (1,NULL,7,7,'101202128938883097',NULL,'capture',1,_binary '{\"raw_details_info\":{\"Status\":\"Success\",\"amount\":5.75,\"Payment Token\":\"4070202116343777649385356549658\",\"Id\":\"101202128938883097\",\"Paid On\":\"2021-10-16 12:50:27\",\"orderReferenceNumber\":\"2000000468\",\"variable1\":\"2000000468\",\"Method\":\"KNet\",\"administrativeCharge\":\"0.000\",\"status\":true}}','2021-10-16 09:50:28'),(2,NULL,8,8,'129017109540',NULL,'capture',1,_binary '{\"raw_details_info\":{\"Status\":\"Success\",\"amount\":25.2,\"Payment Token\":\"4070202116344909069334573337555\",\"Id\":\"129017109540\",\"Paid On\":\"2021-10-17 20:16:32\",\"orderReferenceNumber\":\"2000000469\",\"variable1\":\"2000000469\",\"Method\":\"MasterCard \\/ Visa\",\"administrativeCharge\":\"0.000\",\"status\":true}}','2021-10-17 17:16:33');

--
-- 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(20,4) DEFAULT NULL COMMENT 'Refunded',
  `online_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Online Refunded',
  `offline_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Offline Refunded',
  PRIMARY KEY (`id`),
  UNIQUE KEY `MAG2_SALES_REFUNDED_AGGREGATED_PERIOD_STORE_ID_ORDER_STATUS` (`period`,`store_id`,`order_status`),
  KEY `MAG2_SALES_REFUNDED_AGGREGATED_STORE_ID` (`store_id`)
) 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(20,4) DEFAULT NULL COMMENT 'Refunded',
  `online_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Online Refunded',
  `offline_refunded` decimal(20,4) DEFAULT NULL COMMENT 'Offline Refunded',
  PRIMARY KEY (`id`),
  UNIQUE KEY `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`)
) 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(64) 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 `FK_B770672EA1EADF039A46F2FBC30ED0CB` 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`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Shipment';

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

INSERT INTO `mag2_sales_shipment` VALUES (1,2,NULL,5.0000,NULL,NULL,4,NULL,7,8,NULL,'2000000209','2021-09-30 12:38:23','2021-09-30 12:38:23','[]',NULL,NULL,NULL),(2,1,NULL,2.0000,NULL,NULL,2,NULL,3,4,NULL,'2000000210','2021-09-30 12:40:28','2021-09-30 12:40:28','[]',NULL,NULL,NULL),(3,1,NULL,10.0000,NULL,NULL,9,258,17,18,NULL,'2000000211','2021-10-17 20:23:49','2021-10-17 20:23:49','[]',NULL,NULL,NULL),(4,2,NULL,1.0000,NULL,NULL,10,NULL,19,20,NULL,'2000000212','2021-10-18 06:53:44','2021-10-18 06:53:44','[]',NULL,NULL,NULL),(5,2,NULL,9.0000,NULL,NULL,14,261,27,28,NULL,'2000000213','2021-10-19 08:20:04','2021-10-19 08:20:04','[]',NULL,NULL,NULL),(6,2,NULL,3.0000,NULL,NULL,7,NULL,13,14,NULL,'2000000214','2021-10-19 11:35:36','2021-10-19 11:35:36','[]',NULL,NULL,NULL),(7,2,NULL,11.0000,NULL,NULL,8,NULL,15,16,NULL,'2000000215','2021-10-19 11:36:04','2021-10-19 11:36:04','[]',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`)
) 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,'2000000209',2,'2000000465',4,'2021-09-30 12:25:25','',5.0000,NULL,'processing','test test','test test','test test','test test','rana@mawaqaa.com',0,'hesabe','شحن ثابت - مبلغ ثابت','2021-09-30 12:38:23','2021-09-30 12:38:23'),(2,'2000000210',1,'000000006',2,'2021-09-30 11:20:23','',2.0000,NULL,'processing','test test','test test','test test','test test','rana@mawaqaa.com',0,'hesabe','Flat Rate - Fixed','2021-09-30 12:40:28','2021-09-30 12:40:28'),(3,'2000000211',1,'000000008',9,'2021-10-17 20:21:43','Mona Sulaiman',10.0000,NULL,'processing','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','Mona Sulaiman','Mona Sulaiman','1634502102@example.com',1,'hesabe','Flat Rate - Fixed','2021-10-17 20:23:49','2021-10-17 20:23:49'),(4,'2000000212',2,'2000000470',10,'2021-10-18 06:50:22','',1.0000,NULL,'processing','test test test','test test test','test test','test test','rana@mawaqaa.com',0,'hesabe','شحن ثابت - مبلغ ثابت','2021-10-18 06:53:44','2021-10-18 06:53:44'),(5,'2000000213',2,'2000000471',14,'2021-10-19 08:18:26','Mona Sulaiman',9.0000,NULL,'processing','Salmiya , Block 6 Salmiya Hawally','Salmiya , Block 6 Salmiya Hawally','Mona Sulaiman','Mona Sulaiman','1634576020@example.com',1,'hesabe','شحن ثابت - مبلغ ثابت','2021-10-19 08:20:04','2021-10-19 08:20:04'),(6,'2000000214',2,'2000000468',7,'2021-10-16 09:49:22','',3.0000,NULL,'processing','العديلية ق ١ ش سلطان الكليب م ٥ العديلية العاصمة','العديلية ق ١ ش سلطان الكليب م ٥ العديلية العاصمة','Amal Al-Ameeri','Amal Al-Ameeri','divina77@hotmail.com',0,'hesabe','شحن ثابت - مبلغ ثابت','2021-10-19 11:35:36','2021-10-19 11:35:36'),(7,'2000000215',2,'2000000469',8,'2021-10-17 17:15:05','',11.0000,NULL,'processing','Block 2 / Street 5 / House 17 Surra 45402','Block 2 / Street 5 / House 17 Surra 45402','Hessa Alsuwaidan','Hessa Alsuwaidan','hessa_alswaidan@hotmail.com',0,'mpgs','شحن ثابت - مبلغ ثابت','2021-10-19 11:36:04','2021-10-19 11:36:04');

--
-- 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(20,4) DEFAULT NULL COMMENT 'Row Total',
  `price` decimal(20,4) DEFAULT NULL COMMENT 'Price',
  `weight` decimal(12,4) DEFAULT NULL COMMENT 'Weight',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `product_id` int(11) DEFAULT NULL COMMENT 'Product ID',
  `order_item_id` int(11) DEFAULT NULL COMMENT 'Order Item ID',
  `additional_data` text COMMENT 'Additional Data',
  `description` text COMMENT 'Description',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  PRIMARY KEY (`entity_id`),
  KEY `MAG2_SALES_SHIPMENT_ITEM_PARENT_ID` (`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 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,5.0000,NULL,5.0000,16,4,NULL,NULL,'Test Product','Test Product'),(2,2,NULL,5.0000,NULL,2.0000,16,2,NULL,NULL,'Test Product','Test Product'),(3,3,NULL,1.0000,NULL,2.0000,88,28,NULL,NULL,'كرواسان','Croissant '),(4,3,NULL,1.2500,NULL,2.0000,89,29,NULL,NULL,'كرواسان محشي بالشوكولاتة','Croissant with Chocolate'),(5,3,NULL,1.0000,NULL,2.0000,90,30,NULL,NULL,'مفن','Muffin '),(6,3,NULL,2.5000,1.0000,1.0000,122,31,NULL,NULL,'صلصة الطماطم','Fit Sauce Tomato'),(7,3,NULL,2.5000,1.0000,1.0000,125,32,NULL,NULL,'Penne High Protein -250gram','Penne High Protein -250gram'),(8,3,NULL,1.0000,1.0000,2.0000,136,33,NULL,NULL,'Biscuit-Orange','Biscuit-Orange'),(9,4,NULL,1.0000,NULL,1.0000,90,34,NULL,NULL,'مفن','Muffin '),(10,5,NULL,1.1000,1.0000,1.0000,83,41,NULL,NULL,'Biscuit with Chocolate-Orange with chocolate','Biscuit with Chocolate-Orange with chocolate-1'),(11,5,NULL,1.1000,1.0000,1.0000,85,42,NULL,NULL,'Biscuit with Chocolate- Vanilla Lemon with chocolate','Biscuit with Chocolate- Vanilla Lemon with chocolate-1'),(12,5,NULL,1.0000,NULL,4.0000,88,43,NULL,NULL,'كرواسان','Croissant '),(13,5,NULL,1.0000,NULL,1.0000,90,44,NULL,NULL,'مفن','Muffin '),(14,5,NULL,1.5000,1.0000,1.0000,91,45,NULL,NULL,'High Protein Biscuit -BLUEBERRY','High Protein Biscuit -BLUEBERRY'),(15,5,NULL,1.5000,1.0000,1.0000,93,46,NULL,NULL,'High Protein Biscuit -CHOCOLATE','High Protein Biscuit -CHOCOLATE'),(16,6,NULL,1.0000,NULL,1.0000,88,10,NULL,NULL,'كرواسان','Croissant '),(17,6,NULL,1.2500,NULL,1.0000,89,11,NULL,NULL,'كرواسان محشي بالشوكولاتة','Croissant with Chocolate'),(18,6,NULL,1.5000,1.0000,1.0000,95,12,NULL,NULL,'بسكويت عالي البروتين','High Protein Biscuit -HAZELNUT'),(19,7,NULL,2.5000,1.0000,1.0000,132,14,NULL,NULL,'معكرونة التوبيتي عالية البروتين','Tubetti High Protein -250gram'),(20,7,NULL,2.5000,1.0000,1.0000,124,16,NULL,NULL,'صلصة الطماطم / الريحان','Fit Sauce Tomato/Basil'),(21,7,NULL,2.5000,1.0000,1.0000,122,17,NULL,NULL,'صلصة الطماطم','Fit Sauce Tomato'),(22,7,NULL,1.0000,NULL,1.0000,88,18,NULL,NULL,'كرواسان','Croissant '),(23,7,NULL,1.1000,1.0000,1.0000,109,19,NULL,NULL,'بسكويت مخبوز','Baked Biscuit  -GINGER'),(24,7,NULL,1.1000,1.0000,1.0000,109,21,NULL,NULL,'بسكويت مخبوز','Baked Biscuit  -CRANBERRIES'),(25,7,NULL,2.5000,NULL,1.0000,128,23,NULL,NULL,'معكرونة السباغيتي عالية البروتين','Spaghetti High Protein '),(26,7,NULL,2.5000,1.0000,2.0000,127,24,NULL,NULL,'معكرونة البيني عالية البروتين','Penne High Protein -250gram'),(27,7,NULL,2.5000,1.0000,2.0000,135,26,NULL,NULL,'معكرونة الفوسيلي عالية البروتين','Fusilli High Protein -250gram');

--
-- 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`)
) 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(20,4) DEFAULT NULL COMMENT 'Total Shipping',
  `total_shipping_actual` decimal(20,4) DEFAULT NULL COMMENT 'Total Shipping Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_83FE8F54F8810789D21009E1D4E6ECF4` (`period`,`store_id`,`order_status`,`shipping_description`),
  KEY `MAG2_SALES_SHIPPING_AGGREGATED_STORE_ID` (`store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='Sales Shipping Aggregated';

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

INSERT INTO `mag2_sales_shipping_aggregated` VALUES (1,'2021-10-17',1,'complete','Flat Rate - Fixed',1,2.0000,2.0000),(2,'2021-10-17',2,'complete','شحن ثابت - مبلغ ثابت',2,4.0000,4.0000),(3,'2021-10-18',1,'processing','Flat Rate - Fixed',1,2.0000,2.0000),(4,'2021-10-18',2,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(5,'2021-10-19',2,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(8,'2021-10-17',0,'complete','Flat Rate - Fixed',1,2.0000,2.0000),(9,'2021-10-17',0,'complete','شحن ثابت - مبلغ ثابت',2,4.0000,4.0000),(10,'2021-10-18',0,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(11,'2021-10-18',0,'processing','Flat Rate - Fixed',1,2.0000,2.0000),(12,'2021-10-19',0,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000);

--
-- 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(20,4) DEFAULT NULL COMMENT 'Total Shipping',
  `total_shipping_actual` decimal(20,4) DEFAULT NULL COMMENT 'Total Shipping Actual',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_400AC5A94E5425242D3DDF6D89D4DBCE` (`period`,`store_id`,`order_status`,`shipping_description`),
  KEY `MAG2_SALES_SHIPPING_AGGREGATED_ORDER_STORE_ID` (`store_id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='Sales Shipping Aggregated Order';

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

INSERT INTO `mag2_sales_shipping_aggregated_order` VALUES (1,'2021-10-16',2,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(2,'2021-10-17',1,'complete','Flat Rate - Fixed',1,2.0000,2.0000),(3,'2021-10-17',2,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(4,'2021-10-18',1,'processing','Flat Rate - Fixed',1,2.0000,2.0000),(5,'2021-10-18',2,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(6,'2021-10-19',2,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(8,'2021-10-16',0,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(9,'2021-10-17',0,'complete','Flat Rate - Fixed',1,2.0000,2.0000),(10,'2021-10-17',0,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(11,'2021-10-18',0,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000),(12,'2021-10-18',0,'processing','Flat Rate - Fixed',1,2.0000,2.0000),(13,'2021-10-19',0,'complete','شحن ثابت - مبلغ ثابت',1,2.0000,2.0000);

--
-- 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=11 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','2019-08-03',NULL,0,0,'{\"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','2019-08-03',NULL,0,0,'{\"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,47,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','2019-08-03',NULL,0,0,'{\"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,8,1,1,0,0,0),(4,'$4 Luma water bottle (save 70%)','Use promo code H20 at checkout','2019-08-03',NULL,1,0,'{\"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),(5,'disc','disc','2020-04-07',NULL,0,0,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"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\"}',0,1,NULL,0,'by_percent',50.0000,NULL,0,0,0,1,2,0,0,0),(6,'free shipping','','2020-05-05',NULL,0,0,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"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\"}',0,1,NULL,0,'cart_fixed',2.0000,NULL,0,1,15,1,2,0,0,2),(7,'coupon 50','','2020-12-08',NULL,0,0,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"attribute\":null,\"operator\":null,\"value\":true,\"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\"}',0,1,NULL,0,'by_fixed',10.0000,NULL,0,0,0,1,2,0,0,0),(9,'Healthy20%','','2021-10-06','2021-10-07',1,0,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"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\"}',0,1,NULL,0,'by_percent',10.0000,NULL,0,0,0,1,2,0,1,0),(10,'Healthycart','','2021-10-07','2021-10-08',1,0,'{\"type\":\"Magento\\\\SalesRule\\\\Model\\\\Rule\\\\Condition\\\\Combine\",\"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\"}',0,1,NULL,0,'by_percent',20.0000,NULL,0,0,0,1,2,0,1,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` datetime DEFAULT NULL COMMENT 'Expiration Date',
  `is_primary` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Primary',
  `created_at` timestamp NULL DEFAULT NULL COMMENT 'Coupon Code Creation Date',
  `type` smallint(6) DEFAULT '0' COMMENT 'Coupon Code Type',
  `generated_by_dotmailer` smallint(6) DEFAULT NULL COMMENT '1 = Generated by dotmailer',
  PRIMARY KEY (`coupon_id`),
  UNIQUE KEY `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_MAG2_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 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),(2,5,'disc',NULL,NULL,0,NULL,1,NULL,0,NULL),(3,7,'disc50',NULL,NULL,0,NULL,1,NULL,0,NULL),(4,8,'Ravan15',1,1,0,'2021-09-12 00:00:00',1,NULL,0,NULL),(5,9,'Healthy20%',1,1,0,'2021-10-07 00:00:00',1,NULL,0,NULL),(6,10,'Healthycart20%',1,1,0,'2021-10-08 00:00:00',1,NULL,0,NULL),(7,6,'freeshipping',NULL,NULL,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(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `total_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `subtotal_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount Actual',
  `discount_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount Actual',
  `total_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount Actual',
  `rule_name` varchar(255) DEFAULT NULL COMMENT 'Rule Name',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_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`)
) 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(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `total_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `rule_name` varchar(255) DEFAULT NULL COMMENT 'Rule Name',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_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`)
) 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(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount',
  `discount_amount` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount',
  `total_amount` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount',
  `subtotal_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Subtotal Amount Actual',
  `discount_amount_actual` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Discount Amount Actual',
  `total_amount_actual` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Total Amount Actual',
  `rule_name` varchar(255) DEFAULT NULL COMMENT 'Rule Name',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNQ_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`)
) 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`)
) 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_RULE_ID_MAG2_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Salesrule Customer';

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

INSERT INTO `mag2_salesrule_customer` VALUES (1,6,6,2),(2,6,11,1),(3,6,168,1),(4,6,179,1);

--
-- 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_CUSTOMER_GROUP_RULE_ID_MAG2_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),(5,0),(6,0),(7,0),(8,0),(9,0),(10,0),(1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1),(1,2),(2,2),(3,2),(4,2),(5,2),(6,2),(7,2),(8,2),(9,2),(10,2),(1,3),(2,3),(3,3),(4,3),(5,3),(6,3),(7,3),(8,3),(9,3),(10,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_MAG2_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Salesrule Label';

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

INSERT INTO `mag2_salesrule_label` VALUES (1,6,0,'Free shipping'),(2,6,1,'Free shipping'),(3,6,2,'شحن مجاني');

--
-- 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_PRODUCT_ATTRIBUTE_RULE_ID_MAG2_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_MAG2_SALESRULE_RULE_ID` FOREIGN KEY (`rule_id`) REFERENCES `mag2_salesrule` (`rule_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),(5,1),(6,1),(7,1),(8,1),(9,1),(10,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`),
  KEY `MAG2_SEARCH_QUERY_STORE_ID_POPULARITY` (`store_id`,`popularity`),
  CONSTRAINT `MAG2_SEARCH_QUERY_STORE_ID_MAG2_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `mag2_store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8 COMMENT='Search query table';

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

INSERT INTO `mag2_search_query` VALUES (61,'Keto',0,1,NULL,2,1,1,0,'2021-10-12 12:03:26'),(63,'Chocolate-Orange with chocolate',0,3,NULL,2,1,1,0,'2021-10-21 00:47:09');

--
-- 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`)
) 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=latin1;

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

--
-- Dumping data for table `mag2_sequence_creditmemo_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=latin1;

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

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

--
-- Dumping data for table `mag2_sequence_invoice_1`
--


--
-- 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 AUTO_INCREMENT=219 DEFAULT CHARSET=latin1;

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

INSERT INTO `mag2_sequence_invoice_2` VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),(30),(31),(32),(33),(34),(35),(36),(37),(38),(39),(40),(41),(42),(43),(44),(45),(46),(47),(48),(49),(50),(51),(52),(53),(54),(55),(56),(57),(58),(59),(60),(61),(62),(63),(64),(65),(66),(67),(68),(69),(70),(71),(72),(73),(74),(75),(76),(77),(78),(79),(80),(81),(82),(83),(84),(85),(86),(87),(88),(89),(90),(91),(92),(93),(94),(95),(96),(97),(98),(99),(100),(101),(102),(103),(104),(105),(106),(107),(108),(109),(110),(111),(112),(113),(114),(115),(116),(117),(118),(119),(120),(121),(122),(123),(124),(125),(126),(127),(128),(129),(130),(131),(132),(133),(134),(135),(136),(137),(138),(139),(140),(141),(142),(143),(144),(145),(146),(147),(148),(149),(150),(151),(152),(153),(154),(155),(156),(157),(158),(159),(160),(161),(162),(163),(164),(165),(166),(167),(168),(169),(170),(171),(172),(173),(174),(175),(176),(177),(178),(179),(180),(181),(182),(183),(184),(185),(186),(187),(188),(189),(190),(191),(192),(193),(194),(195),(196),(197),(198),(199),(200),(201),(202),(203),(204),(205),(206),(207),(208),(209),(210),(211),(212),(213),(214),(215),(216),(217),(218);

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

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

--
-- Dumping data for table `mag2_sequence_order_1`
--

INSERT INTO `mag2_sequence_order_1` VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11);

--
-- 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 AUTO_INCREMENT=472 DEFAULT CHARSET=latin1;

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

INSERT INTO `mag2_sequence_order_2` VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),(30),(31),(32),(33),(34),(35),(36),(37),(38),(39),(40),(41),(42),(43),(44),(45),(46),(47),(48),(49),(50),(51),(52),(53),(54),(55),(56),(57),(58),(59),(60),(61),(62),(63),(64),(65),(66),(67),(68),(69),(70),(71),(72),(73),(74),(75),(76),(77),(78),(79),(80),(81),(82),(83),(84),(85),(86),(87),(88),(89),(90),(91),(92),(93),(94),(95),(96),(97),(98),(99),(100),(101),(102),(103),(104),(105),(106),(107),(108),(109),(110),(111),(112),(113),(114),(115),(116),(117),(118),(119),(120),(121),(122),(123),(124),(125),(126),(127),(128),(129),(130),(131),(132),(133),(134),(135),(136),(137),(138),(139),(140),(141),(142),(143),(144),(145),(146),(147),(148),(149),(150),(151),(152),(153),(154),(155),(156),(157),(158),(159),(160),(161),(162),(163),(164),(165),(166),(167),(168),(169),(170),(171),(172),(173),(174),(175),(176),(177),(178),(179),(180),(181),(182),(183),(184),(185),(186),(187),(188),(189),(190),(191),(192),(193),(194),(195),(196),(197),(198),(199),(200),(201),(202),(203),(204),(205),(206),(207),(208),(209),(210),(211),(212),(213),(214),(215),(216),(217),(218),(219),(220),(221),(222),(223),(224),(225),(226),(227),(228),(229),(230),(231),(232),(233),(234),(235),(236),(237),(238),(239),(240),(241),(242),(243),(244),(245),(246),(247),(248),(249),(250),(251),(252),(253),(254),(255),(256),(257),(258),(259),(260),(261),(262),(263),(264),(265),(266),(267),(268),(269),(270),(271),(272),(273),(274),(275),(276),(277),(278),(279),(280),(281),(282),(283),(284),(285),(286),(287),(288),(289),(290),(291),(292),(293),(294),(295),(296),(297),(298),(299),(300),(301),(302),(303),(304),(305),(306),(307),(308),(309),(310),(311),(312),(313),(314),(315),(316),(317),(318),(319),(320),(321),(322),(323),(324),(325),(326),(327),(328),(329),(330),(331),(332),(333),(334),(335),(336),(337),(338),(339),(340),(341),(342),(343),(344),(345),(346),(347),(348),(349),(350),(351),(352),(353),(354),(355),(356),(357),(358),(359),(360),(361),(362),(363),(364),(365),(366),(367),(368),(369),(370),(371),(372),(373),(374),(375),(376),(377),(378),(379),(380),(381),(382),(383),(384),(385),(386),(387),(388),(389),(390),(391),(392),(393),(394),(395),(396),(397),(398),(399),(400),(401),(402),(403),(404),(405),(406),(407),(408),(409),(410),(411),(412),(413),(414),(415),(416),(417),(418),(419),(420),(421),(422),(423),(424),(425),(426),(427),(428),(429),(430),(431),(432),(433),(434),(435),(436),(437),(438),(439),(440),(441),(442),(443),(444),(445),(446),(447),(448),(449),(450),(451),(452),(453),(454),(455),(456),(457),(458),(459),(460),(461),(462),(463),(464),(465),(466),(467),(468),(469),(470),(471);

--
