-- Table structure for table `queue_message_status`
--

CREATE TABLE `queue_message_status` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Relation ID',
  `queue_id` int(10) unsigned NOT NULL COMMENT 'Queue ID',
  `message_id` bigint(20) unsigned NOT NULL COMMENT 'Message ID',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `status` smallint(5) unsigned NOT NULL COMMENT 'Message status in particular queue',
  `number_of_trials` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Number of trials to processed failed message processing',
  PRIMARY KEY (`id`),
  UNIQUE KEY `QUEUE_MESSAGE_STATUS_QUEUE_ID_MESSAGE_ID` (`queue_id`,`message_id`),
  KEY `QUEUE_MESSAGE_STATUS_MESSAGE_ID_QUEUE_MESSAGE_ID` (`message_id`),
  KEY `QUEUE_MESSAGE_STATUS_STATUS_UPDATED_AT` (`status`,`updated_at`),
  CONSTRAINT `QUEUE_MESSAGE_STATUS_MESSAGE_ID_QUEUE_MESSAGE_ID` FOREIGN KEY (`message_id`) REFERENCES `queue_message` (`id`) ON DELETE CASCADE,
  CONSTRAINT `QUEUE_MESSAGE_STATUS_QUEUE_ID_QUEUE_ID` FOREIGN KEY (`queue_id`) REFERENCES `queue` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2915 DEFAULT CHARSET=utf8 COMMENT='Relation table to keep associations between queues and messages';

--
-- Dumping data for table `queue_message_status`
--

INSERT INTO `queue_message_status` VALUES (1878,12,1878,'2021-11-09 05:18:06',6,3),(1879,12,1879,'2021-11-09 05:41:06',6,3),(1880,12,1880,'2021-11-09 05:42:06',6,3),(1881,12,1881,'2021-11-09 05:43:07',6,3),(1882,12,1882,'2021-11-09 05:44:06',6,3),(1883,12,1883,'2021-11-09 05:45:05',6,3),(1884,12,1884,'2021-11-09 05:46:06',6,3),(1885,12,1885,'2021-11-09 05:47:07',6,3),(1886,12,1886,'2021-11-09 05:48:07',6,3),(1887,12,1887,'2021-11-09 05:49:06',6,3),(1888,12,1888,'2021-11-09 05:50:06',6,3),(1889,12,1889,'2021-11-09 05:51:06',6,3),(1890,12,1890,'2021-11-10 12:22:06',6,3),(1891,12,1891,'2021-11-10 13:52:06',6,3),(1892,12,1892,'2021-11-10 14:50:06',6,3),(1893,12,1893,'2021-11-10 14:54:06',6,3),(1894,12,1894,'2021-11-11 11:04:07',6,3),(1895,12,1895,'2021-11-11 11:09:06',6,3),(1896,12,1896,'2021-11-11 11:12:06',6,3),(1897,12,1897,'2021-11-11 11:39:14',6,3),(1898,12,1898,'2021-11-11 12:19:12',6,3),(1899,12,1899,'2021-11-14 12:22:05',6,3),(1900,12,1900,'2021-11-15 07:18:06',6,3),(1901,12,1901,'2021-11-15 07:39:06',6,3),(1902,12,1902,'2021-11-15 07:40:07',6,3),(1903,12,1903,'2021-11-15 07:41:06',6,3),(1904,12,1904,'2021-11-15 07:42:06',6,3),(1905,12,1905,'2021-11-15 07:43:06',6,3),(1906,12,1906,'2021-11-15 07:44:06',6,3),(1907,12,1907,'2021-11-15 07:45:06',6,3),(1908,12,1908,'2021-11-15 07:46:06',6,3),(1909,12,1909,'2021-11-15 07:47:06',6,3),(1910,12,1910,'2021-11-15 07:48:07',6,3),(1911,12,1911,'2021-11-15 07:49:07',6,3),(1912,12,1912,'2021-11-15 07:50:07',6,3),(1913,12,1913,'2021-11-15 07:51:06',6,3),(1914,12,1914,'2021-11-15 07:52:06',6,3),(1915,12,1915,'2021-11-15 07:53:06',6,3),(1916,12,1916,'2021-11-15 07:54:06',6,3),(1917,12,1917,'2021-11-15 07:55:07',6,3),(1918,12,1918,'2021-11-15 07:56:06',6,3),(1919,12,1919,'2021-11-15 07:57:07',6,3),(1920,12,1920,'2021-11-15 07:58:09',6,3),(1921,12,1921,'2021-11-15 07:59:06',6,3),(1922,12,1922,'2021-11-15 08:00:07',6,3),(1923,12,1923,'2021-11-15 08:01:07',6,3),(1924,12,1924,'2021-11-15 10:31:16',6,3),(1925,12,1925,'2021-11-15 10:50:06',6,3),(1926,12,1926,'2021-11-15 10:51:06',6,3),(1927,12,1927,'2021-11-15 10:52:06',6,3),(1928,12,1928,'2021-11-15 10:53:06',6,3),(1929,12,1929,'2021-11-15 10:54:06',6,3),(1930,12,1930,'2021-11-15 10:55:07',6,3),(1931,12,1931,'2021-11-15 10:56:07',6,3),(1932,12,1932,'2021-11-15 10:57:06',6,3),(1933,12,1933,'2021-11-15 10:58:06',6,3),(1934,12,1934,'2021-11-15 10:59:07',6,3),(1935,12,1935,'2021-11-15 11:00:06',6,3),(1936,12,1936,'2021-11-15 11:01:06',6,3),(1937,12,1937,'2021-11-15 11:02:06',6,3),(1938,12,1938,'2021-11-15 11:03:06',6,3),(1939,12,1939,'2021-11-15 11:04:06',6,3),(1940,12,1940,'2021-11-15 11:05:07',6,3),(1941,12,1941,'2021-11-15 11:06:06',6,3),(1942,12,1942,'2021-11-15 11:07:06',6,3),(1943,12,1943,'2021-11-15 11:08:06',6,3),(1944,12,1944,'2021-11-15 11:09:06',6,3),(1945,12,1945,'2021-11-15 11:10:07',6,3),(1946,12,1946,'2021-11-15 11:11:07',6,3),(1947,12,1947,'2021-11-15 11:12:06',6,3),(1948,3,1948,'2021-11-15 11:51:23',4,2),(1949,12,1949,'2021-11-15 15:44:11',6,3),(1950,12,1950,'2021-11-16 04:36:06',6,3),(1951,12,1951,'2021-11-16 04:46:06',6,3),(1952,12,1952,'2021-11-16 05:08:06',6,3),(1953,12,1953,'2021-11-16 10:27:06',6,3),(1954,12,1954,'2021-12-16 10:04:28',5,1),(1955,12,1955,'2021-12-16 10:05:08',5,1),(1956,12,1956,'2021-12-16 10:06:13',5,1),(1957,12,1957,'2021-12-16 10:07:08',5,1),(1958,12,1958,'2021-12-16 10:08:09',5,1),(1959,12,1959,'2021-12-16 10:09:08',5,1),(1960,12,1960,'2021-12-16 10:10:08',5,1),(1961,12,1961,'2021-12-16 10:11:07',5,1),(1962,12,1962,'2021-12-16 10:12:08',5,1),(1963,12,1963,'2021-12-16 10:13:08',5,1),(1964,12,1964,'2021-12-16 10:14:08',5,1),(1965,12,1965,'2021-12-16 10:16:49',5,1),(1966,12,1966,'2021-12-16 10:17:41',5,1),(1967,12,1967,'2021-12-16 10:18:10',5,1),(1968,12,1968,'2021-12-16 10:19:20',5,1),(1969,12,1969,'2021-12-16 10:20:21',5,1),(1970,12,1970,'2021-12-16 10:21:27',5,1),(1971,12,1971,'2021-12-16 10:22:12',5,1),(1972,12,1972,'2021-12-16 10:23:18',5,1),(1973,12,1973,'2021-12-16 10:24:18',5,1),(1974,12,1974,'2021-12-16 10:25:21',5,1),(1975,12,1975,'2021-12-16 10:26:12',5,1),(1976,12,1976,'2021-12-16 10:27:19',5,1),(1977,12,1977,'2021-12-16 10:28:20',5,1),(1978,12,1978,'2021-12-16 10:29:11',5,1),(1979,12,1979,'2021-12-16 10:30:17',5,1),(1980,12,1980,'2021-12-16 10:31:25',5,1),(1981,12,1981,'2021-12-16 10:32:10',5,1),(1982,12,1982,'2021-12-16 10:33:09',5,1),(1983,12,1983,'2021-12-16 10:34:09',5,1),(1984,12,1984,'2021-12-16 10:35:09',5,1),(1985,12,1985,'2021-12-16 10:36:08',5,1),(1986,12,1986,'2021-12-16 10:37:08',5,1),(1987,12,1987,'2021-12-16 10:38:07',5,1),(1988,12,1988,'2021-12-16 10:39:08',5,1),(1989,12,1989,'2021-12-16 10:40:08',5,1),(1990,12,1990,'2021-12-16 10:41:08',5,1),(1991,12,1991,'2021-12-16 10:42:07',5,1),(1992,12,1992,'2021-12-16 10:43:08',5,1),(1993,12,1993,'2021-12-16 10:44:07',5,1),(1994,12,1994,'2021-12-16 10:45:08',5,1),(1995,12,1995,'2021-12-16 10:46:07',5,1),(1996,12,1996,'2021-12-16 10:47:07',5,1),(1997,12,1997,'2021-12-16 10:48:08',5,1),(1998,12,1998,'2021-12-16 10:49:08',5,1),(1999,12,1999,'2021-12-16 10:50:07',5,1),(2000,12,2000,'2021-12-16 10:51:08',5,1),(2001,12,2001,'2021-12-16 10:52:08',5,1),(2002,12,2002,'2021-12-16 10:53:08',5,1),(2003,12,2003,'2021-12-16 10:54:07',5,1),(2004,12,2004,'2021-12-16 10:55:07',5,1),(2005,12,2005,'2021-12-16 10:56:08',5,1),(2006,3,2006,'2021-11-17 10:13:22',4,1),(2007,12,2007,'2021-12-16 10:57:08',5,1),(2008,12,2008,'2021-12-16 10:58:08',5,1),(2009,12,2009,'2021-12-16 10:59:08',5,1),(2010,12,2010,'2021-12-16 11:00:08',5,1),(2011,12,2011,'2021-12-16 11:01:07',5,1),(2012,12,2012,'2021-12-16 11:02:07',5,1),(2013,12,2013,'2021-12-16 11:03:07',5,1),(2014,12,2014,'2021-12-16 11:04:08',5,1),(2015,12,2015,'2021-12-16 11:05:07',5,1),(2016,12,2016,'2021-12-16 11:06:08',5,1),(2017,12,2017,'2021-12-16 11:07:08',5,1),(2018,12,2018,'2021-12-16 11:08:08',5,1),(2019,12,2019,'2021-12-16 11:09:08',5,1),(2020,12,2020,'2021-12-16 11:10:07',5,1),(2021,12,2021,'2021-12-16 11:11:07',5,1),(2022,12,2022,'2021-12-16 11:12:08',5,1),(2023,12,2023,'2021-12-16 11:13:08',5,1),(2024,12,2024,'2021-12-16 11:14:08',5,1),(2025,12,2025,'2021-12-16 11:15:07',5,1),(2026,12,2026,'2021-12-16 11:16:08',5,1),(2027,12,2027,'2021-12-16 11:17:07',5,1),(2028,12,2028,'2021-12-16 11:18:07',5,1),(2029,12,2029,'2021-12-16 11:19:08',5,1),(2030,12,2030,'2021-12-16 11:20:08',5,1),(2031,12,2031,'2021-12-16 11:21:08',5,1),(2032,12,2032,'2021-12-16 11:22:09',5,1),(2033,12,2033,'2021-12-16 11:23:17',5,1),(2034,12,2034,'2021-12-16 11:24:08',5,1),(2035,12,2035,'2021-12-16 11:25:07',5,1),(2036,12,2036,'2021-12-16 11:26:07',5,1),(2037,12,2037,'2021-12-16 11:27:07',5,1),(2038,12,2038,'2021-12-16 11:28:08',5,1),(2039,12,2039,'2021-12-16 11:29:07',5,1),(2040,12,2040,'2021-12-16 11:30:09',5,1),(2041,12,2041,'2021-12-16 11:31:08',5,1),(2042,12,2042,'2021-12-16 11:32:08',5,1),(2043,12,2043,'2021-11-18 13:08:14',2,0),(2044,12,2044,'2021-11-18 13:09:44',2,0),(2045,12,2045,'2021-11-18 13:09:46',2,0),(2046,12,2046,'2021-11-18 13:09:48',2,0),(2047,12,2047,'2021-11-18 13:09:50',2,0),(2048,12,2048,'2021-11-18 13:09:52',2,0),(2049,12,2049,'2021-11-18 13:09:53',2,0),(2050,12,2050,'2021-11-18 13:09:55',2,0),(2051,12,2051,'2021-11-18 13:09:57',2,0),(2052,12,2052,'2021-11-18 13:09:59',2,0),(2053,12,2053,'2021-11-18 13:10:01',2,0),(2054,12,2054,'2021-11-18 13:10:02',2,0),(2055,12,2055,'2021-11-18 13:10:04',2,0),(2056,12,2056,'2021-11-18 13:10:06',2,0),(2057,12,2057,'2021-11-18 13:10:08',2,0),(2058,12,2058,'2021-11-18 13:10:09',2,0),(2059,12,2059,'2021-11-18 13:10:11',2,0),(2060,12,2060,'2021-11-18 13:10:13',2,0),(2061,12,2061,'2021-11-18 13:10:15',2,0),(2062,12,2062,'2021-11-18 13:10:17',2,0),(2063,12,2063,'2021-11-18 13:10:19',2,0),(2064,12,2064,'2021-11-18 13:10:21',2,0),(2065,12,2065,'2021-11-18 13:10:23',2,0),(2066,12,2066,'2021-11-18 13:10:25',2,0),(2067,12,2067,'2021-11-18 13:19:17',2,0),(2068,12,2068,'2021-11-18 13:51:19',2,0),(2069,12,2069,'2021-11-18 13:52:01',2,0),(2070,12,2070,'2021-11-18 13:52:05',2,0),(2071,12,2071,'2021-11-18 13:52:07',2,0),(2072,12,2072,'2021-11-18 13:52:10',2,0),(2073,12,2073,'2021-11-18 13:52:13',2,0),(2074,12,2074,'2021-11-18 13:52:15',2,0),(2075,12,2075,'2021-11-18 13:52:18',2,0),(2076,12,2076,'2021-11-18 13:52:21',2,0),(2077,12,2077,'2021-11-18 13:52:23',2,0),(2078,12,2078,'2021-11-18 13:52:26',2,0),(2079,12,2079,'2021-11-18 13:52:29',2,0),(2080,12,2080,'2021-11-18 14:03:43',2,0),(2081,12,2081,'2021-11-18 17:58:38',2,0),(2082,12,2082,'2021-11-18 17:59:11',2,0),(2083,12,2083,'2021-11-18 17:59:15',2,0),(2084,12,2084,'2021-11-18 17:59:17',2,0),(2085,12,2085,'2021-11-18 17:59:20',2,0),(2086,12,2086,'2021-11-18 17:59:23',2,0),(2087,12,2087,'2021-11-18 17:59:26',2,0),(2088,12,2088,'2021-11-18 17:59:28',2,0),(2089,12,2089,'2021-11-18 17:59:31',2,0),(2090,12,2090,'2021-11-18 17:59:34',2,0),(2091,12,2091,'2021-11-18 17:59:36',2,0),(2092,12,2092,'2021-11-18 17:59:39',2,0),(2093,12,2093,'2021-11-18 17:59:41',2,0),(2094,12,2094,'2021-11-18 17:59:44',2,0),(2095,12,2095,'2021-11-18 17:59:46',2,0),(2096,12,2096,'2021-11-18 17:59:48',2,0),(2097,12,2097,'2021-11-18 17:59:51',2,0),(2098,12,2098,'2021-11-18 17:59:53',2,0),(2099,12,2099,'2021-11-18 17:59:56',2,0),(2100,12,2100,'2021-11-18 17:59:58',2,0),(2101,12,2101,'2021-11-18 18:00:00',2,0),(2102,12,2102,'2021-11-18 18:00:03',2,0),(2103,12,2103,'2021-11-18 18:00:05',2,0),(2104,12,2104,'2021-11-18 18:00:08',2,0),(2105,12,2105,'2021-11-19 05:17:26',2,0),(2106,12,2106,'2021-11-19 05:18:00',2,0),(2107,12,2107,'2021-11-19 05:18:03',2,0),(2108,12,2108,'2021-11-19 05:18:05',2,0),(2109,12,2109,'2021-11-19 05:18:07',2,0),(2110,12,2110,'2021-11-19 05:18:09',2,0),(2111,12,2111,'2021-11-19 05:18:11',2,0),(2112,12,2112,'2021-11-19 05:18:13',2,0),(2113,12,2113,'2021-11-19 05:18:15',2,0),(2114,12,2114,'2021-11-19 05:18:17',2,0),(2115,12,2115,'2021-11-19 05:18:18',2,0),(2116,12,2116,'2021-11-19 05:18:20',2,0),(2117,12,2117,'2021-11-19 07:15:04',2,0),(2118,12,2118,'2021-11-19 07:16:26',2,0),(2119,12,2119,'2021-11-19 07:17:05',2,0),(2120,12,2120,'2021-11-19 07:17:08',2,0),(2121,12,2121,'2021-11-19 07:17:10',2,0),(2122,12,2122,'2021-11-19 07:17:12',2,0),(2123,12,2123,'2021-11-19 07:17:14',2,0),(2124,12,2124,'2021-11-19 07:17:16',2,0),(2125,12,2125,'2021-11-19 07:17:18',2,0),(2126,12,2126,'2021-11-19 07:17:20',2,0),(2127,12,2127,'2021-11-19 07:17:22',2,0),(2128,12,2128,'2021-11-19 07:17:24',2,0),(2129,12,2129,'2021-11-19 07:17:26',2,0),(2130,12,2130,'2021-11-19 07:26:30',2,0),(2131,12,2131,'2021-11-19 07:27:04',2,0),(2132,12,2132,'2021-11-19 07:27:07',2,0),(2133,12,2133,'2021-11-19 07:27:09',2,0),(2134,12,2134,'2021-11-19 07:27:11',2,0),(2135,12,2135,'2021-11-19 07:27:13',2,0),(2136,12,2136,'2021-11-19 07:27:15',2,0),(2137,12,2137,'2021-11-19 07:27:17',2,0),(2138,12,2138,'2021-11-19 07:27:19',2,0),(2139,12,2139,'2021-11-19 07:27:21',2,0),(2140,12,2140,'2021-11-19 07:27:23',2,0),(2141,12,2141,'2021-11-19 07:27:25',2,0),(2142,12,2142,'2021-11-19 09:18:25',2,0),(2143,12,2143,'2021-11-19 09:21:33',2,0),(2144,12,2144,'2021-11-19 09:23:33',2,0),(2145,12,2145,'2021-11-19 09:24:24',2,0),(2146,12,2146,'2021-11-19 09:24:26',2,0),(2147,12,2147,'2021-11-19 09:24:28',2,0),(2148,12,2148,'2021-11-19 09:24:30',2,0),(2149,12,2149,'2021-11-19 09:24:31',2,0),(2150,12,2150,'2021-11-19 09:24:33',2,0),(2151,12,2151,'2021-11-19 09:24:35',2,0),(2152,12,2152,'2021-11-19 09:24:37',2,0),(2153,12,2153,'2021-11-19 09:24:39',2,0),(2154,12,2154,'2021-11-19 09:24:41',2,0),(2155,12,2155,'2021-11-19 09:24:42',2,0),(2156,12,2156,'2021-11-19 16:44:22',2,0),(2157,12,2157,'2021-11-22 05:32:36',2,0),(2158,12,2158,'2021-11-22 05:34:41',2,0),(2159,12,2159,'2021-11-22 05:35:17',2,0),(2160,12,2160,'2021-11-22 05:35:20',2,0),(2161,12,2161,'2021-11-22 05:35:22',2,0),(2162,12,2162,'2021-11-22 05:35:25',2,0),(2163,12,2163,'2021-11-22 05:35:27',2,0),(2164,12,2164,'2021-11-22 05:35:29',2,0),(2165,12,2165,'2021-11-22 05:35:31',2,0),(2166,12,2166,'2021-11-22 05:35:33',2,0),(2167,12,2167,'2021-11-22 05:35:35',2,0),(2168,12,2168,'2021-11-22 05:35:37',2,0),(2169,12,2169,'2021-11-22 05:35:39',2,0),(2170,12,2170,'2021-11-22 05:39:21',2,0),(2171,12,2171,'2021-11-22 05:39:52',2,0),(2172,12,2172,'2021-11-22 05:39:55',2,0),(2173,12,2173,'2021-11-22 05:39:57',2,0),(2174,12,2174,'2021-11-22 05:39:59',2,0),(2175,12,2175,'2021-11-22 05:40:00',2,0),(2176,12,2176,'2021-11-22 05:40:02',2,0),(2177,12,2177,'2021-11-22 05:40:04',2,0),(2178,12,2178,'2021-11-22 05:40:06',2,0),(2179,12,2179,'2021-11-22 05:40:08',2,0),(2180,12,2180,'2021-11-22 05:40:10',2,0),(2181,12,2181,'2021-11-22 05:40:12',2,0),(2182,12,2182,'2021-11-22 05:43:13',2,0),(2183,12,2183,'2021-11-22 06:03:07',2,0),(2184,12,2184,'2021-11-22 06:29:25',2,0),(2185,12,2185,'2021-11-22 06:29:33',2,0),(2186,12,2186,'2021-11-22 06:35:56',2,0),(2187,12,2187,'2021-11-22 06:36:02',2,0),(2188,12,2188,'2021-11-22 07:10:06',2,0),(2189,12,2189,'2021-11-22 07:14:26',2,0),(2190,12,2190,'2021-11-22 07:15:59',2,0),(2191,12,2191,'2021-11-22 07:16:29',2,0),(2192,12,2192,'2021-11-22 07:16:32',2,0),(2193,12,2193,'2021-11-22 07:16:35',2,0),(2194,12,2194,'2021-11-22 07:16:37',2,0),(2195,12,2195,'2021-11-22 07:16:39',2,0),(2196,12,2196,'2021-11-22 07:16:41',2,0),(2197,12,2197,'2021-11-22 07:16:45',2,0),(2198,12,2198,'2021-11-22 07:16:47',2,0),(2199,12,2199,'2021-11-22 07:16:49',2,0),(2200,12,2200,'2021-11-22 07:16:51',2,0),(2201,12,2201,'2021-11-22 07:16:53',2,0),(2202,12,2202,'2021-11-22 07:22:25',2,0),(2203,12,2203,'2021-11-22 08:43:56',2,0),(2204,12,2204,'2021-11-22 09:27:24',2,0),(2205,12,2205,'2021-11-22 10:16:35',2,0),(2206,12,2206,'2021-11-22 13:13:37',2,0),(2207,12,2207,'2021-11-22 13:21:29',2,0),(2208,12,2208,'2021-11-22 13:21:32',2,0),(2209,12,2209,'2021-11-22 13:21:34',2,0),(2210,12,2210,'2021-11-22 13:21:36',2,0),(2211,12,2211,'2021-11-22 13:21:37',2,0),(2212,12,2212,'2021-11-22 13:21:39',2,0),(2213,12,2213,'2021-11-22 13:21:41',2,0),(2214,12,2214,'2021-11-22 13:21:43',2,0),(2215,12,2215,'2021-11-22 13:21:45',2,0),(2216,12,2216,'2021-11-22 13:21:46',2,0),(2217,12,2217,'2021-11-22 13:21:48',2,0),(2218,12,2218,'2021-11-22 13:21:50',2,0),(2219,12,2219,'2021-11-22 13:21:52',2,0),(2220,12,2220,'2021-11-22 13:21:54',2,0),(2221,12,2221,'2021-11-22 13:21:56',2,0),(2222,12,2222,'2021-11-22 13:21:57',2,0),(2223,12,2223,'2021-11-22 13:21:59',2,0),(2224,12,2224,'2021-11-22 13:22:01',2,0),(2225,12,2225,'2021-11-22 13:22:03',2,0),(2226,12,2226,'2021-11-22 13:22:05',2,0),(2227,12,2227,'2021-11-22 13:22:06',2,0),(2228,12,2228,'2021-11-22 13:22:08',2,0),(2229,12,2229,'2021-11-22 13:22:10',2,0),(2230,12,2230,'2021-11-23 06:25:25',2,0),(2231,12,2231,'2021-11-23 06:47:05',2,0),(2232,12,2232,'2021-11-23 06:49:58',2,0),(2233,12,2233,'2021-11-23 06:51:30',2,0),(2234,12,2234,'2021-11-23 06:55:18',2,0),(2235,12,2235,'2021-11-23 06:55:46',2,0),(2236,12,2236,'2021-11-23 06:55:48',2,0),(2237,12,2237,'2021-11-23 06:55:50',2,0),(2238,12,2238,'2021-11-23 06:55:52',2,0),(2239,12,2239,'2021-11-23 06:55:53',2,0),(2240,12,2240,'2021-11-23 06:55:55',2,0),(2241,12,2241,'2021-11-23 06:55:57',2,0),(2242,12,2242,'2021-11-23 06:55:59',2,0),(2243,12,2243,'2021-11-23 06:56:01',2,0),(2244,12,2244,'2021-11-23 06:56:02',2,0),(2245,12,2245,'2021-11-23 06:56:04',2,0),(2246,12,2246,'2021-11-23 09:12:09',2,0),(2247,12,2247,'2021-11-23 11:49:46',2,0),(2248,12,2248,'2021-11-23 12:09:23',2,0),(2249,12,2249,'2021-11-23 12:38:39',2,0),(2250,12,2250,'2021-11-23 12:55:10',2,0),(2251,12,2251,'2021-11-23 15:01:26',2,0),(2252,12,2252,'2021-11-23 15:04:01',2,0),(2253,12,2253,'2021-11-23 15:14:16',2,0),(2254,12,2254,'2021-11-23 15:19:25',2,0),(2255,12,2255,'2021-11-24 06:26:11',2,0),(2256,12,2256,'2021-11-24 08:49:18',2,0),(2257,12,2257,'2021-11-24 08:49:24',2,0),(2258,12,2258,'2021-11-25 06:30:10',2,0),(2259,12,2259,'2021-11-25 06:30:17',2,0),(2260,12,2260,'2021-11-25 07:13:29',2,0),(2261,12,2261,'2021-11-25 11:42:18',2,0),(2262,12,2262,'2021-11-28 08:54:01',2,0),(2263,12,2263,'2021-11-28 09:02:03',2,0),(2264,12,2264,'2021-11-28 09:53:00',2,0),(2265,12,2265,'2021-11-28 09:58:09',2,0),(2266,12,2266,'2021-11-28 10:01:21',2,0),(2267,12,2267,'2021-11-28 10:07:49',2,0),(2268,12,2268,'2021-11-28 10:07:50',2,0),(2269,12,2269,'2021-11-28 10:11:52',2,0),(2270,12,2270,'2021-11-28 10:13:23',2,0),(2271,12,2271,'2021-11-28 10:13:24',2,0),(2272,12,2272,'2021-11-28 10:30:32',2,0),(2273,12,2273,'2021-11-28 11:39:09',2,0),(2274,12,2274,'2021-11-28 13:47:36',2,0),(2275,12,2275,'2021-11-28 13:48:13',2,0),(2276,12,2276,'2021-11-28 13:48:16',2,0),(2277,12,2277,'2021-11-28 13:48:18',2,0),(2278,12,2278,'2021-11-28 13:48:20',2,0),(2279,12,2279,'2021-11-28 13:48:22',2,0),(2280,12,2280,'2021-11-28 13:48:24',2,0),(2281,12,2281,'2021-11-28 13:48:26',2,0),(2282,12,2282,'2021-11-28 13:48:28',2,0),(2283,12,2283,'2021-11-28 13:48:30',2,0),(2284,12,2284,'2021-11-28 13:48:32',2,0),(2285,12,2285,'2021-11-28 13:48:34',2,0),(2286,12,2286,'2021-11-28 13:48:36',2,0),(2287,12,2287,'2021-11-28 13:48:38',2,0),(2288,12,2288,'2021-11-28 13:48:40',2,0),(2289,12,2289,'2021-11-28 13:48:42',2,0),(2290,12,2290,'2021-11-28 13:48:44',2,0),(2291,12,2291,'2021-11-28 13:48:46',2,0),(2292,12,2292,'2021-11-28 13:48:48',2,0),(2293,12,2293,'2021-11-28 13:48:50',2,0),(2294,12,2294,'2021-11-28 13:48:51',2,0),(2295,12,2295,'2021-11-28 13:48:53',2,0),(2296,12,2296,'2021-11-28 13:48:55',2,0),(2297,12,2297,'2021-11-28 13:48:57',2,0),(2298,12,2298,'2021-11-28 13:56:01',2,0),(2299,12,2299,'2021-11-28 14:01:54',2,0),(2300,12,2300,'2021-11-29 11:37:06',2,0),(2301,12,2301,'2021-11-29 13:29:12',2,0),(2302,12,2302,'2021-11-29 13:33:36',2,0),(2303,12,2303,'2021-11-29 13:45:46',2,0),(2304,12,2304,'2021-11-29 13:47:47',2,0),(2305,12,2305,'2021-11-29 13:53:30',2,0),(2306,12,2306,'2021-12-01 12:39:21',2,0),(2307,12,2307,'2021-12-03 05:55:08',2,0),(2308,12,2308,'2021-12-03 05:55:42',2,0),(2309,12,2309,'2021-12-03 05:55:45',2,0),(2310,12,2310,'2021-12-03 05:55:47',2,0),(2311,12,2311,'2021-12-03 05:55:49',2,0),(2312,12,2312,'2021-12-03 05:55:51',2,0),(2313,12,2313,'2021-12-03 05:55:53',2,0),(2314,12,2314,'2021-12-03 05:55:55',2,0),(2315,12,2315,'2021-12-03 05:55:57',2,0),(2316,12,2316,'2021-12-03 05:55:59',2,0),(2317,12,2317,'2021-12-03 05:56:01',2,0),(2318,12,2318,'2021-12-03 05:56:03',2,0),(2319,12,2319,'2021-12-03 19:22:06',2,0),(2320,12,2320,'2021-12-03 19:22:39',2,0),(2321,12,2321,'2021-12-03 19:22:42',2,0),(2322,12,2322,'2021-12-03 19:22:44',2,0),(2323,12,2323,'2021-12-03 19:22:46',2,0),(2324,12,2324,'2021-12-03 19:22:48',2,0),(2325,12,2325,'2021-12-03 19:22:50',2,0),(2326,12,2326,'2021-12-03 19:22:52',2,0),(2327,12,2327,'2021-12-03 19:22:54',2,0),(2328,12,2328,'2021-12-03 19:22:56',2,0),(2329,12,2329,'2021-12-03 19:22:58',2,0),(2330,12,2330,'2021-12-03 19:23:00',2,0),(2331,12,2331,'2021-12-03 19:41:33',2,0),(2332,12,2332,'2021-12-04 13:23:28',2,0),(2333,12,2333,'2021-12-05 13:49:07',2,0),(2334,12,2334,'2021-12-05 13:50:22',2,0),(2335,12,2335,'2021-12-05 13:50:59',2,0),(2336,12,2336,'2021-12-05 13:51:01',2,0),(2337,12,2337,'2021-12-05 13:51:03',2,0),(2338,12,2338,'2021-12-05 13:51:04',2,0),(2339,12,2339,'2021-12-05 13:51:06',2,0),(2340,12,2340,'2021-12-05 13:51:07',2,0),(2341,12,2341,'2021-12-05 13:51:09',2,0),(2342,12,2342,'2021-12-05 13:51:10',2,0),(2343,12,2343,'2021-12-05 13:51:12',2,0),(2344,12,2344,'2021-12-05 13:51:13',2,0),(2345,12,2345,'2021-12-05 13:51:15',2,0),(2346,12,2346,'2021-12-06 03:37:25',2,0),(2347,12,2347,'2021-12-06 03:37:59',2,0),(2348,12,2348,'2021-12-06 03:38:01',2,0),(2349,12,2349,'2021-12-06 03:38:02',2,0),(2350,12,2350,'2021-12-06 03:38:04',2,0),(2351,12,2351,'2021-12-06 03:38:05',2,0),(2352,12,2352,'2021-12-06 03:38:07',2,0),(2353,12,2353,'2021-12-06 03:38:09',2,0),(2354,12,2354,'2021-12-06 03:38:10',2,0),(2355,12,2355,'2021-12-06 03:38:12',2,0),(2356,12,2356,'2021-12-06 03:38:14',2,0),(2357,12,2357,'2021-12-06 03:38:15',2,0),(2358,12,2358,'2021-12-06 03:38:17',2,0),(2359,12,2359,'2021-12-06 03:38:19',2,0),(2360,12,2360,'2021-12-06 03:38:20',2,0),(2361,12,2361,'2021-12-06 03:38:22',2,0),(2362,12,2362,'2021-12-06 03:38:24',2,0),(2363,12,2363,'2021-12-06 03:38:25',2,0),(2364,12,2364,'2021-12-06 03:38:27',2,0),(2365,12,2365,'2021-12-06 03:38:29',2,0),(2366,12,2366,'2021-12-06 03:38:31',2,0),(2367,12,2367,'2021-12-06 03:38:32',2,0),(2368,12,2368,'2021-12-06 03:38:34',2,0),(2369,12,2369,'2021-12-06 03:38:35',2,0),(2370,12,2370,'2021-12-06 03:39:52',2,0),(2371,12,2371,'2021-12-06 05:18:58',2,0),(2372,12,2372,'2021-12-06 05:21:54',2,0),(2373,12,2373,'2021-12-06 05:22:39',2,0),(2374,12,2374,'2021-12-06 05:22:41',2,0),(2375,12,2375,'2021-12-06 05:22:42',2,0),(2376,12,2376,'2021-12-06 05:22:44',2,0),(2377,12,2377,'2021-12-06 05:22:45',2,0),(2378,12,2378,'2021-12-06 05:22:47',2,0),(2379,12,2379,'2021-12-06 05:22:49',2,0),(2380,12,2380,'2021-12-06 05:22:50',2,0),(2381,12,2381,'2021-12-06 05:22:52',2,0),(2382,12,2382,'2021-12-06 05:22:53',2,0),(2383,12,2383,'2021-12-06 05:22:54',2,0),(2384,12,2384,'2021-12-06 05:22:56',2,0),(2385,12,2385,'2021-12-06 05:22:58',2,0),(2386,12,2386,'2021-12-06 05:22:59',2,0),(2387,12,2387,'2021-12-06 05:23:01',2,0),(2388,12,2388,'2021-12-06 05:23:02',2,0),(2389,12,2389,'2021-12-06 05:23:04',2,0),(2390,12,2390,'2021-12-06 05:23:05',2,0),(2391,12,2391,'2021-12-06 05:23:07',2,0),(2392,12,2392,'2021-12-06 05:23:09',2,0),(2393,12,2393,'2021-12-06 05:23:10',2,0),(2394,12,2394,'2021-12-06 05:23:12',2,0),(2395,12,2395,'2021-12-06 05:23:13',2,0),(2396,12,2396,'2021-12-06 05:32:36',2,0),(2397,12,2397,'2021-12-06 05:46:21',2,0),(2398,12,2398,'2021-12-06 13:00:52',2,0),(2399,12,2399,'2021-12-06 13:06:38',2,0),(2400,12,2400,'2021-12-07 08:43:53',2,0),(2401,12,2401,'2021-12-07 08:44:59',2,0),(2402,12,2402,'2021-12-07 08:45:37',2,0),(2403,12,2403,'2021-12-07 08:45:39',2,0),(2404,12,2404,'2021-12-07 08:45:40',2,0),(2405,12,2405,'2021-12-07 08:45:42',2,0),(2406,12,2406,'2021-12-07 08:45:43',2,0),(2407,12,2407,'2021-12-07 08:45:45',2,0),(2408,12,2408,'2021-12-07 08:45:47',2,0),(2409,12,2409,'2021-12-07 08:45:48',2,0),(2410,12,2410,'2021-12-07 08:45:50',2,0),(2411,12,2411,'2021-12-07 08:45:52',2,0),(2412,12,2412,'2021-12-07 08:45:53',2,0),(2413,12,2413,'2021-12-07 08:45:55',2,0),(2414,12,2414,'2021-12-07 08:45:56',2,0),(2415,12,2415,'2021-12-07 08:45:58',2,0),(2416,12,2416,'2021-12-07 08:46:00',2,0),(2417,12,2417,'2021-12-07 08:46:01',2,0),(2418,12,2418,'2021-12-07 08:46:03',2,0),(2419,12,2419,'2021-12-07 08:46:04',2,0),(2420,12,2420,'2021-12-07 08:46:06',2,0),(2421,12,2421,'2021-12-07 08:46:07',2,0),(2422,12,2422,'2021-12-07 08:46:09',2,0),(2423,12,2423,'2021-12-07 08:46:11',2,0),(2424,12,2424,'2021-12-07 08:46:12',2,0),(2425,12,2425,'2021-12-07 11:51:42',2,0),(2426,12,2426,'2021-12-07 17:35:35',2,0),(2427,12,2427,'2021-12-07 17:44:01',2,0),(2428,12,2428,'2021-12-07 18:32:16',2,0),(2429,5,2429,'2021-12-16 10:04:36',4,1),(2430,12,2430,'2021-12-08 10:53:58',2,0),(2431,12,2431,'2021-12-08 11:04:07',2,0),(2432,12,2432,'2021-12-08 11:05:47',2,0),(2433,12,2433,'2021-12-08 11:05:49',2,0),(2434,12,2434,'2021-12-08 11:05:50',2,0),(2435,12,2435,'2021-12-08 11:05:52',2,0),(2436,12,2436,'2021-12-08 11:05:53',2,0),(2437,12,2437,'2021-12-08 11:05:55',2,0),(2438,12,2438,'2021-12-08 11:05:56',2,0),(2439,12,2439,'2021-12-08 11:05:57',2,0),(2440,12,2440,'2021-12-08 11:05:59',2,0),(2441,12,2441,'2021-12-08 11:06:00',2,0),(2442,12,2442,'2021-12-08 11:06:02',2,0),(2443,12,2443,'2021-12-08 11:09:53',2,0),(2444,12,2444,'2021-12-08 11:19:30',2,0),(2445,12,2445,'2021-12-08 12:29:26',2,0),(2446,12,2446,'2021-12-08 15:42:19',2,0),(2447,12,2447,'2021-12-08 15:44:25',2,0),(2448,12,2448,'2021-12-09 15:10:34',2,0),(2449,12,2449,'2021-12-09 15:11:11',2,0),(2450,12,2450,'2021-12-09 15:11:13',2,0),(2451,12,2451,'2021-12-09 15:11:14',2,0),(2452,12,2452,'2021-12-09 15:11:16',2,0),(2453,12,2453,'2021-12-09 15:11:17',2,0),(2454,12,2454,'2021-12-09 15:11:19',2,0),(2455,12,2455,'2021-12-09 15:11:20',2,0),(2456,12,2456,'2021-12-09 15:11:21',2,0),(2457,12,2457,'2021-12-09 15:11:23',2,0),(2458,12,2458,'2021-12-09 15:11:24',2,0),(2459,12,2459,'2021-12-09 15:11:26',2,0),(2460,12,2460,'2021-12-09 15:11:27',2,0),(2461,12,2461,'2021-12-09 15:11:29',2,0),(2462,12,2462,'2021-12-09 15:11:30',2,0),(2463,12,2463,'2021-12-09 15:11:32',2,0),(2464,12,2464,'2021-12-09 15:11:33',2,0),(2465,12,2465,'2021-12-09 15:11:34',2,0),(2466,12,2466,'2021-12-09 15:11:36',2,0),(2467,12,2467,'2021-12-09 15:11:37',2,0),(2468,12,2468,'2021-12-09 15:11:39',2,0),(2469,12,2469,'2021-12-09 15:11:40',2,0),(2470,12,2470,'2021-12-09 15:11:42',2,0),(2471,12,2471,'2021-12-09 15:11:43',2,0),(2472,12,2472,'2021-12-10 05:45:17',2,0),(2473,12,2473,'2021-12-10 07:08:30',2,0),(2474,12,2474,'2021-12-10 07:10:56',2,0),(2475,12,2475,'2021-12-10 07:16:56',2,0),(2476,12,2476,'2021-12-10 18:32:04',2,0),(2477,12,2477,'2021-12-10 18:32:17',2,0),(2478,12,2478,'2021-12-10 20:03:21',2,0),(2479,12,2479,'2021-12-10 20:05:42',2,0),(2480,12,2480,'2021-12-10 20:05:43',2,0),(2481,12,2481,'2021-12-10 20:05:45',2,0),(2482,12,2482,'2021-12-10 20:05:46',2,0),(2483,12,2483,'2021-12-10 20:05:47',2,0),(2484,12,2484,'2021-12-10 20:05:49',2,0),(2485,12,2485,'2021-12-10 20:05:50',2,0),(2486,12,2486,'2021-12-10 20:05:52',2,0),(2487,12,2487,'2021-12-10 20:05:53',2,0),(2488,12,2488,'2021-12-10 20:05:54',2,0),(2489,12,2489,'2021-12-10 20:05:56',2,0),(2490,12,2490,'2021-12-10 20:05:57',2,0),(2491,12,2491,'2021-12-10 20:05:58',2,0),(2492,12,2492,'2021-12-10 20:06:00',2,0),(2493,12,2493,'2021-12-10 20:06:01',2,0),(2494,12,2494,'2021-12-10 20:06:02',2,0),(2495,12,2495,'2021-12-10 20:06:04',2,0),(2496,12,2496,'2021-12-10 20:06:05',2,0),(2497,12,2497,'2021-12-10 20:06:06',2,0),(2498,12,2498,'2021-12-10 20:06:08',2,0),(2499,12,2499,'2021-12-10 20:06:09',2,0),(2500,12,2500,'2021-12-10 20:06:10',2,0),(2501,12,2501,'2021-12-10 20:06:12',2,0),(2502,12,2502,'2021-12-10 20:12:39',2,0),(2503,12,2503,'2021-12-12 09:42:45',2,0),(2504,12,2504,'2021-12-12 12:25:28',2,0),(2505,12,2505,'2021-12-12 12:28:37',2,0),(2506,12,2506,'2021-12-12 13:30:50',2,0),(2507,12,2507,'2021-12-12 13:32:27',2,0),(2508,12,2508,'2021-12-12 13:35:14',2,0),(2509,12,2509,'2021-12-12 13:35:51',2,0),(2510,12,2510,'2021-12-12 13:35:52',2,0),(2511,12,2511,'2021-12-12 13:35:54',2,0),(2512,12,2512,'2021-12-12 13:35:55',2,0),(2513,12,2513,'2021-12-12 13:35:56',2,0),(2514,12,2514,'2021-12-12 13:35:57',2,0),(2515,12,2515,'2021-12-12 13:35:59',2,0),(2516,12,2516,'2021-12-12 13:36:00',2,0),(2517,12,2517,'2021-12-12 13:36:01',2,0),(2518,12,2518,'2021-12-12 13:36:03',2,0),(2519,12,2519,'2021-12-12 13:36:04',2,0),(2520,12,2520,'2021-12-12 13:36:05',2,0),(2521,12,2521,'2021-12-12 13:36:07',2,0),(2522,12,2522,'2021-12-12 13:36:08',2,0),(2523,12,2523,'2021-12-12 13:36:09',2,0),(2524,12,2524,'2021-12-12 13:36:10',2,0),(2525,12,2525,'2021-12-12 13:36:12',2,0),(2526,12,2526,'2021-12-12 13:36:13',2,0),(2527,12,2527,'2021-12-12 13:36:14',2,0),(2528,12,2528,'2021-12-12 13:36:15',2,0),(2529,12,2529,'2021-12-12 13:36:17',2,0),(2530,12,2530,'2021-12-12 13:36:18',2,0),(2531,12,2531,'2021-12-12 13:36:19',2,0),(2532,12,2532,'2021-12-13 09:02:42',2,0),(2533,12,2533,'2021-12-13 09:25:46',2,0),(2534,12,2534,'2021-12-13 09:28:59',2,0),(2535,12,2535,'2021-12-13 09:36:53',2,0),(2536,12,2536,'2021-12-13 09:37:57',2,0),(2537,12,2537,'2021-12-13 09:41:03',2,0),(2538,12,2538,'2021-12-13 09:43:45',2,0),(2539,12,2539,'2021-12-13 09:43:47',2,0),(2540,12,2540,'2021-12-13 09:43:48',2,0),(2541,12,2541,'2021-12-13 09:43:50',2,0),(2542,12,2542,'2021-12-13 09:43:51',2,0),(2543,12,2543,'2021-12-13 09:43:52',2,0),(2544,12,2544,'2021-12-13 09:43:54',2,0),(2545,12,2545,'2021-12-13 09:43:55',2,0),(2546,12,2546,'2021-12-13 09:43:57',2,0),(2547,12,2547,'2021-12-13 09:43:58',2,0),(2548,12,2548,'2021-12-13 09:43:59',2,0),(2549,12,2549,'2021-12-13 09:44:01',2,0),(2550,12,2550,'2021-12-13 09:44:02',2,0),(2551,12,2551,'2021-12-13 09:44:04',2,0),(2552,12,2552,'2021-12-13 09:44:05',2,0),(2553,12,2553,'2021-12-13 09:44:06',2,0),(2554,12,2554,'2021-12-13 09:44:08',2,0),(2555,12,2555,'2021-12-13 09:44:09',2,0),(2556,12,2556,'2021-12-13 09:44:11',2,0),(2557,12,2557,'2021-12-13 09:44:12',2,0),(2558,12,2558,'2021-12-13 09:44:13',2,0),(2559,12,2559,'2021-12-13 09:44:15',2,0),(2560,12,2560,'2021-12-13 09:44:16',2,0),(2561,12,2561,'2021-12-13 10:58:57',2,0),(2562,12,2562,'2021-12-13 11:01:14',2,0),(2563,12,2563,'2021-12-13 11:07:27',2,0),(2564,12,2564,'2021-12-13 11:24:12',2,0),(2565,12,2565,'2021-12-13 11:38:23',2,0),(2566,12,2566,'2021-12-13 12:55:52',2,0),(2567,12,2567,'2021-12-13 13:02:05',2,0),(2568,12,2568,'2021-12-13 13:06:26',2,0),(2569,12,2569,'2021-12-13 13:11:25',2,0),(2570,12,2570,'2021-12-13 13:11:26',2,0),(2571,12,2571,'2021-12-13 13:11:28',2,0),(2572,12,2572,'2021-12-13 13:11:29',2,0),(2573,12,2573,'2021-12-13 13:11:31',2,0),(2574,12,2574,'2021-12-13 13:11:32',2,0),(2575,12,2575,'2021-12-13 13:11:34',2,0),(2576,12,2576,'2021-12-13 13:11:35',2,0),(2577,12,2577,'2021-12-13 13:11:36',2,0),(2578,12,2578,'2021-12-13 13:11:38',2,0),(2579,12,2579,'2021-12-13 13:11:39',2,0),(2580,12,2580,'2021-12-13 13:13:53',2,0),(2581,12,2581,'2021-12-13 13:14:30',2,0),(2582,12,2582,'2021-12-13 13:25:27',2,0),(2583,12,2583,'2021-12-13 13:27:51',2,0),(2584,12,2584,'2021-12-13 13:29:18',2,0),(2585,12,2585,'2021-12-13 13:31:20',2,0),(2586,12,2586,'2021-12-13 13:32:05',2,0),(2587,12,2587,'2021-12-13 13:32:06',2,0),(2588,12,2588,'2021-12-13 13:32:07',2,0),(2589,12,2589,'2021-12-13 13:32:08',2,0),(2590,12,2590,'2021-12-13 13:32:10',2,0),(2591,12,2591,'2021-12-13 13:32:12',2,0),(2592,12,2592,'2021-12-13 13:32:13',2,0),(2593,12,2593,'2021-12-13 13:32:15',2,0),(2594,12,2594,'2021-12-13 13:32:16',2,0),(2595,12,2595,'2021-12-13 13:32:18',2,0),(2596,12,2596,'2021-12-13 13:32:20',2,0),(2597,12,2597,'2021-12-13 13:32:21',2,0),(2598,12,2598,'2021-12-13 13:42:35',2,0),(2599,12,2599,'2021-12-13 13:47:48',2,0),(2600,12,2600,'2021-12-13 13:48:22',2,0),(2601,12,2601,'2021-12-13 13:48:23',2,0),(2602,12,2602,'2021-12-13 13:48:25',2,0),(2603,12,2603,'2021-12-13 13:48:26',2,0),(2604,12,2604,'2021-12-13 13:48:28',2,0),(2605,12,2605,'2021-12-13 13:48:29',2,0),(2606,12,2606,'2021-12-13 13:48:31',2,0),(2607,12,2607,'2021-12-13 13:48:32',2,0),(2608,12,2608,'2021-12-13 13:48:34',2,0),(2609,12,2609,'2021-12-13 13:48:36',2,0),(2610,12,2610,'2021-12-13 13:48:37',2,0),(2611,12,2611,'2021-12-13 13:48:38',2,0),(2612,12,2612,'2021-12-13 13:48:40',2,0),(2613,12,2613,'2021-12-13 13:48:42',2,0),(2614,12,2614,'2021-12-13 13:48:43',2,0),(2615,12,2615,'2021-12-13 13:48:45',2,0),(2616,12,2616,'2021-12-13 13:48:46',2,0),(2617,12,2617,'2021-12-13 13:48:48',2,0),(2618,12,2618,'2021-12-13 13:48:49',2,0),(2619,12,2619,'2021-12-13 13:48:51',2,0),(2620,12,2620,'2021-12-13 13:48:53',2,0),(2621,12,2621,'2021-12-13 13:48:54',2,0),(2622,12,2622,'2021-12-13 13:48:56',2,0),(2623,12,2623,'2021-12-14 11:37:42',2,0),(2624,12,2624,'2021-12-14 11:38:55',2,0),(2625,12,2625,'2021-12-14 11:38:57',2,0),(2626,12,2626,'2021-12-14 11:38:58',2,0),(2627,12,2627,'2021-12-14 11:38:59',2,0),(2628,12,2628,'2021-12-14 11:39:01',2,0),(2629,12,2629,'2021-12-14 11:39:02',2,0),(2630,12,2630,'2021-12-14 11:39:03',2,0),(2631,12,2631,'2021-12-14 11:39:04',2,0),(2632,12,2632,'2021-12-14 11:39:06',2,0),(2633,12,2633,'2021-12-14 11:39:07',2,0),(2634,12,2634,'2021-12-14 11:39:09',2,0),(2635,12,2635,'2021-12-14 11:39:10',2,0),(2636,12,2636,'2021-12-14 11:39:12',2,0),(2637,12,2637,'2021-12-14 11:39:13',2,0),(2638,12,2638,'2021-12-14 11:39:15',2,0),(2639,12,2639,'2021-12-14 11:39:16',2,0),(2640,12,2640,'2021-12-14 11:39:17',2,0),(2641,12,2641,'2021-12-14 11:39:19',2,0),(2642,12,2642,'2021-12-14 11:39:20',2,0),(2643,12,2643,'2021-12-14 11:39:21',2,0),(2644,12,2644,'2021-12-14 11:39:23',2,0),(2645,12,2645,'2021-12-14 11:39:24',2,0),(2646,12,2646,'2021-12-14 11:39:25',2,0),(2647,12,2647,'2021-12-14 11:51:04',2,0),(2648,12,2648,'2021-12-14 12:43:32',2,0),(2649,12,2649,'2021-12-14 12:44:50',2,0),(2650,12,2650,'2021-12-14 12:49:13',2,0),(2651,12,2651,'2021-12-14 12:52:39',2,0),(2652,12,2652,'2021-12-14 12:56:59',2,0),(2653,12,2653,'2021-12-14 12:58:00',2,0),(2654,12,2654,'2021-12-14 12:58:34',2,0),(2655,12,2655,'2021-12-14 12:59:21',2,0),(2656,12,2656,'2021-12-14 12:59:22',2,0),(2657,12,2657,'2021-12-14 12:59:23',2,0),(2658,12,2658,'2021-12-14 12:59:25',2,0),(2659,12,2659,'2021-12-14 12:59:26',2,0),(2660,12,2660,'2021-12-14 12:59:28',2,0),(2661,12,2661,'2021-12-14 12:59:29',2,0),(2662,12,2662,'2021-12-14 12:59:30',2,0),(2663,12,2663,'2021-12-14 12:59:32',2,0),(2664,12,2664,'2021-12-14 12:59:33',2,0),(2665,12,2665,'2021-12-14 12:59:35',2,0),(2666,12,2666,'2021-12-14 12:59:36',2,0),(2667,12,2667,'2021-12-14 12:59:37',2,0),(2668,12,2668,'2021-12-14 12:59:39',2,0),(2669,12,2669,'2021-12-14 12:59:40',2,0),(2670,12,2670,'2021-12-14 12:59:42',2,0),(2671,12,2671,'2021-12-14 12:59:43',2,0),(2672,12,2672,'2021-12-14 12:59:44',2,0),(2673,12,2673,'2021-12-14 12:59:46',2,0),(2674,12,2674,'2021-12-14 12:59:47',2,0),(2675,12,2675,'2021-12-14 12:59:49',2,0),(2676,12,2676,'2021-12-14 12:59:50',2,0),(2677,12,2677,'2021-12-14 12:59:51',2,0),(2678,12,2678,'2021-12-14 13:01:54',2,0),(2679,12,2679,'2021-12-14 13:02:58',2,0),(2680,12,2680,'2021-12-14 13:05:41',2,0),(2681,12,2681,'2021-12-14 13:39:22',2,0),(2682,12,2682,'2021-12-15 12:00:05',2,0),(2683,12,2683,'2021-12-15 12:25:45',2,0),(2684,12,2684,'2021-12-16 07:16:25',2,0),(2685,12,2685,'2021-12-16 07:16:57',2,0),(2686,12,2686,'2021-12-16 07:16:59',2,0),(2687,12,2687,'2021-12-16 07:17:00',2,0),(2688,12,2688,'2021-12-16 07:17:02',2,0),(2689,12,2689,'2021-12-16 07:17:04',2,0),(2690,12,2690,'2021-12-16 07:17:05',2,0),(2691,12,2691,'2021-12-16 07:17:07',2,0),(2692,12,2692,'2021-12-16 07:17:09',2,0),(2693,12,2693,'2021-12-16 07:17:10',2,0),(2694,12,2694,'2021-12-16 07:17:12',2,0),(2695,12,2695,'2021-12-16 07:17:14',2,0),(2696,12,2696,'2021-12-16 07:55:06',2,0),(2697,12,2697,'2021-12-16 07:59:36',2,0),(2698,12,2698,'2021-12-16 08:13:22',2,0),(2699,12,2699,'2021-12-16 08:14:37',2,0),(2700,12,2700,'2021-12-16 08:14:39',2,0),(2701,12,2701,'2021-12-16 08:14:40',2,0),(2702,12,2702,'2021-12-16 08:14:42',2,0),(2703,12,2703,'2021-12-16 08:14:43',2,0),(2704,12,2704,'2021-12-16 08:14:45',2,0),(2705,12,2705,'2021-12-16 08:14:46',2,0),(2706,12,2706,'2021-12-16 08:14:48',2,0),(2707,12,2707,'2021-12-16 08:14:49',2,0),(2708,12,2708,'2021-12-16 08:14:51',2,0),(2709,12,2709,'2021-12-16 08:14:52',2,0),(2710,12,2710,'2021-12-16 08:14:54',2,0),(2711,12,2711,'2021-12-16 08:14:55',2,0),(2712,12,2712,'2021-12-16 08:14:57',2,0),(2713,12,2713,'2021-12-16 08:14:59',2,0),(2714,12,2714,'2021-12-16 08:15:00',2,0),(2715,12,2715,'2021-12-16 08:15:02',2,0),(2716,12,2716,'2021-12-16 08:15:03',2,0),(2717,12,2717,'2021-12-16 08:15:05',2,0),(2718,12,2718,'2021-12-16 08:15:06',2,0),(2719,12,2719,'2021-12-16 08:15:08',2,0),(2720,12,2720,'2021-12-16 08:15:09',2,0),(2721,12,2721,'2021-12-16 08:15:11',2,0),(2722,12,2722,'2021-12-16 08:18:03',2,0),(2723,12,2723,'2021-12-16 08:27:09',2,0),(2724,12,2724,'2021-12-16 09:31:40',2,0),(2725,12,2725,'2021-12-16 09:35:35',2,0),(2726,12,2726,'2021-12-16 09:36:33',2,0),(2727,12,2727,'2021-12-16 09:36:35',2,0),(2728,12,2728,'2021-12-16 09:36:37',2,0),(2729,12,2729,'2021-12-16 09:36:38',2,0),(2730,12,2730,'2021-12-16 09:36:40',2,0),(2731,12,2731,'2021-12-16 09:36:41',2,0),(2732,12,2732,'2021-12-16 09:36:43',2,0),(2733,12,2733,'2021-12-16 09:36:45',2,0),(2734,12,2734,'2021-12-16 09:36:46',2,0),(2735,12,2735,'2021-12-16 09:36:47',2,0),(2736,12,2736,'2021-12-16 09:36:49',2,0),(2737,12,2737,'2021-12-16 09:36:50',2,0),(2738,12,2738,'2021-12-16 09:36:52',2,0),(2739,12,2739,'2021-12-16 09:36:54',2,0),(2740,12,2740,'2021-12-16 09:36:55',2,0),(2741,12,2741,'2021-12-16 09:36:57',2,0),(2742,12,2742,'2021-12-16 09:36:59',2,0),(2743,12,2743,'2021-12-16 09:37:00',2,0),(2744,12,2744,'2021-12-16 09:37:02',2,0),(2745,12,2745,'2021-12-16 09:37:04',2,0),(2746,12,2746,'2021-12-16 09:37:05',2,0),(2747,12,2747,'2021-12-16 09:37:07',2,0),(2748,12,2748,'2021-12-16 09:37:09',2,0),(2749,12,2749,'2021-12-16 09:38:43',2,0),(2750,12,2750,'2021-12-16 09:39:20',2,0),(2751,12,2751,'2021-12-16 09:39:22',2,0),(2752,12,2752,'2021-12-16 09:39:23',2,0),(2753,12,2753,'2021-12-16 09:39:25',2,0),(2754,12,2754,'2021-12-16 09:39:26',2,0),(2755,12,2755,'2021-12-16 09:39:28',2,0),(2756,12,2756,'2021-12-16 09:39:30',2,0),(2757,12,2757,'2021-12-16 09:39:31',2,0),(2758,12,2758,'2021-12-16 09:39:33',2,0),(2759,12,2759,'2021-12-16 09:39:34',2,0),(2760,12,2760,'2021-12-16 09:39:36',2,0),(2761,12,2761,'2021-12-16 09:39:38',2,0),(2762,12,2762,'2021-12-16 09:39:39',2,0),(2763,12,2763,'2021-12-16 09:39:41',2,0),(2764,12,2764,'2021-12-16 09:39:43',2,0),(2765,12,2765,'2021-12-16 09:39:44',2,0),(2766,12,2766,'2021-12-16 09:39:46',2,0),(2767,12,2767,'2021-12-16 09:39:47',2,0),(2768,12,2768,'2021-12-16 09:39:49',2,0),(2769,12,2769,'2021-12-16 09:39:50',2,0),(2770,12,2770,'2021-12-16 09:39:52',2,0),(2771,12,2771,'2021-12-16 09:39:53',2,0),(2772,12,2772,'2021-12-16 09:39:55',2,0),(2773,12,2773,'2021-12-16 10:42:13',2,0),(2774,12,2774,'2021-12-16 10:44:39',2,0),(2775,12,2775,'2021-12-16 10:44:41',2,0),(2776,12,2776,'2021-12-16 10:44:43',2,0),(2777,12,2777,'2021-12-16 10:44:44',2,0),(2778,12,2778,'2021-12-16 10:44:46',2,0),(2779,12,2779,'2021-12-16 10:44:47',2,0),(2780,12,2780,'2021-12-16 10:44:49',2,0),(2781,12,2781,'2021-12-16 10:44:51',2,0),(2782,12,2782,'2021-12-16 10:44:52',2,0),(2783,12,2783,'2021-12-16 10:44:54',2,0),(2784,12,2784,'2021-12-16 10:44:56',2,0),(2785,12,2785,'2021-12-16 11:20:47',2,0),(2786,12,2786,'2021-12-16 11:24:25',2,0),(2787,12,2787,'2021-12-16 11:34:59',2,0),(2788,12,2788,'2021-12-16 11:40:18',2,0),(2789,12,2789,'2021-12-16 11:40:51',2,0),(2790,12,2790,'2021-12-16 11:40:53',2,0),(2791,12,2791,'2021-12-16 11:40:54',2,0),(2792,12,2792,'2021-12-16 11:40:56',2,0),(2793,12,2793,'2021-12-16 11:40:57',2,0),(2794,12,2794,'2021-12-16 11:40:59',2,0),(2795,12,2795,'2021-12-16 11:41:00',2,0),(2796,12,2796,'2021-12-16 11:41:02',2,0),(2797,12,2797,'2021-12-16 11:41:04',2,0),(2798,12,2798,'2021-12-16 11:41:05',2,0),(2799,12,2799,'2021-12-16 11:41:07',2,0),(2800,12,2800,'2021-12-16 11:41:09',2,0),(2801,12,2801,'2021-12-16 11:41:10',2,0),(2802,12,2802,'2021-12-16 11:41:12',2,0),(2803,12,2803,'2021-12-16 11:41:13',2,0),(2804,12,2804,'2021-12-16 11:41:15',2,0),(2805,12,2805,'2021-12-16 11:41:16',2,0),(2806,12,2806,'2021-12-16 11:41:18',2,0),(2807,12,2807,'2021-12-16 11:41:19',2,0),(2808,12,2808,'2021-12-16 11:41:21',2,0),(2809,12,2809,'2021-12-16 11:41:22',2,0),(2810,12,2810,'2021-12-16 11:41:24',2,0),(2811,12,2811,'2021-12-16 11:41:26',2,0),(2812,12,2812,'2021-12-16 12:01:32',2,0),(2813,3,2813,'2022-01-11 05:31:27',4,0),(2814,12,2814,'2021-12-25 09:22:38',2,0),(2815,12,2815,'2021-12-27 13:25:23',2,0),(2816,12,2816,'2021-12-27 13:47:58',2,0),(2817,12,2817,'2021-12-28 10:43:49',2,0),(2818,12,2818,'2021-12-28 11:35:50',2,0),(2819,12,2819,'2021-12-28 11:43:33',2,0),(2820,12,2820,'2021-12-28 12:01:28',2,0),(2821,12,2821,'2021-12-28 12:33:52',2,0),(2822,12,2822,'2021-12-28 12:55:07',2,0),(2823,12,2823,'2021-12-28 12:58:34',2,0),(2824,12,2824,'2021-12-31 05:05:17',2,0),(2825,12,2825,'2022-01-06 05:21:41',2,0),(2826,12,2826,'2022-01-06 06:44:12',2,0),(2827,12,2827,'2022-01-09 11:59:14',2,0),(2828,12,2828,'2022-01-09 12:13:57',2,0),(2829,12,2829,'2022-01-09 12:26:53',2,0),(2830,3,2830,'2022-01-11 05:31:30',4,0),(2831,3,2831,'2022-01-11 05:31:58',4,0),(2832,3,2832,'2022-01-11 05:39:25',4,0),(2833,12,2833,'2022-01-12 12:21:14',2,0),(2834,12,2834,'2022-01-12 12:24:22',2,0),(2835,12,2835,'2022-01-19 07:44:07',2,0),(2836,12,2836,'2022-01-19 07:46:11',2,0),(2837,12,2837,'2022-01-19 07:47:52',2,0),(2838,12,2838,'2022-01-19 08:36:44',2,0),(2839,3,2839,'2022-01-19 14:04:56',4,0),(2840,3,2840,'2022-01-19 14:04:59',4,0),(2841,3,2841,'2022-01-20 06:06:55',4,0),(2842,12,2842,'2022-06-06 07:24:58',2,0),(2843,3,2843,'2022-08-16 02:44:59',4,0),(2844,3,2844,'2022-08-16 02:45:09',4,0),(2845,3,2845,'2022-08-16 02:45:18',4,0),(2846,3,2846,'2022-08-16 02:45:27',4,0),(2847,12,2847,'2022-08-03 18:56:56',2,0),(2848,12,2848,'2022-08-03 18:58:37',2,0),(2849,12,2849,'2022-08-03 18:59:45',2,0),(2850,12,2850,'2022-08-04 17:59:22',2,0),(2851,12,2851,'2022-08-05 11:44:44',2,0),(2852,12,2852,'2022-08-05 11:49:19',2,0),(2853,12,2853,'2022-08-05 11:52:11',2,0),(2854,12,2854,'2022-08-05 12:05:34',2,0),(2855,12,2855,'2022-08-07 10:00:26',2,0),(2856,12,2856,'2022-08-07 13:00:28',2,0),(2857,3,2857,'2022-08-16 02:45:36',4,0),(2858,3,2858,'2022-08-30 09:57:16',4,0),(2859,3,2859,'2022-08-30 09:57:33',4,0),(2860,3,2860,'2022-08-30 09:57:49',4,0),(2861,17,2861,'2022-08-23 01:18:20',2,0),(2862,12,2862,'2022-08-23 01:18:20',2,0),(2863,17,2863,'2022-08-24 13:41:41',2,0),(2864,12,2864,'2022-08-24 13:41:41',2,0),(2865,17,2865,'2022-08-25 12:19:34',2,0),(2866,12,2866,'2022-08-25 12:19:34',2,0),(2867,17,2867,'2022-08-25 12:21:47',2,0),(2868,12,2868,'2022-08-25 12:21:47',2,0),(2869,17,2869,'2022-08-25 12:27:06',2,0),(2870,12,2870,'2022-08-25 12:27:06',2,0),(2871,17,2871,'2022-08-25 12:31:32',2,0),(2872,12,2872,'2022-08-25 12:31:32',2,0),(2873,17,2873,'2022-08-29 08:53:43',2,0),(2874,12,2874,'2022-08-29 08:53:43',2,0),(2875,17,2875,'2022-08-29 08:59:43',2,0),(2876,12,2876,'2022-08-29 08:59:44',2,0),(2877,17,2877,'2022-08-29 08:59:51',2,0),(2878,12,2878,'2022-08-29 08:59:52',2,0),(2879,17,2879,'2022-08-29 09:03:12',2,0),(2880,12,2880,'2022-08-29 09:03:12',2,0),(2881,17,2881,'2022-08-29 09:04:59',2,0),(2882,12,2882,'2022-08-29 09:04:59',2,0),(2883,17,2883,'2022-08-29 09:05:08',2,0),(2884,12,2884,'2022-08-29 09:05:08',2,0),(2885,17,2885,'2022-08-29 09:56:49',2,0),(2886,12,2886,'2022-08-29 09:56:50',2,0),(2887,17,2887,'2022-08-29 09:56:59',2,0),(2888,12,2888,'2022-08-29 09:56:59',2,0),(2889,17,2889,'2022-08-29 10:00:26',2,0),(2890,12,2890,'2022-08-29 10:00:26',2,0),(2891,17,2891,'2022-08-29 10:00:34',2,0),(2892,12,2892,'2022-08-29 10:00:35',2,0),(2893,17,2893,'2022-08-29 10:45:16',2,0),(2894,12,2894,'2022-08-29 10:45:16',2,0),(2895,17,2895,'2022-08-29 10:45:23',2,0),(2896,12,2896,'2022-08-29 10:45:23',2,0),(2897,3,2897,'2022-08-30 09:58:05',4,0),(2898,3,2898,'2022-08-30 10:02:19',4,0),(2899,17,2899,'2022-08-30 10:04:20',2,0),(2900,12,2900,'2022-08-30 10:04:20',2,0),(2901,17,2901,'2022-08-30 10:04:28',2,0),(2902,12,2902,'2022-08-30 10:04:28',2,0),(2903,3,2903,'2022-08-30 10:05:45',4,0),(2904,3,2904,'2022-08-30 12:17:42',4,0),(2905,3,2905,'2022-08-30 13:26:33',3,0),(2906,3,2906,'2022-08-30 13:28:46',4,0),(2907,3,2907,'2022-08-30 16:29:59',3,0),(2908,3,2908,'2022-08-30 16:32:41',4,0),(2909,17,2909,'2022-09-05 10:13:24',2,0),(2910,12,2910,'2022-09-05 10:13:25',2,0),(2911,17,2911,'2022-09-05 10:15:39',2,0),(2912,12,2912,'2022-09-05 10:15:39',2,0),(2913,3,2913,'2022-09-19 11:44:32',4,0),(2914,3,2914,'2022-09-25 09:48:09',4,0);

--
-- Table structure for table `queue_poison_pill`
--

CREATE TABLE `queue_poison_pill` (
  `version` varchar(255) NOT NULL COMMENT 'Poison Pill version.'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Sequence table for poison pill versions';

--
-- Dumping data for table `queue_poison_pill`
--

INSERT INTO `queue_poison_pill` VALUES ('version-634216fc5aa8b');

--
-- Table structure for table `quote_address`
--

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

--
-- Dumping data for table `quote_address`
--

INSERT INTO `quote_address` VALUES (1,1,'2022-01-04 12:48:25','2022-01-04 12:48:25',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(2,1,'2022-01-04 12:48:25','2022-01-04 12:48:25',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,10.0000,357.0000,357.0000,357.0000,357.0000,54.0000,54.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,411.0000,411.0000,NULL,'{\"arebic\":{\"amount\":54,\"base_amount\":54,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,411.0000,411.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(6,2,'2022-01-06 05:18:42','2022-01-06 05:21:06',1,1,1,'shipping','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',NULL,'19970','SA','562086624',NULL,0,0,'tablerate_bestway','Best Way - Table Rate',10.0000,85.0000,85.0000,85.0000,85.0000,18.0000,18.0000,35.0000,35.0000,5.2500,5.2500,0.0000,0.0000,138.0000,138.0000,NULL,'{\"arebic\":{\"amount\":18,\"base_amount\":18,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"3\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,97.7500,97.7500,0.0000,0.0000,0.0000,NULL,40.2500,40.2500,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,999999.9999,999999.9999),(7,2,'2022-01-06 05:21:40','2022-01-06 05:21:40',1,NULL,NULL,'billing','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',NULL,'19970','SA','562086624',NULL,0,0,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(9,3,'2022-01-06 06:45:31','2022-01-09 11:58:46',1,0,1,'shipping','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',NULL,'19970','SA','562086624',NULL,0,0,'tablerate_bestway','Best Way - Table Rate',10.0000,290.0000,290.0000,290.0000,290.0000,48.7500,48.7500,35.0000,35.0000,5.2500,5.2500,0.0000,0.0000,373.7500,373.7500,NULL,'{\"arebic\":{\"amount\":48.75,\"base_amount\":48.75,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"7\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,333.5000,333.5000,0.0000,0.0000,0.0000,NULL,40.2500,40.2500,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(10,4,'2022-01-06 06:47:21','2022-01-06 06:47:21',1,0,NULL,'billing','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',NULL,'19970','SA','562086624',NULL,0,0,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(11,4,'2022-01-06 06:47:21','2022-01-06 06:47:21',1,0,1,'shipping','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',NULL,'19970','SA','562086624',NULL,0,0,'tablerate_bestway','Best Way - Table Rate',10.0000,85.0000,85.0000,85.0000,85.0000,18.0000,18.0000,35.0000,35.0000,5.2500,5.2500,0.0000,0.0000,138.0000,138.0000,NULL,'{\"arebic\":{\"amount\":18,\"base_amount\":18,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,97.7500,97.7500,0.0000,0.0000,0.0000,NULL,40.2500,40.2500,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(12,5,'2022-01-06 07:22:11','2022-01-06 07:22:11',1,0,1,'billing','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,NULL,'Jeddah','Riyadh Province',NULL,'19970','SA','00966562086624',NULL,0,0,NULL,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,NULL,'[]',NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(13,5,'2022-01-06 07:22:11','2022-01-06 07:22:11',1,0,1,'shipping','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,NULL,'Jeddah','Riyadh Province',NULL,'19970','SA','00966562086624',NULL,1,0,'freeshipping_freeshipping',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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(15,3,'2022-01-09 11:59:14','2022-01-09 11:59:14',1,0,1,'billing','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',NULL,'19970','SA','562086624',NULL,0,0,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(16,6,'2022-01-09 12:20:02','2022-01-09 12:26:54',1,0,1,'billing','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',0,'19970','SA','562086624',NULL,0,0,NULL,NULL,0.0000,50.0000,50.0000,50.0000,50.0000,7.5000,7.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,57.5000,57.5000,NULL,'{\"arebic\":{\"amount\":7.5,\"base_amount\":7.5,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"8\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,57.5000,57.5000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(17,6,'2022-01-09 12:20:02','2022-01-09 12:20:02',1,0,1,'shipping','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Jeddah','Riyadh Province',NULL,NULL,'SA','562086624',NULL,1,0,'freeshipping_freeshipping',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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(19,7,'2022-01-09 14:20:26','2022-06-06 07:24:38',2,1,2,'shipping','falduhaim@hoshangroup.com',NULL,'fai',NULL,'alduhaim',NULL,NULL,'اتتاتتاات','تنتننت',NULL,NULL,NULL,'SA','080808088',NULL,0,0,'tablerate_bestway','Best Way - Table Rate',0.0000,14100.0000,14100.0000,14100.0000,14100.0000,2125.5000,2125.5000,70.0000,70.0000,10.5000,10.5000,0.0000,0.0000,16295.5000,16295.5000,NULL,'{\"arebic\":{\"amount\":2125.5,\"base_amount\":2125.5,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"20\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,16215.0000,16215.0000,0.0000,0.0000,0.0000,NULL,80.5000,80.5000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,999999.9999,125415.0000),(20,8,'2022-01-11 08:52:15','2022-01-11 08:52:15',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(21,8,'2022-01-11 08:52:15','2022-01-11 08:52:15',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,10.0000,398.0000,398.0000,398.0000,398.0000,60.0000,60.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,458.0000,458.0000,NULL,'{\"arebic\":{\"amount\":60,\"base_amount\":60,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,458.0000,458.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(25,10,'2022-01-13 07:50:13','2022-01-13 07:50:13',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(26,10,'2022-01-13 07:50:13','2022-01-13 07:50:13',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,10.0000,9200.0000,9200.0000,9200.0000,9200.0000,1380.0000,1380.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,10580.0000,10580.0000,NULL,'{\"arebic\":{\"amount\":1380,\"base_amount\":1380,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"11\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,10580.0000,10580.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(36,9,'2022-01-19 07:42:24','2022-08-23 01:17:29',1,0,1,'shipping','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',0,'19970','SA','562086624',NULL,0,1,'flatrate_flatrate','Flat Rate - Fixed',10.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,0.0000,0.0000,0.0000,7245.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL),(53,13,'2022-04-10 12:22:45','2022-04-10 12:22:45',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(54,13,'2022-04-10 12:22:45','2022-04-10 12:22:45',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,10.0000,24000.0000,24000.0000,24000.0000,24000.0000,3600.0000,3600.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,27600.0000,27600.0000,NULL,'{\"arebic\":{\"amount\":3600,\"base_amount\":3600,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,27600.0000,27600.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(55,14,'2022-05-31 20:49:54','2022-05-31 20:49:54',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(56,14,'2022-05-31 20:49:54','2022-05-31 20:49:54',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,10.0000,24000.0000,24000.0000,24000.0000,24000.0000,3600.0000,3600.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,27600.0000,27600.0000,NULL,'{\"arebic\":{\"amount\":3600,\"base_amount\":3600,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"18\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,27600.0000,27600.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(59,7,'2022-06-06 07:24:58','2022-06-06 07:24:58',2,NULL,NULL,'billing','falduhaim@hoshangroup.com',NULL,'fai',NULL,'alduhaim',NULL,NULL,'اتتاتتاات','تنتننت',NULL,NULL,NULL,'SA','080808088',NULL,0,0,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(60,16,'2022-06-09 14:42:22','2022-06-09 14:42:22',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(61,16,'2022-06-09 14:42:22','2022-06-09 14:42:22',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,10.0000,410.0000,410.0000,410.0000,410.0000,62.0000,62.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,472.0000,472.0000,NULL,'{\"arebic\":{\"amount\":62,\"base_amount\":62,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,472.0000,472.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(62,17,'2022-06-22 09:02:49','2022-06-22 09:02:49',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(63,17,'2022-06-22 09:02:49','2022-06-22 09:02:49',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,10.0000,22700.0000,22700.0000,22700.0000,22700.0000,3405.0000,3405.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,26105.0000,26105.0000,NULL,'{\"arebic\":{\"amount\":3405,\"base_amount\":3405,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,26105.0000,26105.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(64,18,'2022-06-28 11:37:20','2022-06-28 11:37:20',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(65,18,'2022-06-28 11:37:20','2022-06-28 11:37:20',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0.0000,14100.0000,14100.0000,14100.0000,14100.0000,2115.0000,2115.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,16215.0000,16215.0000,NULL,'{\"arebic\":{\"amount\":2115,\"base_amount\":2115,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,16215.0000,16215.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(66,19,'2022-06-30 08:22:18','2022-06-30 08:22:18',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(67,19,'2022-06-30 08:22:18','2022-06-30 08:22:18',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0.0000,14100.0000,14100.0000,14100.0000,14100.0000,2115.0000,2115.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,16215.0000,16215.0000,NULL,'{\"arebic\":{\"amount\":2115,\"base_amount\":2115,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,16215.0000,16215.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(68,20,'2022-06-30 11:36:51','2022-06-30 11:36:51',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(69,20,'2022-06-30 11:36:51','2022-06-30 11:36:51',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,10.0000,24000.0000,24000.0000,24000.0000,24000.0000,3600.0000,3600.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,27600.0000,27600.0000,NULL,'{\"arebic\":{\"amount\":3600,\"base_amount\":3600,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"25\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,27600.0000,27600.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(70,21,'2022-07-05 13:11:47','2022-07-05 13:11:47',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(71,21,'2022-07-05 13:11:47','2022-07-05 13:11:47',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,10.0000,6300.0000,6300.0000,6300.0000,6300.0000,945.0000,945.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,7245.0000,7245.0000,NULL,'{\"arebic\":{\"amount\":945,\"base_amount\":945,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,7245.0000,7245.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(72,22,'2022-07-19 12:26:32','2022-07-19 12:26:32',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(73,22,'2022-07-19 12:26:32','2022-07-19 12:26:32',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,20.0000,6710.0000,6710.0000,6710.0000,6710.0000,1007.0000,1007.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,7717.0000,7717.0000,NULL,'{\"arebic\":{\"amount\":1007,\"base_amount\":1007,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"27\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,7717.0000,7717.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(74,23,'2022-07-24 11:40:10','2022-07-24 11:40:10',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(75,23,'2022-07-24 11:40:10','2022-07-24 11:40:10',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,10.0000,16900.0000,16900.0000,16900.0000,16900.0000,2535.0000,2535.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,19435.0000,19435.0000,NULL,'{\"arebic\":{\"amount\":2535,\"base_amount\":2535,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"29\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,19435.0000,19435.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(78,25,'2022-07-28 01:23:58','2022-07-28 01:23:58',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(79,25,'2022-07-28 01:23:59','2022-07-28 01:23:59',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,10.0000,38100.0000,38100.0000,38100.0000,38100.0000,5715.0000,5715.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,43815.0000,43815.0000,NULL,'{\"arebic\":{\"amount\":5715,\"base_amount\":5715,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"34\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,43815.0000,43815.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(95,29,'2022-08-04 17:30:00','2022-08-04 17:30:00',3,0,4,'billing','12test12@mailinator.com',NULL,'test',NULL,'test',NULL,NULL,'aljawhara','Jeddah',NULL,0,NULL,'SA','507876277',NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(96,29,'2022-08-04 17:30:00','2022-08-04 17:30:00',3,0,4,'shipping','12test12@mailinator.com',NULL,'test',NULL,'test',NULL,NULL,'aljawhara','Jeddah',NULL,NULL,NULL,'SA','507876277',NULL,1,0,'freeshipping_freeshipping',NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(97,30,'2022-08-04 17:42:54','2022-08-04 17:42:54',3,0,4,'billing','12test12@mailinator.com',NULL,'test',NULL,'test',NULL,NULL,'aljawhara','Jeddah',NULL,0,NULL,'SA','507876277',NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(98,30,'2022-08-04 17:42:54','2022-08-04 17:42:54',3,0,4,'shipping','12test12@mailinator.com',NULL,'test',NULL,'test',NULL,NULL,'aljawhara','Jeddah',NULL,NULL,NULL,'SA','507876277',NULL,1,0,'freeshipping_freeshipping',NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(99,31,'2022-08-04 17:43:00','2022-08-04 17:59:23',3,0,4,'billing','12test12@mailinator.com',NULL,'test',NULL,'test',NULL,NULL,'aljawhara','Dammam',NULL,0,NULL,'SA','507876277',NULL,0,0,NULL,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,NULL,'[]',NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(100,31,'2022-08-04 17:43:00','2022-08-04 17:59:22',3,0,4,'shipping','12test12@mailinator.com',NULL,'test test',NULL,'test test',NULL,NULL,'aljawhara','Jeddah',NULL,NULL,NULL,'SA','507876277',NULL,1,0,'freeshipping_freeshipping',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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(101,32,'2022-08-04 20:20:26','2022-08-04 20:20:26',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(102,32,'2022-08-04 20:20:26','2022-08-04 20:20:26',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,40.0000,46220.0000,46220.0000,46220.0000,46220.0000,6933.0000,6933.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,53153.0000,53153.0000,NULL,'{\"arebic\":{\"amount\":6933,\"base_amount\":6933,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"48\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,53153.0000,53153.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(107,34,'2022-08-05 11:34:09','2022-08-05 11:34:09',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(108,34,'2022-08-05 11:34:09','2022-08-05 11:34:09',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(115,33,'2022-08-05 12:04:14','2022-08-05 12:05:10',4,0,5,'shipping','aftabahmad492@gmail.com',NULL,'aftab',NULL,'alika',NULL,NULL,'office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore',NULL,0,NULL,'SA','402830033',NULL,0,1,'flatrate_flatrate','Flat Rate - Fixed',20.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,0.0000,0.0000,0.0000,34845.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(117,36,'2022-08-06 16:10:43','2022-08-06 16:10:43',3,0,4,'billing','12test12@mailinator.com',NULL,'test',NULL,'test',NULL,NULL,'aljawhara','Jeddah',NULL,0,NULL,'SA','507876277',NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(118,36,'2022-08-06 16:10:43','2022-08-06 16:10:43',3,0,4,'shipping','12test12@mailinator.com',NULL,'test',NULL,'test',NULL,NULL,'aljawhara','Jeddah',NULL,NULL,NULL,'SA','507876277',NULL,1,0,'freeshipping_freeshipping',NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(123,37,'2022-08-07 08:00:36','2022-08-07 08:00:36',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(124,37,'2022-08-07 08:00:36','2022-08-07 08:00:36',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,20.0000,11100.0000,11100.0000,11100.0000,11100.0000,1665.0000,1665.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,12765.0000,12765.0000,NULL,'{\"arebic\":{\"amount\":1665,\"base_amount\":1665,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"60\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,12765.0000,12765.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(129,33,'2022-08-07 10:00:26','2022-08-07 10:00:26',4,NULL,5,'billing','aftabahmad492@gmail.com',NULL,'aftab',NULL,'alika',NULL,NULL,'office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore',NULL,NULL,NULL,'SA','402830033',NULL,0,0,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(132,40,'2022-08-07 11:24:03','2022-08-07 11:24:03',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(133,40,'2022-08-07 11:24:03','2022-08-07 11:24:03',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(139,42,'2022-08-08 00:04:48','2022-08-08 00:04:48',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(140,42,'2022-08-08 00:04:48','2022-08-08 00:04:48',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,10.0000,24000.0000,24000.0000,24000.0000,24000.0000,3600.0000,3600.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,27600.0000,27600.0000,NULL,'{\"arebic\":{\"amount\":3600,\"base_amount\":3600,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":\"70\",\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,27600.0000,27600.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(141,43,'2022-08-09 11:35:37','2022-08-09 11:35:37',4,0,5,'billing','aftabahmad492@gmail.com',NULL,'aftab',NULL,'alika',NULL,NULL,'office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','Jeddah',NULL,0,NULL,'SA','561352183',NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(142,43,'2022-08-09 11:35:37','2022-08-09 11:35:37',4,0,5,'shipping','aftabahmad492@gmail.com',NULL,'aftab',NULL,'alika',NULL,NULL,'office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','Jeddah',NULL,NULL,NULL,'SA','561352183',NULL,1,0,'freeshipping_freeshipping',NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(143,44,'2022-08-10 20:44:34','2022-08-10 20:44:34',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(144,44,'2022-08-10 20:44:34','2022-08-10 20:44:34',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,10.0000,22700.0000,22700.0000,18160.0000,18160.0000,2724.0000,2724.0000,0.0000,0.0000,0.0000,0.0000,-4540.0000,-4540.0000,20884.0000,20884.0000,NULL,'{\"arebic\":{\"amount\":2724,\"base_amount\":2724,\"percent\":15,\"id\":\"arebic\",\"rates\":[{\"percent\":15,\"code\":\"arebic\",\"title\":\"Tax\"}],\"item_id\":null,\"item_type\":\"product\",\"associated_item_id\":null,\"process\":0}}',NULL,0.0000,0.0000,26105.0000,26105.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL),(146,45,'2022-08-22 08:44:05','2022-09-05 10:15:22',7,0,6,'shipping','mohammad.shabaan@gmail.com',NULL,'mohamed',NULL,'shaban',NULL,NULL,'moha','shatq',NULL,0,NULL,'SA','900255592',NULL,0,1,'flatrate_flatrate','Flat Rate - Fixed',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,0.0000,0.0000,0.0000,16215.0000,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL),(149,9,'2022-08-23 01:18:20','2022-08-23 01:18:20',1,NULL,1,'billing','m.amer81993@gmail.com',NULL,'Mohamed',NULL,'Amer',NULL,NULL,'Quai','Al-Quwaiyah','Riyadh Province',NULL,'19970','SA','562086624',NULL,0,0,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(167,50,'2022-08-29 09:29:48','2022-08-29 09:29:48',NULL,0,NULL,'billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(168,50,'2022-08-29 09:29:48','2022-08-29 09:29:48',NULL,0,NULL,'shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(182,45,'2022-09-05 10:15:39','2022-09-05 10:15:39',7,NULL,6,'billing','mohammad.shabaan@gmail.com',NULL,'mohamed',NULL,'shaban',NULL,NULL,'moha','shatq',NULL,NULL,NULL,'SA','900255592',NULL,0,0,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(183,15,'2022-09-26 07:40:00','2022-09-26 07:40:00',3,0,NULL,'billing','12test12@mailinator.com',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(184,15,'2022-09-26 07:40:00','2022-09-26 07:40:00',3,0,NULL,'shipping','12test12@mailinator.com',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,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,NULL,'null',NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL);

--
-- Table structure for table `quote_address_item`
--

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

--
-- Dumping data for table `quote_address_item`
--


--
-- Table structure for table `quote_id_mask`
--

CREATE TABLE `quote_id_mask` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `quote_id` int(10) unsigned NOT NULL COMMENT 'Quote ID',
  `masked_id` varchar(32) DEFAULT NULL COMMENT 'Masked ID',
  PRIMARY KEY (`entity_id`,`quote_id`),
  KEY `QUOTE_ID_MASK_QUOTE_ID` (`quote_id`),
  KEY `QUOTE_ID_MASK_MASKED_ID` (`masked_id`),
  CONSTRAINT `QUOTE_ID_MASK_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8 COMMENT='Quote ID and masked ID mapping';

--
-- Dumping data for table `quote_id_mask`
--

INSERT INTO `quote_id_mask` VALUES (8,14,'0fXTPxJlS7JVVOJV2wbhd8pHHJpW9sql'),(26,37,'29PzLyMRWL4IGOABvjkYxMJbmegq3W9u'),(2,2,'2IKXb90N3SaEweCQhtVSNfyrKBCxGGA6'),(12,19,'2oTBrAyZh3kjvfNetSSlIqw9TwGEfyyk'),(16,23,'4wDPcgJe8HRTQtj0ipr0XwQA1SHHB04q'),(15,22,'7ToWGgwIbc8tJrvogCTQCJEFnDqQ605e'),(32,44,'7xPVpmnepJf4UwlpnxskDOYI9CXRnFDi'),(4,10,'8MxVdWFR4zldDwBMZoe2LmFEbY3S0oQF'),(9,16,'G7bZefXgCJHcxdCnIvRsvHVLrcISNKF6'),(14,21,'HTQuFDkj0pPDSEVITo4Z7aVpPXjGHhsK'),(3,8,'IR6KZGK2zfCQ8T5zcY9LEhZAqbekdcii'),(13,20,'KzSOCCSTIjOSAjFn7nF7BzkqlVuONIPa'),(7,13,'lEEFrZ5h4afCW9aa9pAUGyp4FQ9YxiW7'),(29,40,'obXo2sbpsslgXSU641L8y1n3paYFO28E'),(11,18,'pUreJmNzDJ5ayRVu7GYFkBInSkCPj9WX'),(10,17,'QjLaTR4AL0ApZgDHWaya052C9Femaz1O'),(18,25,'sa8pNLfhn2Zd0Y5Obv7lGvDkKv7fRZ75'),(31,42,'SOLE88D1aoUnqQgsZDA5CBeA0wp1TOgY'),(36,50,'tiNxMTt5m9Y7kSwlcPzbmwYCtCEsPkdr'),(1,1,'ToV6sToyqV9dFlhX9iElDx5xXxeA4KcQ'),(25,15,'toZZYTru6EqC59K32H4wyYiOAD3wcA1R'),(33,45,'Tys3Ydm4yaQMV6OHZhAKSodv4lofRyfH'),(23,33,'U20ouEOd3DLQEiHiJ3gsprvLwbo8p08m'),(22,32,'WM1ShtjtxreUT6zwlWqPjHv9NQyMK4gQ');

--
-- Table structure for table `quote_item`
--

CREATE TABLE `quote_item` (
  `item_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Item ID',
  `quote_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quote ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `parent_item_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent Item ID',
  `is_virtual` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Virtual',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `description` text COMMENT 'Description',
  `applied_rule_ids` text COMMENT 'Applied Rule Ids',
  `additional_data` text COMMENT 'Additional Data',
  `is_qty_decimal` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Qty Decimal',
  `no_discount` smallint(5) unsigned DEFAULT '0' COMMENT 'No Discount',
  `weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Weight',
  `qty` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Qty',
  `price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `base_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Base Price',
  `custom_price` decimal(12,4) DEFAULT NULL COMMENT 'Custom Price',
  `discount_percent` decimal(12,4) DEFAULT '0.0000' COMMENT 'Discount Percent',
  `discount_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Discount Amount',
  `base_discount_amount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Base Discount Amount',
  `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',
  `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_total_with_discount` decimal(20,4) DEFAULT '0.0000' COMMENT 'Row Total With Discount',
  `row_weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Weight',
  `product_type` varchar(255) DEFAULT NULL COMMENT 'Product Type',
  `base_tax_before_discount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Before Discount',
  `tax_before_discount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Before Discount',
  `original_custom_price` decimal(12,4) DEFAULT NULL COMMENT 'Original Custom Price',
  `redirect_url` varchar(255) DEFAULT NULL COMMENT 'Redirect Url',
  `base_cost` decimal(12,4) DEFAULT NULL COMMENT 'Base Cost',
  `price_incl_tax` decimal(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',
  `gift_message_id` int(11) DEFAULT NULL COMMENT 'Gift Message ID',
  `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',
  PRIMARY KEY (`item_id`),
  KEY `QUOTE_ITEM_PARENT_ITEM_ID` (`parent_item_id`),
  KEY `QUOTE_ITEM_PRODUCT_ID` (`product_id`),
  KEY `QUOTE_ITEM_QUOTE_ID` (`quote_id`),
  KEY `QUOTE_ITEM_STORE_ID` (`store_id`),
  CONSTRAINT `QUOTE_ITEM_PARENT_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`parent_item_id`) REFERENCES `quote_item` (`item_id`) ON DELETE CASCADE,
  CONSTRAINT `QUOTE_ITEM_QUOTE_ID_QUOTE_ENTITY_ID` FOREIGN KEY (`quote_id`) REFERENCES `quote` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `QUOTE_ITEM_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Item';

--
-- Dumping data for table `quote_item`
--

INSERT INTO `quote_item` VALUES (1,1,'2022-01-04 12:48:25','2022-01-04 12:48:25',798,1,NULL,0,'20119024','Lexmark 78C5XY0 Yellow Toner',NULL,NULL,NULL,0,0,10.0000,1.0000,357.0000,357.0000,NULL,0.0000,0.0000,0.0000,15.0000,54.0000,54.0000,357.0000,357.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,411.0000,411.0000,411.0000,411.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,2,'2022-01-06 05:18:48','2022-01-06 05:21:06',767,1,NULL,0,'201190168','Sharp MX-B20FT1 Black Toner',NULL,NULL,NULL,0,0,10.0000,1.0000,85.0000,85.0000,NULL,0.0000,0.0000,0.0000,15.0000,12.7500,12.7500,85.0000,85.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,97.7500,97.7500,97.7500,97.7500,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,4,'2022-01-06 06:47:21','2022-01-06 06:47:21',767,1,NULL,0,'201190168','Sharp MX-B20FT1 Black Toner',NULL,NULL,NULL,0,0,10.0000,1.0000,85.0000,85.0000,NULL,0.0000,0.0000,0.0000,15.0000,12.7500,12.7500,85.0000,85.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,97.7500,97.7500,97.7500,97.7500,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,5,'2022-01-06 07:22:11','2022-01-06 07:22:11',322,1,NULL,1,'service-plan-type-1','Print Pack Pro',NULL,NULL,NULL,0,0,NULL,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,15.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,'virtual',NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,3,'2022-01-09 11:58:33','2022-01-09 11:58:46',757,1,NULL,0,'2011900192','Konica Minolta Yellow Toner for MC1600 Series',NULL,NULL,NULL,0,0,10.0000,1.0000,290.0000,290.0000,NULL,0.0000,0.0000,0.0000,15.0000,43.5000,43.5000,290.0000,290.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,333.5000,333.5000,333.5000,333.5000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,6,'2022-01-09 12:20:02','2022-01-09 12:26:53',321,1,NULL,1,'service-call-type-1','Service Call Type 1',NULL,NULL,NULL,0,0,NULL,1.0000,50.0000,50.0000,NULL,0.0000,0.0000,0.0000,15.0000,7.5000,7.5000,50.0000,50.0000,0.0000,0.0000,'virtual',NULL,NULL,NULL,NULL,NULL,57.5000,57.5000,57.5000,57.5000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,8,'2022-01-11 08:52:15','2022-01-11 08:52:15',799,1,NULL,0,'20119025','Lexmark 78C5XK0 Black Toner',NULL,NULL,NULL,0,0,10.0000,1.0000,398.0000,398.0000,NULL,0.0000,0.0000,0.0000,15.0000,60.0000,60.0000,398.0000,398.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,20.0000,458.0000,458.0000,458.0000,458.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(11,10,'2022-01-13 07:50:13','2022-01-13 07:59:57',829,1,NULL,0,'20109002','26 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,9200.0000,9200.0000,NULL,0.0000,0.0000,0.0000,15.0000,1380.0000,1380.0000,9200.0000,9200.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,10580.0000,10580.0000,10580.0000,10580.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,13,'2022-04-10 12:22:45','2022-04-10 12:22:45',929,1,NULL,0,'201090013','26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,24000.0000,24000.0000,NULL,0.0000,0.0000,0.0000,15.0000,3600.0000,3600.0000,24000.0000,24000.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,27600.0000,27600.0000,27600.0000,27600.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(18,14,'2022-05-31 20:49:54','2022-05-31 20:52:55',929,2,NULL,0,'201090013','طابعة A4 / A3 ملونة متعددة الوظائف بسرعة 26 صفحة في الدقيقة مع مدخل شبكة',NULL,NULL,NULL,0,0,10.0000,1.0000,24000.0000,24000.0000,NULL,0.0000,0.0000,0.0000,15.0000,3600.0000,3600.0000,24000.0000,24000.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,27600.0000,27600.0000,27600.0000,27600.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(20,7,'2022-06-06 07:22:46','2022-06-06 07:22:46',936,1,NULL,0,'2010900156','33 Prints Per Minute A4 Colour Multifunction Printer With Network',NULL,NULL,NULL,0,0,NULL,1.0000,14100.0000,14100.0000,NULL,0.0000,0.0000,0.0000,15.0000,2115.0000,2115.0000,14100.0000,14100.0000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,16215.0000,16215.0000,16215.0000,16215.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,16,'2022-06-09 14:42:22','2022-06-09 14:42:22',794,1,NULL,0,'20119001110','Konica Minolta TN228C Cyan Toner',NULL,NULL,NULL,0,0,10.0000,1.0000,410.0000,410.0000,NULL,0.0000,0.0000,0.0000,15.0000,62.0000,62.0000,410.0000,410.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,472.0000,472.0000,472.0000,472.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(22,17,'2022-06-22 09:02:49','2022-06-22 09:02:49',930,1,NULL,0,'2010900158','22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,22700.0000,22700.0000,NULL,0.0000,0.0000,0.0000,15.0000,3405.0000,3405.0000,22700.0000,22700.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,26105.0000,26105.0000,26105.0000,26105.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(23,18,'2022-06-28 11:37:20','2022-06-28 11:37:20',936,1,NULL,0,'2010900156','33 Prints Per Minute A4 Colour Multifunction Printer With Network',NULL,NULL,NULL,0,0,NULL,1.0000,14100.0000,14100.0000,NULL,0.0000,0.0000,0.0000,15.0000,2115.0000,2115.0000,14100.0000,14100.0000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,16215.0000,16215.0000,16215.0000,16215.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(24,19,'2022-06-30 08:22:18','2022-06-30 08:22:18',936,1,NULL,0,'2010900156','33 Prints Per Minute A4 Colour Multifunction Printer With Network',NULL,NULL,NULL,0,0,NULL,1.0000,14100.0000,14100.0000,NULL,0.0000,0.0000,0.0000,15.0000,2115.0000,2115.0000,14100.0000,14100.0000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,16215.0000,16215.0000,16215.0000,16215.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(25,20,'2022-06-30 11:36:51','2022-06-30 11:43:35',929,2,NULL,0,'201090013','طابعة A4 / A3 ملونة متعددة الوظائف بسرعة 26 صفحة في الدقيقة مع مدخل شبكة',NULL,NULL,NULL,0,0,10.0000,1.0000,24000.0000,24000.0000,NULL,0.0000,0.0000,0.0000,15.0000,3600.0000,3600.0000,24000.0000,24000.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,27600.0000,27600.0000,27600.0000,27600.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(26,21,'2022-07-05 13:11:47','2022-07-05 13:11:47',924,1,NULL,0,'2010901131','28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,6300.0000,6300.0000,NULL,0.0000,0.0000,0.0000,15.0000,945.0000,945.0000,6300.0000,6300.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,7245.0000,7245.0000,7245.0000,7245.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(27,22,'2022-07-19 12:26:32','2022-07-19 12:26:32',924,1,NULL,0,'2010901131','28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,6300.0000,6300.0000,NULL,0.0000,0.0000,0.0000,15.0000,945.0000,945.0000,6300.0000,6300.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,7245.0000,7245.0000,7245.0000,7245.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(28,22,'2022-07-19 12:28:55','2022-07-19 12:28:55',794,1,NULL,0,'20119001110','Konica Minolta TN228C Cyan Toner',NULL,NULL,NULL,0,0,10.0000,1.0000,410.0000,410.0000,NULL,0.0000,0.0000,0.0000,15.0000,62.0000,62.0000,410.0000,410.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,472.0000,472.0000,472.0000,472.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(29,23,'2022-07-24 11:40:10','2022-07-24 11:40:10',936,1,NULL,0,'2010900156','33 Prints Per Minute A4 Colour Multifunction Printer With Network',NULL,NULL,NULL,0,0,NULL,1.0000,14100.0000,14100.0000,NULL,0.0000,0.0000,0.0000,15.0000,2115.0000,2115.0000,14100.0000,14100.0000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,16215.0000,16215.0000,16215.0000,16215.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(30,23,'2022-07-24 11:41:05','2022-07-24 11:41:05',932,1,NULL,0,'20109022','33 Prints Per Minute A4 Colour Multifunction Printer with Network',NULL,NULL,NULL,0,0,10.0000,1.0000,2800.0000,2800.0000,NULL,0.0000,0.0000,0.0000,15.0000,420.0000,420.0000,2800.0000,2800.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,3220.0000,3220.0000,3220.0000,3220.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(34,25,'2022-07-28 01:23:59','2022-07-28 01:23:59',936,1,NULL,0,'2010900156','33 Prints Per Minute A4 Colour Multifunction Printer With Network',NULL,NULL,NULL,0,0,NULL,1.0000,14100.0000,14100.0000,NULL,0.0000,0.0000,0.0000,15.0000,2115.0000,2115.0000,14100.0000,14100.0000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,16215.0000,16215.0000,16215.0000,16215.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(35,25,'2022-07-28 01:24:25','2022-07-28 01:24:25',929,1,NULL,0,'201090013','26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,24000.0000,24000.0000,NULL,0.0000,0.0000,0.0000,15.0000,3600.0000,3600.0000,24000.0000,24000.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,27600.0000,27600.0000,27600.0000,27600.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(44,29,'2022-08-04 17:30:00','2022-08-04 17:30:00',321,1,NULL,1,'service-call-type-1','Service Call Type 1',NULL,NULL,NULL,0,0,NULL,1.0000,50.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,'virtual',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(45,30,'2022-08-04 17:42:54','2022-08-04 17:42:54',322,1,NULL,1,'service-plan-type-1','Print Pack Pro',NULL,NULL,NULL,0,0,NULL,1.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,'virtual',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(46,31,'2022-08-04 17:43:00','2022-08-04 17:59:22',322,1,NULL,1,'service-plan-type-1','Print Pack Pro',NULL,NULL,NULL,0,0,NULL,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,15.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,'virtual',NULL,NULL,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(48,32,'2022-08-04 20:20:26','2022-08-04 20:54:52',930,1,NULL,0,'2010900158','22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,2.0000,22700.0000,22700.0000,NULL,0.0000,0.0000,0.0000,15.0000,6810.0000,6810.0000,45400.0000,45400.0000,0.0000,20.0000,'simple',NULL,NULL,NULL,NULL,NULL,26105.0000,26105.0000,52210.0000,52210.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(51,32,'2022-08-04 20:55:24','2022-08-04 20:55:32',794,1,NULL,0,'20119001110','Konica Minolta TN228C Cyan Toner',NULL,NULL,NULL,0,0,10.0000,2.0000,410.0000,410.0000,NULL,0.0000,0.0000,0.0000,15.0000,123.0000,123.0000,820.0000,820.0000,0.0000,20.0000,'simple',NULL,NULL,NULL,NULL,NULL,472.0000,472.0000,943.0000,943.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(57,36,'2022-08-06 16:10:43','2022-08-06 16:10:43',321,1,NULL,1,'service-call-type-1','Service Call Type 1',NULL,NULL,NULL,0,0,NULL,1.0000,50.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,'virtual',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(60,37,'2022-08-07 08:00:36','2022-08-07 08:00:36',924,1,NULL,0,'2010901131','28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,6300.0000,6300.0000,NULL,0.0000,0.0000,0.0000,15.0000,945.0000,945.0000,6300.0000,6300.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,7245.0000,7245.0000,7245.0000,7245.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(61,37,'2022-08-07 08:03:31','2022-08-07 08:03:31',925,1,NULL,0,'2010900153','40 Prints Per Minute A4 Black Printer With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,4800.0000,4800.0000,NULL,0.0000,0.0000,0.0000,15.0000,720.0000,720.0000,4800.0000,4800.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,5520.0000,5520.0000,5520.0000,5520.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(70,42,'2022-08-08 00:04:48','2022-08-08 00:05:05',929,1,NULL,0,'201090013','26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',NULL,NULL,NULL,0,0,10.0000,1.0000,24000.0000,24000.0000,NULL,0.0000,0.0000,0.0000,15.0000,3600.0000,3600.0000,24000.0000,24000.0000,0.0000,10.0000,'simple',NULL,NULL,NULL,NULL,NULL,27600.0000,27600.0000,27600.0000,27600.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(71,43,'2022-08-09 11:35:37','2022-08-09 11:35:37',321,1,NULL,1,'service-call-type-1','Service Call Type 1',NULL,NULL,NULL,0,0,NULL,1.0000,50.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,'virtual',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(72,44,'2022-08-10 20:44:34','2022-08-10 20:44:34',930,1,NULL,0,'2010900158','22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',NULL,'9,10',NULL,0,0,10.0000,1.0000,22700.0000,22700.0000,NULL,20.0000,4540.0000,4540.0000,15.0000,2724.0000,2724.0000,22700.0000,22700.0000,0.0000,0.0000,'simple',NULL,NULL,NULL,NULL,NULL,26105.0000,26105.0000,26105.0000,26105.0000,0.0000,0.0000,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `quote_item_option`
--

CREATE TABLE `quote_item_option` (
  `option_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Option ID',
  `item_id` int(10) unsigned NOT NULL COMMENT 'Item ID',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID',
  `code` varchar(255) NOT NULL COMMENT 'Code',
  `value` text COMMENT 'Value',
  PRIMARY KEY (`option_id`),
  KEY `QUOTE_ITEM_OPTION_ITEM_ID` (`item_id`),
  CONSTRAINT `QUOTE_ITEM_OPTION_ITEM_ID_QUOTE_ITEM_ITEM_ID` FOREIGN KEY (`item_id`) REFERENCES `quote_item` (`item_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Item Option';

--
-- Dumping data for table `quote_item_option`
--

INSERT INTO `quote_item_option` VALUES (1,1,798,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9zdGctcnVoLndvcnguc2EvdG9uZXJzLmh0bWw,\",\"product\":\"798\",\"qty\":1}'),(3,3,767,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9zdGctcnVoLndvcnguc2EvdG9uZXJzLmh0bWw_cD0z\",\"product\":\"767\",\"qty\":1}'),(4,4,767,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9zdGctcnVoLndvcnguc2EvdG9uZXJzLmh0bWw_cD0z\",\"product\":\"767\",\"qty\":\"1.0000\"}'),(5,5,322,'info_buyRequest','{\"qty\":1}'),(7,7,757,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9zdGctcnVoLndvcnguc2EvdG9uZXJzLmh0bWw_cD00\",\"product\":\"757\",\"qty\":1}'),(8,8,321,'info_buyRequest','{\"qty\":1}'),(9,9,799,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9zdGctcnVoLndvcnguc2EvdG9uZXJzLmh0bWw,\",\"product\":\"799\",\"qty\":1}'),(11,11,829,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9zdGctcnVoLndvcnguc2EvYml6aHViLTI2NmkuaHRtbA,,\",\"product\":\"829\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"829\",\"qty\":\"1\"}'),(17,17,929,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhLw,,\",\"product\":\"929\",\"qty\":1}'),(18,18,929,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvYml6aHViLWMyNjZpLmh0bWw,\",\"product\":\"929\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"929\",\"qty\":\"1\"}'),(20,20,936,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvYml6aHViLWMzMzIwaS1hNC1jb2xvdXItbXVsdGlmdW5jdGlvbi1wcmludGVyLXdpdGgtbmV0d29yay1hbmQtaGlnaC1zdGFuZC5odG1s\",\"product\":\"936\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"936\",\"qty\":\"1\"}'),(21,21,794,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvdG9uZXJzLmh0bWw,\",\"product\":\"794\",\"qty\":1}'),(22,22,930,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvY29waWVycy1wcmludGVycy5odG1s\",\"product\":\"930\",\"qty\":1}'),(23,23,936,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvcHJpbnRlcnMuaHRtbA,,\",\"product\":\"936\",\"qty\":1}'),(24,24,936,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvcHJpbnRlcnMuaHRtbA,,\",\"product\":\"936\",\"qty\":1}'),(25,25,929,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvYml6aHViLWMyNjZpLmh0bWw,\",\"product\":\"929\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"929\",\"qty\":\"1\"}'),(26,26,924,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhLw,,\",\"product\":\"924\",\"qty\":1}'),(27,27,924,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvc2hhcnAtYnAtMjBtMjguaHRtbA,,\",\"product\":\"924\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"924\",\"qty\":\"1\"}'),(28,28,794,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQva20tdG9uZXItdG4yMjhjLmh0bWw,\",\"product\":\"794\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"794\",\"options\":{\"305\":\"\"},\"qty\":\"1\"}'),(29,29,936,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvcHJpbnRlcnMuaHRtbA,,\",\"product\":\"936\",\"qty\":1}'),(30,30,932,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvcHJpbnRlcnMuaHRtbA,,\",\"product\":\"932\",\"qty\":1}'),(34,34,936,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvcHJpbnRlcnMuaHRtbA,,\",\"product\":\"936\",\"qty\":1}'),(35,35,929,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQv\",\"product\":\"929\",\"qty\":1}'),(44,44,321,'info_buyRequest','{\"qty\":1}'),(45,45,322,'info_buyRequest','{\"qty\":1}'),(46,46,322,'info_buyRequest','{\"qty\":1}'),(48,48,930,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvYml6aHViLWMyMjZpLmh0bWw,\",\"product\":\"930\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"930\",\"qty\":\"1\"}'),(51,51,794,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvYml6aHViLWMyNjZpLmh0bWw,\",\"product\":\"794\",\"qty\":1}'),(57,57,321,'info_buyRequest','{\"qty\":1}'),(60,60,924,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhLw,,\",\"product\":\"924\",\"qty\":1}'),(61,61,925,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhL2RlZmF1bHQvcHJpbnRlcnMuaHRtbD9wcm9kdWN0X2xpc3Rfb3JkZXI9aGlnaF90b19sb3c,\",\"product\":\"925\",\"qty\":1}'),(70,70,929,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vZmZpY2V0ZWNoLnNhLw,,\",\"product\":\"929\",\"qty\":1}'),(71,71,321,'info_buyRequest','{\"qty\":1}'),(72,72,930,'info_buyRequest','{\"uenc\":\"aHR0cHM6Ly9vcHMuZG90LXplcm9uZS5jb20vZGVmYXVsdC9jb3BpZXJzLXByaW50ZXJzLmh0bWw,\",\"product\":\"930\",\"qty\":1}');

--
-- Table structure for table `quote_shipping_rate`
--

CREATE TABLE `quote_shipping_rate` (
  `rate_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Rate ID',
  `address_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Address ID',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Created At',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Updated At',
  `carrier` varchar(255) DEFAULT NULL COMMENT 'Carrier',
  `carrier_title` varchar(255) DEFAULT NULL COMMENT 'Carrier Title',
  `code` varchar(255) DEFAULT NULL COMMENT 'Code',
  `method` varchar(255) DEFAULT NULL COMMENT 'Method',
  `method_description` text COMMENT 'Method Description',
  `price` decimal(20,4) NOT NULL DEFAULT '0.0000' COMMENT 'Price',
  `error_message` text COMMENT 'Error Message',
  `method_title` text COMMENT 'Method Title',
  PRIMARY KEY (`rate_id`),
  KEY `QUOTE_SHIPPING_RATE_ADDRESS_ID` (`address_id`),
  CONSTRAINT `QUOTE_SHIPPING_RATE_ADDRESS_ID_QUOTE_ADDRESS_ADDRESS_ID` FOREIGN KEY (`address_id`) REFERENCES `quote_address` (`address_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=163 DEFAULT CHARSET=utf8 COMMENT='Sales Flat Quote Shipping Rate';

--
-- Dumping data for table `quote_shipping_rate`
--

INSERT INTO `quote_shipping_rate` VALUES (2,6,'2022-01-06 05:21:40','2022-01-06 05:21:40','tablerate','Best Way','tablerate_bestway','bestway',NULL,35.0000,NULL,'Table Rate'),(3,11,'2022-01-06 06:47:21','2022-01-06 06:47:21','tablerate','Best Way','tablerate_bestway','bestway',NULL,35.0000,NULL,'Table Rate'),(6,9,'2022-01-09 11:59:14','2022-01-09 11:59:14','tablerate','Best Way','tablerate_bestway','bestway',NULL,35.0000,NULL,'Table Rate'),(41,19,'2022-06-06 07:24:58','2022-06-06 07:24:58','tablerate','Best Way','tablerate_bestway','bestway',NULL,70.0000,NULL,'Table Rate'),(59,96,'2022-08-04 17:30:00','2022-08-04 17:30:00','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,0.0000,NULL,'Fixed'),(60,98,'2022-08-04 17:42:54','2022-08-04 17:42:54','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,0.0000,NULL,'Fixed'),(62,100,'2022-08-04 17:59:22','2022-08-04 17:59:22','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,0.0000,NULL,'Fixed'),(94,118,'2022-08-06 16:10:43','2022-08-06 16:10:43','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,0.0000,NULL,'Fixed'),(107,115,'2022-08-07 10:00:26','2022-08-07 10:00:26','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,10.0000,NULL,'Fixed'),(110,142,'2022-08-09 11:35:37','2022-08-09 11:35:37','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,0.0000,NULL,'Fixed'),(116,36,'2022-08-23 01:18:20','2022-08-23 01:18:20','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,5.0000,NULL,'Fixed'),(162,146,'2022-09-05 10:15:39','2022-09-05 10:15:39','flatrate','Flat Rate','flatrate_flatrate','flatrate',NULL,5.0000,NULL,'Fixed');

--
-- Table structure for table `rating`
--

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

--
-- Dumping data for table `rating`
--

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

--
-- Table structure for table `rating_entity`
--

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

--
-- Dumping data for table `rating_entity`
--

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

--
-- Table structure for table `rating_option`
--

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

--
-- Dumping data for table `rating_option`
--

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

--
-- Table structure for table `rating_option_vote`
--

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

--
-- Dumping data for table `rating_option_vote`
--


--
-- Table structure for table `rating_option_vote_aggregated`
--

CREATE TABLE `rating_option_vote_aggregated` (
  `primary_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Vote aggregation ID',
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating ID',
  `entity_pk_value` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Product ID',
  `vote_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Vote dty',
  `vote_value_sum` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'General vote sum',
  `percent` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Vote percent',
  `percent_approved` smallint(6) DEFAULT '0' COMMENT 'Vote percent approved by admin',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  PRIMARY KEY (`primary_id`),
  KEY `RATING_OPTION_VOTE_AGGREGATED_RATING_ID` (`rating_id`),
  KEY `RATING_OPTION_VOTE_AGGREGATED_STORE_ID` (`store_id`),
  CONSTRAINT `RATING_OPTION_VOTE_AGGREGATED_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `rating` (`rating_id`) ON DELETE CASCADE,
  CONSTRAINT `RATING_OPTION_VOTE_AGGREGATED_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating vote aggregated';

--
-- Dumping data for table `rating_option_vote_aggregated`
--


--
-- Table structure for table `rating_store`
--

CREATE TABLE `rating_store` (
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  PRIMARY KEY (`rating_id`,`store_id`),
  KEY `RATING_STORE_STORE_ID` (`store_id`),
  CONSTRAINT `RATING_STORE_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `rating` (`rating_id`) ON DELETE CASCADE,
  CONSTRAINT `RATING_STORE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating Store';

--
-- Dumping data for table `rating_store`
--

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

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

CREATE TABLE `rating_title` (
  `rating_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating ID',
  `store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store ID',
  `value` varchar(255) NOT NULL COMMENT 'Rating Label',
  PRIMARY KEY (`rating_id`,`store_id`),
  KEY `RATING_TITLE_STORE_ID` (`store_id`),
  CONSTRAINT `RATING_TITLE_RATING_ID_RATING_RATING_ID` FOREIGN KEY (`rating_id`) REFERENCES `rating` (`rating_id`) ON DELETE CASCADE,
  CONSTRAINT `RATING_TITLE_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rating Title';

--
-- Dumping data for table `rating_title`
--


--
-- Table structure for table `release_notification_viewer_log`
--

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

--
-- Dumping data for table `release_notification_viewer_log`
--


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

CREATE TABLE `report_compared_product_index` (
  `index_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Index ID',
  `visitor_id` int(10) unsigned DEFAULT NULL COMMENT 'Visitor ID',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer ID',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `added_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Added At',
  PRIMARY KEY (`index_id`),
  UNIQUE KEY `REPORT_COMPARED_PRODUCT_INDEX_VISITOR_ID_PRODUCT_ID` (`visitor_id`,`product_id`),
  UNIQUE KEY `REPORT_COMPARED_PRODUCT_INDEX_CUSTOMER_ID_PRODUCT_ID` (`customer_id`,`product_id`),
  KEY `REPORT_COMPARED_PRODUCT_INDEX_STORE_ID` (`store_id`),
  KEY `REPORT_COMPARED_PRODUCT_INDEX_ADDED_AT` (`added_at`),
  KEY `REPORT_COMPARED_PRODUCT_INDEX_PRODUCT_ID` (`product_id`),
  CONSTRAINT `REPORT_CMPD_PRD_IDX_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REPORT_CMPD_PRD_IDX_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REPORT_COMPARED_PRODUCT_INDEX_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reports Compared Product Index Table';

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


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

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

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


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

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

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

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

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

CREATE TABLE `report_viewed_product_aggregated_daily` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `product_name` varchar(255) DEFAULT NULL COMMENT 'Product Name',
  `product_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Product Price',
  `views_num` int(11) NOT NULL DEFAULT '0' COMMENT 'Number of Views',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `REPORT_VIEWED_PRD_AGGRED_DAILY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `REPORT_VIEWED_PRD_AGGRED_DAILY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REPORT_VIEWED_PRODUCT_AGGREGATED_DAILY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Daily';

--
-- Dumping data for table `report_viewed_product_aggregated_daily`
--


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

CREATE TABLE `report_viewed_product_aggregated_monthly` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `product_name` varchar(255) DEFAULT NULL COMMENT 'Product Name',
  `product_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Product Price',
  `views_num` int(11) NOT NULL DEFAULT '0' COMMENT 'Number of Views',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `REPORT_VIEWED_PRD_AGGRED_MONTHLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `REPORT_VIEWED_PRD_AGGRED_MONTHLY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REPORT_VIEWED_PRODUCT_AGGREGATED_MONTHLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Monthly';

--
-- Dumping data for table `report_viewed_product_aggregated_monthly`
--


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

CREATE TABLE `report_viewed_product_aggregated_yearly` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product ID',
  `product_name` varchar(255) DEFAULT NULL COMMENT 'Product Name',
  `product_price` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Product Price',
  `views_num` int(11) NOT NULL DEFAULT '0' COMMENT 'Number of Views',
  `rating_pos` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Rating Pos',
  PRIMARY KEY (`id`),
  UNIQUE KEY `REPORT_VIEWED_PRD_AGGRED_YEARLY_PERIOD_STORE_ID_PRD_ID` (`period`,`store_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_PRODUCT_ID` (`product_id`),
  CONSTRAINT `REPORT_VIEWED_PRD_AGGRED_YEARLY_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REPORT_VIEWED_PRODUCT_AGGREGATED_YEARLY_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Most Viewed Products Aggregated Yearly';

--
-- Dumping data for table `report_viewed_product_aggregated_yearly`
--


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

CREATE TABLE `report_viewed_product_index` (
  `index_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Index ID',
  `visitor_id` int(10) unsigned DEFAULT NULL COMMENT 'Visitor ID',
  `customer_id` int(10) unsigned DEFAULT NULL COMMENT 'Customer ID',
  `product_id` int(10) unsigned NOT NULL COMMENT 'Product ID',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `added_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Added At',
  PRIMARY KEY (`index_id`),
  UNIQUE KEY `REPORT_VIEWED_PRODUCT_INDEX_VISITOR_ID_PRODUCT_ID` (`visitor_id`,`product_id`),
  UNIQUE KEY `REPORT_VIEWED_PRODUCT_INDEX_CUSTOMER_ID_PRODUCT_ID` (`customer_id`,`product_id`),
  KEY `REPORT_VIEWED_PRODUCT_INDEX_STORE_ID` (`store_id`),
  KEY `REPORT_VIEWED_PRODUCT_INDEX_ADDED_AT` (`added_at`),
  KEY `REPORT_VIEWED_PRODUCT_INDEX_PRODUCT_ID` (`product_id`),
  CONSTRAINT `REPORT_VIEWED_PRD_IDX_CSTR_ID_CSTR_ENTT_ENTT_ID` FOREIGN KEY (`customer_id`) REFERENCES `customer_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REPORT_VIEWED_PRD_IDX_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `REPORT_VIEWED_PRODUCT_INDEX_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Reports Viewed Product Index Table';

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


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

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

--
-- Dumping data for table `reporting_counts`
--


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

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

--
-- Dumping data for table `reporting_module_status`
--


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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

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

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

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

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


--
-- Table structure for table `reviewrating_outright`
--

CREATE TABLE `reviewrating_outright` (
  `outright_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  `status` int(11) NOT NULL DEFAULT '0' COMMENT 'Status',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`outright_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='ReviewRating Outright Table';

--
-- Dumping data for table `reviewrating_outright`
--

INSERT INTO `reviewrating_outright` VALUES (1,'Price',1,'0000-00-00 00:00:00'),(2,'Quality',1,'0000-00-00 00:00:00'),(3,'Rating',1,'0000-00-00 00:00:00'),(4,'Delivery Experience',1,'0000-00-00 00:00:00');

--
-- Table structure for table `reviewrating_servicecall`
--

CREATE TABLE `reviewrating_servicecall` (
  `servicecall_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  `status` int(11) NOT NULL DEFAULT '0' COMMENT 'Status',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`servicecall_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='ReviewRating Servicecall Table';

--
-- Dumping data for table `reviewrating_servicecall`
--

INSERT INTO `reviewrating_servicecall` VALUES (1,'Technician Behaviour',1,'0000-00-00 00:00:00');

--
-- Table structure for table `reviewrating_serviceplan`
--

CREATE TABLE `reviewrating_serviceplan` (
  `serviceplan_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  `status` int(11) NOT NULL DEFAULT '0' COMMENT 'Status',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`serviceplan_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='ReviewRating Serviceplan Table';

--
-- Dumping data for table `reviewrating_serviceplan`
--


--
-- Table structure for table `reviewrating_subscription`
--

CREATE TABLE `reviewrating_subscription` (
  `subscription_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity Id',
  `title` varchar(255) DEFAULT NULL COMMENT 'Title',
  `status` int(11) NOT NULL DEFAULT '0' COMMENT 'Status',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Created At',
  PRIMARY KEY (`subscription_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='ReviewRating Subscription Table';

--
-- Dumping data for table `reviewrating_subscription`
--


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

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

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

INSERT INTO `sales_bestsellers_aggregated_daily` VALUES (1,'2022-01-06',1,767,'Sharp MX-B20FT1 Black Toner',85.0000,1.0000,1),(2,'2022-01-09',1,757,'Konica Minolta Yellow Toner for MC1600 Series',290.0000,1.0000,1),(3,'2022-01-09',1,321,'Service Call Type 1',50.0000,1.0000,2),(4,'2022-01-12',1,931,'44 Prints Per Minute A4 Black Multifunction Printer with Network',1900.0000,1.0000,1),(5,'2022-01-19',2,714,'كونيكا مينولتا TNP-22K حبر أسود',86.0000,3.0000,1),(6,'2022-01-19',1,767,'Sharp MX-B20FT1 Black Toner',85.0000,1.0000,1),(7,'2022-06-06',1,936,'33 Prints Per Minute A4 Colour Multifunction Printer With Network',14100.0000,1.0000,1),(8,'2022-08-03',1,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,6.0000,1),(9,'2022-08-03',1,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,3.0000,2),(10,'2022-08-04',1,322,'Print Pack Pro',0.0000,1.0000,1),(11,'2022-08-05',1,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,2.0000,2),(12,'2022-08-05',1,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,4.0000,1),(13,'2022-08-07',1,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,1.0000,3),(14,'2022-08-07',1,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,1.0000,2),(15,'2022-08-07',1,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,1.0000,4),(16,'2022-08-07',1,617,'Sharp DX-25FT-BA Large Black Toner',284.0000,2.0000,1),(32,'2022-01-06',0,767,'Sharp MX-B20FT1 Black Toner',85.0000,1.0000,1),(33,'2022-01-09',0,757,'Konica Minolta Yellow Toner for MC1600 Series',290.0000,1.0000,2),(34,'2022-01-09',0,321,'Service Call Type 1',50.0000,1.0000,1),(35,'2022-01-12',0,931,'44 Prints Per Minute A4 Black Multifunction Printer with Network',1900.0000,1.0000,1),(36,'2022-01-19',0,714,'كونيكا مينولتا TNP-22K حبر أسود',86.0000,3.0000,1),(37,'2022-01-19',0,767,'Sharp MX-B20FT1 Black Toner',85.0000,1.0000,2),(38,'2022-06-06',0,936,'33 Prints Per Minute A4 Colour Multifunction Printer With Network',14100.0000,1.0000,1),(39,'2022-08-03',0,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,6.0000,1),(40,'2022-08-03',0,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,3.0000,2),(41,'2022-08-04',0,322,'Print Pack Pro',0.0000,1.0000,1),(42,'2022-08-05',0,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,2.0000,2),(43,'2022-08-05',0,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,4.0000,1),(44,'2022-08-07',0,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,1.0000,4),(45,'2022-08-07',0,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,1.0000,3),(46,'2022-08-07',0,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,1.0000,2),(47,'2022-08-07',0,617,'Sharp DX-25FT-BA Large Black Toner',284.0000,2.0000,1);

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

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

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

INSERT INTO `sales_bestsellers_aggregated_monthly` VALUES (1,'2022-01-01',0,714,'كونيكا مينولتا TNP-22K حبر أسود',86.0000,3.0000,1),(2,'2022-01-01',0,767,'Sharp MX-B20FT1 Black Toner',85.0000,2.0000,2),(3,'2022-01-01',0,757,'Konica Minolta Yellow Toner for MC1600 Series',290.0000,1.0000,5),(4,'2022-01-01',0,321,'Service Call Type 1',50.0000,1.0000,4),(5,'2022-01-01',0,931,'44 Prints Per Minute A4 Black Multifunction Printer with Network',1900.0000,1.0000,3),(6,'2022-06-01',0,936,'33 Prints Per Minute A4 Colour Multifunction Printer With Network',14100.0000,1.0000,1),(7,'2022-01-01',1,767,'Sharp MX-B20FT1 Black Toner',85.0000,2.0000,1),(8,'2022-01-01',1,757,'Konica Minolta Yellow Toner for MC1600 Series',290.0000,1.0000,4),(9,'2022-01-01',1,321,'Service Call Type 1',50.0000,1.0000,3),(10,'2022-01-01',1,931,'44 Prints Per Minute A4 Black Multifunction Printer with Network',1900.0000,1.0000,2),(11,'2022-06-01',1,936,'33 Prints Per Minute A4 Colour Multifunction Printer With Network',14100.0000,1.0000,1),(12,'2022-01-01',2,714,'كونيكا مينولتا TNP-22K حبر أسود',86.0000,3.0000,1),(16,'2022-08-01',0,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,9.0000,1),(17,'2022-08-01',0,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,5.0000,2),(18,'2022-08-01',0,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,4.0000,3),(19,'2022-08-01',0,617,'Sharp DX-25FT-BA Large Black Toner',284.0000,2.0000,4),(20,'2022-08-01',0,322,'Print Pack Pro',0.0000,1.0000,5),(21,'2022-08-01',1,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,9.0000,1),(22,'2022-08-01',1,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,5.0000,2),(23,'2022-08-01',1,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,4.0000,3),(24,'2022-08-01',1,617,'Sharp DX-25FT-BA Large Black Toner',284.0000,2.0000,4),(25,'2022-08-01',1,322,'Print Pack Pro',0.0000,1.0000,5);

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

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

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

INSERT INTO `sales_bestsellers_aggregated_yearly` VALUES (1,'2022-01-01',0,714,'كونيكا مينولتا TNP-22K حبر أسود',86.0000,3.0000,4),(2,'2022-01-01',0,767,'Sharp MX-B20FT1 Black Toner',85.0000,2.0000,5),(3,'2022-01-01',0,757,'Konica Minolta Yellow Toner for MC1600 Series',290.0000,1.0000,7),(4,'2022-01-01',0,321,'Service Call Type 1',50.0000,1.0000,8),(5,'2022-01-01',0,931,'44 Prints Per Minute A4 Black Multifunction Printer with Network',1900.0000,1.0000,9),(6,'2022-01-01',0,936,'33 Prints Per Minute A4 Colour Multifunction Printer With Network',14100.0000,1.0000,10),(7,'2022-01-01',1,767,'Sharp MX-B20FT1 Black Toner',85.0000,2.0000,5),(8,'2022-01-01',1,757,'Konica Minolta Yellow Toner for MC1600 Series',290.0000,1.0000,10),(9,'2022-01-01',1,321,'Service Call Type 1',50.0000,1.0000,9),(10,'2022-01-01',1,931,'44 Prints Per Minute A4 Black Multifunction Printer with Network',1900.0000,1.0000,8),(11,'2022-01-01',1,936,'33 Prints Per Minute A4 Colour Multifunction Printer With Network',14100.0000,1.0000,7),(12,'2022-01-01',2,714,'كونيكا مينولتا TNP-22K حبر أسود',86.0000,3.0000,1),(16,'2022-01-01',0,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,9.0000,1),(17,'2022-01-01',0,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,5.0000,2),(18,'2022-01-01',0,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,4.0000,3),(19,'2022-01-01',0,617,'Sharp DX-25FT-BA Large Black Toner',284.0000,2.0000,6),(20,'2022-01-01',0,322,'Print Pack Pro',0.0000,1.0000,11),(21,'2022-01-01',1,930,'22 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',22700.0000,9.0000,1),(22,'2022-01-01',1,929,'26 Prints Per Minute A3 / A4 Colour Multifunction Copier With Network',24000.0000,5.0000,2),(23,'2022-01-01',1,924,'28 Prints Per Minute A3 / A4 Black Multifunction Copier With Network',6300.0000,4.0000,3),(24,'2022-01-01',1,617,'Sharp DX-25FT-BA Large Black Toner',284.0000,2.0000,4),(25,'2022-01-01',1,322,'Print Pack Pro',0.0000,1.0000,6);

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

INSERT INTO `sales_invoice` VALUES (1,1,138.0000,5.2500,18.0000,18.0000,0.0000,5.2500,0.0000,1.0000,138.0000,35.0000,97.7500,97.7500,0.0000,35.0000,1.0000,1.0000,85.0000,85.0000,0.0000,2,NULL,1,1,1,0,2,1,'SAR',NULL,'SAR','SAR','SAR','000000187','2022-01-06 06:46:18','2022-01-06 06:46:20',0.0000,0.0000,0.0000,0.0000,40.2500,40.2500,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,373.7500,5.2500,48.7500,48.7500,0.0000,5.2500,0.0000,1.0000,373.7500,35.0000,333.5000,333.5000,0.0000,35.0000,1.0000,1.0000,290.0000,290.0000,0.0000,4,NULL,2,1,1,0,2,3,'SAR',NULL,'SAR','SAR','SAR','000000188','2022-01-09 12:17:29','2022-01-09 12:17:32',0.0000,0.0000,0.0000,0.0000,40.2500,40.2500,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,1,2225.2500,5.2500,290.2500,290.2500,0.0000,5.2500,0.0000,1.0000,2225.2500,35.0000,2185.0000,2185.0000,0.0000,35.0000,1.0000,1.0000,1900.0000,1900.0000,0.0000,7,NULL,4,1,1,NULL,2,6,'SAR','8ac7a4a07e4bd2d9017e4e3cfadf5425','SAR','SAR','SAR','000000189','2022-01-12 12:24:33','2022-01-12 12:24:36',0.0000,0.0000,0.0000,0.0000,40.2500,40.2500,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

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

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

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


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

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

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

INSERT INTO `sales_invoice_grid` VALUES (1,'000000187',2,1,'Main Website\nWorx\nEnglish',1,'000002476','2022-01-06 05:21:41','Mohamed Amer','m.amer81993@gmail.com',1,'cashondelivery','SAR','SAR','SAR','SAR','Mohamed Amer','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Best Way - Table Rate',85.0000,35.0000,138.0000,'2022-01-06 06:46:18','2022-01-06 06:46:18',138.0000),(2,'000000188',2,1,'Main Website\nWorx\nEnglish',2,'000002477','2022-01-09 11:59:14','Mohamed Amer','m.amer81993@gmail.com',1,'cashondelivery','SAR','SAR','SAR','SAR','Mohamed Amer','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Best Way - Table Rate',290.0000,35.0000,373.7500,'2022-01-09 12:17:29','2022-01-09 12:17:29',373.7500),(3,'000000189',2,1,'Main Website\nWorx\nEnglish',4,'000002479','2022-01-12 12:21:14','Mohamed Amer','m.amer81993@gmail.com',1,'HyperPay_Mada','SAR','SAR','SAR','SAR','Mohamed Amer','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Best Way - Table Rate',1900.0000,35.0000,2225.2500,'2022-01-12 12:24:33','2022-01-12 12:24:33',2225.2500);

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

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

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

INSERT INTO `sales_invoice_item` VALUES (1,1,85.0000,12.7500,85.0000,NULL,85.0000,NULL,97.7500,12.7500,97.7500,1.0000,NULL,85.0000,97.7500,97.7500,767,1,NULL,NULL,'201190168','Sharp MX-B20FT1 Black Toner',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(2,2,290.0000,43.5000,290.0000,NULL,290.0000,NULL,333.5000,43.5000,333.5000,1.0000,NULL,290.0000,333.5000,333.5000,757,2,NULL,NULL,'2011900192','Konica Minolta Yellow Toner for MC1600 Series',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000),(3,3,1900.0000,285.0000,1900.0000,NULL,1900.0000,NULL,2185.0000,285.0000,2185.0000,1.0000,NULL,1900.0000,2185.0000,2185.0000,931,4,NULL,NULL,'20109021','44 Prints Per Minute A4 Black Multifunction Printer with Network',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000);

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

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

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

INSERT INTO `sales_invoiced_aggregated` VALUES (7,'2022-01-06',1,'complete',1,1.0000,138.0000,138.0000,0.0000),(8,'2022-01-09',1,'complete',1,1.0000,373.7500,373.7500,0.0000),(9,'2022-01-12',1,'complete',1,1.0000,2225.2500,2225.2500,0.0000),(10,'2022-01-06',0,'complete',1,1.0000,138.0000,138.0000,0.0000),(11,'2022-01-09',0,'complete',1,1.0000,373.7500,373.7500,0.0000),(12,'2022-01-12',0,'complete',1,1.0000,2225.2500,2225.2500,0.0000);

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

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

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

INSERT INTO `sales_invoiced_aggregated_order` VALUES (1,'2022-01-06',1,'complete',1,1.0000,138.0000,138.0000,0.0000),(2,'2022-01-09',1,'complete',1,1.0000,373.7500,373.7500,0.0000),(3,'2022-01-12',1,'complete',1,1.0000,2225.2500,2225.2500,0.0000),(4,'2022-01-06',0,'complete',1,1.0000,138.0000,138.0000,0.0000),(5,'2022-01-09',0,'complete',1,1.0000,373.7500,373.7500,0.0000),(6,'2022-01-12',0,'complete',1,1.0000,2225.2500,2225.2500,0.0000);

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

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

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

INSERT INTO `sales_order_address` VALUES (1,1,1,6,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,NULL,7,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,2,1,9,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,2,1,15,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,3,1,16,NULL,NULL,NULL,'Riyadh Province',NULL,'Amer','Quai','Jeddah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,4,1,23,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,4,1,24,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,5,1,36,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,5,1,37,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,6,1,36,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(11,6,1,46,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(12,7,1,36,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(13,7,1,49,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(14,8,1,36,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,8,1,52,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(16,9,2,19,NULL,NULL,NULL,NULL,NULL,'alduhaim','اتتاتتاات','تنتننت','falduhaim@hoshangroup.com','080808088','SA','fai','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,9,NULL,59,NULL,NULL,NULL,NULL,NULL,'alduhaim','اتتاتتاات','تنتننت','falduhaim@hoshangroup.com','080808088','SA','fai','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(18,10,4,81,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(19,10,4,90,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(20,11,4,81,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,11,4,91,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(22,12,4,81,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(23,12,4,92,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(24,13,4,99,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Jeddah','12test12@mailinator.com','507876277','SA','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(25,14,5,106,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(26,14,NULL,109,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(27,15,5,106,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(28,15,5,110,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(29,16,5,106,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(30,16,5,111,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(31,17,5,115,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(32,17,5,116,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(33,18,5,115,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(34,18,5,129,NULL,NULL,NULL,NULL,NULL,'alika','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.','lahore','aftabahmad492@gmail.com','402830033','SA','aftab','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(35,19,4,122,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(36,19,4,138,NULL,NULL,NULL,NULL,NULL,'test','aljawhara','Dammam','12test12@mailinator.com','507876277','SA','test','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(37,20,1,36,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(38,20,1,149,NULL,NULL,NULL,'Riyadh Province','19970','Amer','Quai','Al-Quwaiyah','m.amer81993@gmail.com','562086624','SA','Mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(39,21,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40,21,NULL,152,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(41,22,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(42,22,6,153,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(43,23,6,154,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(44,24,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(45,24,6,155,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(46,25,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(47,25,6,156,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(48,26,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(49,26,6,159,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(50,27,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(51,27,6,160,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(52,28,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(53,28,6,161,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(54,29,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(55,29,6,164,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(56,30,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(57,30,6,165,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(58,31,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(59,31,6,166,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(60,32,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(61,32,6,169,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(62,33,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(63,33,6,170,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(64,34,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(65,34,6,171,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(66,35,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(67,35,6,172,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(68,36,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(69,36,6,173,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(70,37,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(71,37,6,174,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(72,38,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(73,38,6,175,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(74,39,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(75,39,6,176,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(76,40,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(77,40,6,181,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(78,41,6,146,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(79,41,6,182,NULL,NULL,NULL,NULL,NULL,'shaban','moha','shatq','mohammad.shabaan@gmail.com','900255592','SA','mohamed','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

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

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

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

INSERT INTO `sales_order_aggregated_created` VALUES (7,'2022-01-06',1,'complete',1,1.0000,1.0000,138.0000,85.0000,85.0000,138.0000,0.0000,138.0000,0.0000,18.0000,18.0000,35.0000,35.0000,0.0000,0.0000),(8,'2022-01-09',1,'complete',1,1.0000,1.0000,373.7500,290.0000,290.0000,373.7500,0.0000,373.7500,0.0000,48.7500,48.7500,35.0000,35.0000,0.0000,0.0000),(9,'2022-01-12',1,'complete',1,1.0000,1.0000,2225.2500,1900.0000,1900.0000,2225.2500,0.0000,2225.2500,0.0000,290.2500,290.2500,35.0000,35.0000,0.0000,0.0000),(10,'2022-06-06',1,'holded',1,1.0000,0.0000,16295.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2125.5000,0.0000,70.0000,0.0000,0.0000,0.0000),(11,'2022-08-05',1,'canceled',1,2.0000,0.0000,53716.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,7006.5000,0.0000,10.0000,0.0000,0.0000,0.0000),(14,'2022-01-06',0,'complete',1,1.0000,1.0000,138.0000,85.0000,85.0000,138.0000,0.0000,138.0000,0.0000,18.0000,18.0000,35.0000,35.0000,0.0000,0.0000),(15,'2022-01-09',0,'complete',1,1.0000,1.0000,373.7500,290.0000,290.0000,373.7500,0.0000,373.7500,0.0000,48.7500,48.7500,35.0000,35.0000,0.0000,0.0000),(16,'2022-01-12',0,'complete',1,1.0000,1.0000,2225.2500,1900.0000,1900.0000,2225.2500,0.0000,2225.2500,0.0000,290.2500,290.2500,35.0000,35.0000,0.0000,0.0000),(17,'2022-06-06',0,'holded',1,1.0000,0.0000,16295.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2125.5000,0.0000,70.0000,0.0000,0.0000,0.0000),(18,'2022-08-05',0,'canceled',1,2.0000,0.0000,53716.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,7006.5000,0.0000,10.0000,0.0000,0.0000,0.0000);

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

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

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

INSERT INTO `sales_order_aggregated_updated` VALUES (7,'2022-01-06',1,'complete',1,1.0000,1.0000,138.0000,85.0000,85.0000,138.0000,0.0000,138.0000,0.0000,18.0000,18.0000,35.0000,35.0000,0.0000,0.0000),(8,'2022-01-09',1,'complete',1,1.0000,1.0000,373.7500,290.0000,290.0000,373.7500,0.0000,373.7500,0.0000,48.7500,48.7500,35.0000,35.0000,0.0000,0.0000),(9,'2022-01-12',1,'complete',1,1.0000,1.0000,2225.2500,1900.0000,1900.0000,2225.2500,0.0000,2225.2500,0.0000,290.2500,290.2500,35.0000,35.0000,0.0000,0.0000),(10,'2022-06-23',1,'holded',1,1.0000,0.0000,16295.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2125.5000,0.0000,70.0000,0.0000,0.0000,0.0000),(11,'2022-08-05',1,'canceled',1,2.0000,0.0000,53716.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,7006.5000,0.0000,10.0000,0.0000,0.0000,0.0000),(14,'2022-01-06',0,'complete',1,1.0000,1.0000,138.0000,85.0000,85.0000,138.0000,0.0000,138.0000,0.0000,18.0000,18.0000,35.0000,35.0000,0.0000,0.0000),(15,'2022-01-09',0,'complete',1,1.0000,1.0000,373.7500,290.0000,290.0000,373.7500,0.0000,373.7500,0.0000,48.7500,48.7500,35.0000,35.0000,0.0000,0.0000),(16,'2022-01-12',0,'complete',1,1.0000,1.0000,2225.2500,1900.0000,1900.0000,2225.2500,0.0000,2225.2500,0.0000,290.2500,290.2500,35.0000,35.0000,0.0000,0.0000),(17,'2022-06-23',0,'holded',1,1.0000,0.0000,16295.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,2125.5000,0.0000,70.0000,0.0000,0.0000,0.0000),(18,'2022-08-05',0,'canceled',1,2.0000,0.0000,53716.5000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,7006.5000,0.0000,10.0000,0.0000,0.0000,0.0000);

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

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

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

INSERT INTO `sales_order_grid` VALUES (1,'complete',1,'Main Website\nWorx\nEnglish',1,138.0000,138.0000,138.0000,138.0000,'000002476','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-01-06 05:21:41','2022-01-06 06:46:18','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Best Way - Table Rate','m.amer81993@gmail.com','1',85.0000,35.0000,'Mohamed Amer','cashondelivery',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,'complete',1,'Main Website\nWorx\nEnglish',1,373.7500,373.7500,373.7500,373.7500,'000002477','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-01-09 11:59:14','2022-01-09 12:17:30','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Best Way - Table Rate','m.amer81993@gmail.com','1',290.0000,35.0000,'Mohamed Amer','cashondelivery',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,'pending',1,'Main Website\nWorx\nEnglish',1,57.5000,NULL,57.5000,NULL,'000002478','SAR','SAR','','Mohamed Amer','2022-01-09 12:26:54','2022-01-09 12:26:54','Quai,Jeddah,Riyadh Province','',NULL,'m.amer81993@gmail.com','1',50.0000,0.0000,'Mohamed Amer','cashondelivery',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,'complete',1,'Main Website\nWorx\nEnglish',1,2225.2500,2225.2500,2225.2500,2225.2500,'000002479','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-01-12 12:21:14','2022-01-12 12:24:35','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Best Way - Table Rate','m.amer81993@gmail.com','1',1900.0000,35.0000,'Mohamed Amer','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,'pending',2,'Main Website\nWorx\nعربي',1,139.1500,NULL,139.1500,NULL,'2000000059','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-01-19 07:44:08','2022-01-19 07:44:08','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','افضل طريقه - معدل الجدول','m.amer81993@gmail.com','1',86.0000,35.0000,'Mohamed Amer','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,'pending',2,'Main Website\nWorx\nعربي',1,139.1500,NULL,139.1500,NULL,'2000000060','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-01-19 07:46:11','2022-01-19 07:46:11','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','افضل طريقه - معدل الجدول','m.amer81993@gmail.com','1',86.0000,35.0000,'Mohamed Amer','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,'pending',2,'Main Website\nWorx\nعربي',1,139.1500,NULL,139.1500,NULL,'2000000061','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-01-19 07:47:52','2022-01-19 07:47:52','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','افضل طريقه - معدل الجدول','m.amer81993@gmail.com','1',86.0000,35.0000,'Mohamed Amer','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,'onlineprocessing',1,'Main Website\nWorx\nEnglish',1,138.0000,NULL,138.0000,NULL,'000002480','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-01-19 08:36:44','2022-01-19 08:39:06','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Best Way - Table Rate','m.amer81993@gmail.com','1',85.0000,35.0000,'Mohamed Amer','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,'holded',1,'Main Website\nWorx\nEnglish',2,16295.5000,NULL,16295.5000,NULL,'000002481','SAR','SAR','fai alduhaim','fai alduhaim','2022-06-06 07:24:58','2022-06-23 18:29:27','اتتاتتاات,تنتننت','اتتاتتاات,تنتننت','Best Way - Table Rate','falduhaim@hoshangroup.com','1',14100.0000,70.0000,'fai alduhaim','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,'pending',1,'Main Website\nWorx\nEnglish',3,59472.2500,NULL,59472.2500,NULL,'000002482','SAR','SAR','test test','test test','2022-08-03 18:56:56','2022-08-03 18:56:56','aljawhara,Dammam','aljawhara,Dammam','Flat Rate - Fixed','12test12@mailinator.com','1',51700.0000,15.0000,'test test','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(11,'pending',1,'Main Website\nWorx\nEnglish',3,59472.2500,NULL,59472.2500,NULL,'000002483','SAR','SAR','test test','test test','2022-08-03 18:58:37','2022-08-03 18:58:37','aljawhara,Dammam','aljawhara,Dammam','Flat Rate - Fixed','12test12@mailinator.com','1',51700.0000,15.0000,'test test','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(12,'pending',1,'Main Website\nWorx\nEnglish',3,59472.2500,NULL,59472.2500,NULL,'000002484','SAR','SAR','test test','test test','2022-08-03 18:59:45','2022-08-03 18:59:45','aljawhara,Dammam','aljawhara,Dammam','Flat Rate - Fixed','12test12@mailinator.com','1',51700.0000,15.0000,'test test','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(13,'pending',1,'Main Website\nWorx\nEnglish',3,0.0000,NULL,0.0000,NULL,'000002485','SAR','SAR','','test test','2022-08-04 17:59:22','2022-08-04 17:59:23','aljawhara,Jeddah','',NULL,'12test12@mailinator.com','1',0.0000,0.0000,'test test','cashondelivery',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(14,'canceled',1,'Main Website\nWorx\nEnglish',4,53716.5000,NULL,53716.5000,NULL,'000002486','SAR','SAR','aftab alika','aftab alika','2022-08-05 11:44:44','2022-08-05 12:34:50','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','Flat Rate - Fixed','aftabahmad492@gmail.com','1',46700.0000,10.0000,'aftab alika','HyperPay_Master',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,'pending',1,'Main Website\nWorx\nEnglish',4,53716.5000,NULL,53716.5000,NULL,'000002487','SAR','SAR','aftab alika','aftab alika','2022-08-05 11:49:19','2022-08-05 11:49:19','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','Flat Rate - Fixed','aftabahmad492@gmail.com','1',46700.0000,10.0000,'aftab alika','HyperPay_Master',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(16,'pending',1,'Main Website\nWorx\nEnglish',4,81385.5000,NULL,81385.5000,NULL,'000002488','SAR','SAR','aftab alika','aftab alika','2022-08-05 11:52:11','2022-08-05 11:52:11','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','Best Way - Table Rate','aftabahmad492@gmail.com','1',70700.0000,70.0000,'aftab alika','HyperPay_Master',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,'pending',1,'Main Website\nWorx\nEnglish',4,27605.7500,NULL,27605.7500,NULL,'000002489','SAR','SAR','aftab alika','aftab alika','2022-08-05 12:05:34','2022-08-05 12:05:34','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','Flat Rate - Fixed','aftabahmad492@gmail.com','1',24000.0000,5.0000,'aftab alika','HyperPay_Master',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(18,'onlineprocessing',1,'Main Website\nWorx\nEnglish',4,34856.5000,NULL,34856.5000,NULL,'000002490','SAR','SAR','aftab alika','aftab alika','2022-08-07 10:00:26','2022-08-07 10:04:55','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','office 1, 5th Floor, Goldmine Plaza, Ichra Firozpur Road Lahore.,lahore','Flat Rate - Fixed','aftabahmad492@gmail.com','1',30300.0000,10.0000,'aftab alika','HyperPay_Master',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(19,'pending',1,'Main Website\nWorx\nEnglish',3,26775.4500,NULL,26775.4500,NULL,'000002491','SAR','SAR','test test','test test','2022-08-07 13:00:28','2022-08-07 13:00:28','aljawhara,Dammam','aljawhara,Dammam','Flat Rate - Fixed','12test12@mailinator.com','1',23268.0000,15.0000,'test test','HyperPay_Master',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(20,'onlineprocessing',1,'Main Website\nWorx\nEnglish',1,5801.7500,NULL,5801.7500,NULL,'000002492','SAR','SAR','Mohamed Amer','Mohamed Amer','2022-08-23 01:18:20','2022-08-23 01:24:37','Quai,Al-Quwaiyah,Riyadh Province,19970','Quai,Al-Quwaiyah,Riyadh Province,19970','Flat Rate - Fixed','m.amer81993@gmail.com','1',6300.0000,5.0000,'Mohamed Amer','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002493','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-24 13:41:41','2022-08-24 13:41:41','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(22,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002494','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-25 12:19:34','2022-08-25 12:20:38','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(23,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,1610.0000,NULL,1610.0000,NULL,'000002495','SAR','SAR','','mohamed shaban','2022-08-25 12:21:47','2022-08-25 12:23:14','moha,shatq','',NULL,'mohammad.shabaan@gmail.com','1',1750.0000,0.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,'000002495',NULL,NULL,NULL,NULL,NULL,NULL,NULL),(24,'canceled',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002496','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-25 12:27:06','2022-08-25 12:28:33','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(25,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002497','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-25 12:31:33','2022-08-25 12:31:57','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(26,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002498','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 08:53:44','2022-08-29 08:53:44','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(27,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002499','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 08:59:44','2022-08-29 09:29:53','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(28,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002500','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 08:59:52','2022-08-29 08:59:52','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(29,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002501','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 09:03:12','2022-08-29 09:03:12','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(30,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002502','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 09:04:59','2022-08-29 09:04:59','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Visa',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(31,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002503','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 09:05:08','2022-08-29 09:05:09','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Visa',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(32,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002504','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 09:56:50','2022-08-29 09:57:28','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(33,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002505','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 09:56:59','2022-08-29 09:56:59','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(34,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002506','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 10:00:26','2022-08-29 10:01:34','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Visa',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(35,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002507','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 10:00:35','2022-08-29 10:00:35','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Visa',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(36,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002508','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 10:45:16','2022-08-29 10:46:07','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Visa',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(37,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002509','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-29 10:45:23','2022-08-29 10:45:23','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Visa',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(38,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002510','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-30 10:04:20','2022-08-30 10:05:24','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(39,'pending',1,'Main Website\nWorx\nEnglish',7,20889.7500,NULL,20889.7500,NULL,'000002511','SAR','SAR','mohamed shaban','mohamed shaban','2022-08-30 10:04:28','2022-08-30 10:04:28','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',22700.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,206.3100,NULL,206.3100,NULL,'000002512','SAR','SAR','mohamed shaban','mohamed shaban','2022-09-05 10:13:25','2022-09-05 10:14:34','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',218.0000,5.0000,'mohamed shaban','HyperPay_Visa',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(41,'onlineprocessing',1,'Main Website\nWorx\nEnglish',7,12977.7500,NULL,12977.7500,NULL,'000002513','SAR','SAR','mohamed shaban','mohamed shaban','2022-09-05 10:15:39','2022-09-05 10:16:06','moha,shatq','moha,shatq','Flat Rate - Fixed','mohammad.shabaan@gmail.com','1',14100.0000,5.0000,'mohamed shaban','HyperPay_Mada',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

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

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

--
