-- 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=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Review statuses';

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

INSERT INTO `review_status` (`status_id`, `status_code`) VALUES (1,'Approved');
INSERT INTO `review_status` (`status_id`, `status_code`) VALUES (2,'Pending');
INSERT INTO `review_status` (`status_id`, `status_code`) VALUES (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=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Review Store';

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

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

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

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

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

INSERT INTO `sales_bestsellers_aggregated_daily` (`id`, `period`, `store_id`, `product_id`, `product_name`, `product_price`, `qty_ordered`, `rating_pos`) VALUES (3,'2024-12-21',1,1992,'Echo Fit Compression Short-28-Blue',24.0000,1.0000,1);
INSERT INTO `sales_bestsellers_aggregated_daily` (`id`, `period`, `store_id`, `product_id`, `product_name`, `product_price`, `qty_ordered`, `rating_pos`) VALUES (4,'2024-12-21',0,1992,'Echo Fit Compression Short-28-Blue',24.0000,1.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=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Bestsellers Aggregated Monthly';

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

INSERT INTO `sales_bestsellers_aggregated_monthly` (`id`, `period`, `store_id`, `product_id`, `product_name`, `product_price`, `qty_ordered`, `rating_pos`) VALUES (1,'2024-12-01',1,1992,'Echo Fit Compression Short-28-Blue',24.0000,1.0000,1);
INSERT INTO `sales_bestsellers_aggregated_monthly` (`id`, `period`, `store_id`, `product_id`, `product_name`, `product_price`, `qty_ordered`, `rating_pos`) VALUES (2,'2024-12-01',0,1992,'Echo Fit Compression Short-28-Blue',24.0000,1.0000,1);

--
-- 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=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Bestsellers Aggregated Yearly';

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

INSERT INTO `sales_bestsellers_aggregated_yearly` (`id`, `period`, `store_id`, `product_id`, `product_name`, `product_price`, `qty_ordered`, `rating_pos`) VALUES (1,'2024-01-01',1,1992,'Echo Fit Compression Short-28-Blue',24.0000,1.0000,1);
INSERT INTO `sales_bestsellers_aggregated_yearly` (`id`, `period`, `store_id`, `product_id`, `product_name`, `product_price`, `qty_ordered`, `rating_pos`) VALUES (2,'2024-01-01',0,1992,'Echo Fit Compression Short-28-Blue',24.0000,1.0000,1);

--
-- 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 DEFAULT NULL COMMENT 'Customer Note',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_CREDITMEMO_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_CREDITMEMO_STORE_ID` (`store_id`),
  KEY `SALES_CREDITMEMO_ORDER_ID` (`order_id`),
  KEY `SALES_CREDITMEMO_CREDITMEMO_STATUS` (`creditmemo_status`),
  KEY `SALES_CREDITMEMO_STATE` (`state`),
  KEY `SALES_CREDITMEMO_CREATED_AT` (`created_at`),
  KEY `SALES_CREDITMEMO_UPDATED_AT` (`updated_at`),
  KEY `SALES_CREDITMEMO_SEND_EMAIL` (`send_email`),
  KEY `SALES_CREDITMEMO_EMAIL_SENT` (`email_sent`),
  CONSTRAINT `SALES_CREDITMEMO_ORDER_ID_SALES_ORDER_ENTITY_ID` FOREIGN KEY (`order_id`) REFERENCES `sales_order` (`entity_id`) ON DELETE CASCADE,
  CONSTRAINT `SALES_CREDITMEMO_STORE_ID_STORE_STORE_ID` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Creditmemo';

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

INSERT INTO `sales_creditmemo` (`entity_id`, `store_id`, `adjustment_positive`, `base_shipping_tax_amount`, `store_to_order_rate`, `base_discount_amount`, `base_to_order_rate`, `grand_total`, `base_adjustment_negative`, `base_subtotal_incl_tax`, `shipping_amount`, `subtotal_incl_tax`, `adjustment_negative`, `base_shipping_amount`, `store_to_base_rate`, `base_to_global_rate`, `base_adjustment`, `base_subtotal`, `discount_amount`, `subtotal`, `adjustment`, `base_grand_total`, `base_adjustment_positive`, `base_tax_amount`, `shipping_tax_amount`, `tax_amount`, `order_id`, `email_sent`, `send_email`, `creditmemo_status`, `state`, `shipping_address_id`, `billing_address_id`, `invoice_id`, `store_currency_code`, `order_currency_code`, `base_currency_code`, `global_currency_code`, `transaction_id`, `increment_id`, `created_at`, `updated_at`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `shipping_incl_tax`, `base_shipping_incl_tax`, `discount_description`, `customer_note`, `customer_note_notify`) VALUES (1,1,NULL,0.0000,0.0000,0.0000,1.0000,39.6400,NULL,34.6400,5.0000,34.6400,NULL,5.0000,0.0000,1.0000,0.0000,32.0000,0.0000,32.0000,0.0000,39.6400,NULL,2.6400,0.0000,2.6400,2,NULL,NULL,NULL,2,3,4,NULL,'USD','USD','USD','USD',NULL,'000000001','2024-12-21 07:34:23','2024-12-21 07:34:23',0.0000,0.0000,NULL,NULL,5.0000,5.0000,NULL,NULL,NULL);

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

CREATE TABLE `sales_creditmemo_comment` (
  `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID',
  `parent_id` int(10) unsigned NOT NULL COMMENT 'Parent ID',
  `is_customer_notified` int(11) DEFAULT NULL COMMENT 'Is Customer Notified',
  `is_visible_on_front` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Is Visible On Front',
  `comment` text DEFAULT NULL 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=utf8mb3 COLLATE=utf8mb3_general_ci 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=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Creditmemo Grid';

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

INSERT INTO `sales_creditmemo_grid` (`entity_id`, `increment_id`, `created_at`, `updated_at`, `order_id`, `order_increment_id`, `order_created_at`, `billing_name`, `state`, `base_grand_total`, `order_status`, `store_id`, `billing_address`, `shipping_address`, `customer_name`, `customer_email`, `customer_group_id`, `payment_method`, `shipping_information`, `subtotal`, `shipping_and_handling`, `adjustment_positive`, `adjustment_negative`, `order_base_grand_total`) VALUES (1,'000000001','2024-12-21 07:34:23','2024-12-21 07:34:23',2,'000000002','2024-12-21 07:34:23','Veronica Costello',2,39.6400,'closed',1,'6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Veronica Costello','roni_cost@example.com',1,'checkmo','Flat Rate - Fixed',32.0000,5.0000,NULL,NULL,39.6400);

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

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

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

INSERT INTO `sales_creditmemo_item` (`entity_id`, `parent_id`, `base_price`, `tax_amount`, `base_row_total`, `discount_amount`, `row_total`, `base_discount_amount`, `price_incl_tax`, `base_tax_amount`, `base_price_incl_tax`, `qty`, `base_cost`, `price`, `base_row_total_incl_tax`, `row_total_incl_tax`, `product_id`, `order_item_id`, `additional_data`, `description`, `sku`, `name`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `tax_ratio`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (1,1,32.0000,2.6400,32.0000,NULL,32.0000,NULL,34.6400,2.6400,34.6400,1.0000,NULL,32.0000,34.6400,34.6400,1492,2,NULL,NULL,'WS08-XS-Blue','Minerva LumaTech&trade; V-Tee',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000);

--
-- Table structure for table `sales_data_exporter_order_statuses`
--

CREATE TABLE `sales_data_exporter_order_statuses` (
  `status` varchar(255) NOT NULL COMMENT 'status',
  `feed_data` mediumtext NOT NULL COMMENT 'Feed Data',
  `modified_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'Modified At',
  PRIMARY KEY (`status`),
  KEY `SALES_DATA_EXPORTER_ORDER_STATUSES_MODIFIED_AT` (`modified_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Order Statuses Feed Storage';

--
-- Dumping data for table `sales_data_exporter_order_statuses`
--

INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('canceled','{\"status\":\"canceled\",\"label\":\"Canceled\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('closed','{\"status\":\"closed\",\"label\":\"Closed\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('complete','{\"status\":\"complete\",\"label\":\"Complete\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('fraud','{\"status\":\"fraud\",\"label\":\"Suspected Fraud\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('holded','{\"status\":\"holded\",\"label\":\"On Hold\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('payment_review','{\"status\":\"payment_review\",\"label\":\"Payment Review\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('paypal_canceled_reversal','{\"status\":\"paypal_canceled_reversal\",\"label\":\"PayPal Canceled Reversal\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('paypal_reversed','{\"status\":\"paypal_reversed\",\"label\":\"PayPal Reversed\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('pending','{\"status\":\"pending\",\"label\":\"Pending\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('pending_payment','{\"status\":\"pending_payment\",\"label\":\"Pending Payment\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('pending_paypal','{\"status\":\"pending_paypal\",\"label\":\"Pending PayPal\"}','2024-12-22 15:39:30');
INSERT INTO `sales_data_exporter_order_statuses` (`status`, `feed_data`, `modified_at`) VALUES ('processing','{\"status\":\"processing\",\"label\":\"Processing\"}','2024-12-22 15:39:30');

--
-- Table structure for table `sales_data_exporter_order_statuses_index_batches`
--

CREATE TABLE `sales_data_exporter_order_statuses_index_batches` (
  `batch_number` int(11) NOT NULL COMMENT 'Batch Number',
  `status` varchar(32) NOT NULL COMMENT 'Status',
  PRIMARY KEY (`batch_number`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='sales_data_exporter_order_statuses_index_batches';

--
-- Dumping data for table `sales_data_exporter_order_statuses_index_batches`
--

INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'canceled');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'closed');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'complete');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'fraud');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'holded');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'payment_review');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'paypal_canceled_reversal');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'paypal_reversed');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'pending');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'pending_payment');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'pending_paypal');
INSERT INTO `sales_data_exporter_order_statuses_index_batches` (`batch_number`, `status`) VALUES (1,'processing');

--
-- Table structure for table `sales_data_exporter_order_statuses_index_sequence`
--

CREATE TABLE `sales_data_exporter_order_statuses_index_sequence` (
  `i` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Auto Increment ID',
  PRIMARY KEY (`i`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='sales_data_exporter_order_statuses_index_sequence';

--
-- Dumping data for table `sales_data_exporter_order_statuses_index_sequence`
--

INSERT INTO `sales_data_exporter_order_statuses_index_sequence` (`i`) VALUES (1);
INSERT INTO `sales_data_exporter_order_statuses_index_sequence` (`i`) VALUES (2);

--
-- Table structure for table `sales_data_exporter_orders`
--

CREATE TABLE `sales_data_exporter_orders` (
  `id` int(10) unsigned NOT NULL COMMENT 'ID',
  `mode` varchar(255) NOT NULL COMMENT 'Order Payment Mode',
  `feed_data` mediumtext NOT NULL COMMENT 'Feed Data',
  `modified_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'Modified At',
  PRIMARY KEY (`id`),
  KEY `SALES_DATA_EXPORTER_ORDERS_MODIFIED_AT` (`modified_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Orders Feed Storage';

--
-- Dumping data for table `sales_data_exporter_orders`
--


--
-- Table structure for table `sales_data_exporter_orders_index_batches`
--

CREATE TABLE `sales_data_exporter_orders_index_batches` (
  `batch_number` int(11) NOT NULL COMMENT 'Batch Number',
  `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity Id',
  PRIMARY KEY (`batch_number`,`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='sales_data_exporter_orders_index_batches';

--
-- Dumping data for table `sales_data_exporter_orders_index_batches`
--

INSERT INTO `sales_data_exporter_orders_index_batches` (`batch_number`, `entity_id`) VALUES (1,1);
INSERT INTO `sales_data_exporter_orders_index_batches` (`batch_number`, `entity_id`) VALUES (1,2);
INSERT INTO `sales_data_exporter_orders_index_batches` (`batch_number`, `entity_id`) VALUES (1,3);
INSERT INTO `sales_data_exporter_orders_index_batches` (`batch_number`, `entity_id`) VALUES (1,4);
INSERT INTO `sales_data_exporter_orders_index_batches` (`batch_number`, `entity_id`) VALUES (1,5);
INSERT INTO `sales_data_exporter_orders_index_batches` (`batch_number`, `entity_id`) VALUES (1,6);
INSERT INTO `sales_data_exporter_orders_index_batches` (`batch_number`, `entity_id`) VALUES (1,7);

--
-- Table structure for table `sales_data_exporter_orders_index_sequence`
--

CREATE TABLE `sales_data_exporter_orders_index_sequence` (
  `i` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Auto Increment ID',
  PRIMARY KEY (`i`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='sales_data_exporter_orders_index_sequence';

--
-- Dumping data for table `sales_data_exporter_orders_index_sequence`
--

INSERT INTO `sales_data_exporter_orders_index_sequence` (`i`) VALUES (1);
INSERT INTO `sales_data_exporter_orders_index_sequence` (`i`) VALUES (2);

--
-- 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 DEFAULT NULL COMMENT 'Customer Note',
  `customer_note_notify` smallint(5) unsigned DEFAULT NULL COMMENT 'Customer Note Notify',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_INVOICE_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_INVOICE_STORE_ID` (`store_id`),
  KEY `SALES_INVOICE_GRAND_TOTAL` (`grand_total`),
  KEY `SALES_INVOICE_ORDER_ID` (`order_id`),
  KEY `SALES_INVOICE_STATE` (`state`),
  KEY `SALES_INVOICE_CREATED_AT` (`created_at`),
  KEY `SALES_INVOICE_UPDATED_AT` (`updated_at`),
  KEY `SALES_INVOICE_SEND_EMAIL` (`send_email`),
  KEY `SALES_INVOICE_EMAIL_SENT` (`email_sent`),
  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=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Invoice';

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

INSERT INTO `sales_invoice` (`entity_id`, `store_id`, `base_grand_total`, `shipping_tax_amount`, `tax_amount`, `base_tax_amount`, `store_to_order_rate`, `base_shipping_tax_amount`, `base_discount_amount`, `base_to_order_rate`, `grand_total`, `shipping_amount`, `subtotal_incl_tax`, `base_subtotal_incl_tax`, `store_to_base_rate`, `base_shipping_amount`, `total_qty`, `base_to_global_rate`, `subtotal`, `base_subtotal`, `discount_amount`, `billing_address_id`, `is_used_for_refund`, `order_id`, `email_sent`, `send_email`, `can_void_flag`, `state`, `shipping_address_id`, `store_currency_code`, `transaction_id`, `order_currency_code`, `base_currency_code`, `global_currency_code`, `increment_id`, `created_at`, `updated_at`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `shipping_incl_tax`, `base_shipping_incl_tax`, `base_total_refunded`, `discount_description`, `customer_note`, `customer_note_notify`) VALUES (1,1,36.3900,0.0000,2.3900,2.3900,0.0000,0.0000,0.0000,1.0000,36.3900,5.0000,31.3900,31.3900,0.0000,5.0000,1.0000,1.0000,29.0000,29.0000,0.0000,2,NULL,1,NULL,NULL,0,2,1,'USD',NULL,'USD','USD','USD','000000001','2024-12-21 07:34:22','2024-12-21 07:34:22',0.0000,0.0000,0.0000,0.0000,5.0000,5.0000,NULL,NULL,NULL,NULL);
INSERT INTO `sales_invoice` (`entity_id`, `store_id`, `base_grand_total`, `shipping_tax_amount`, `tax_amount`, `base_tax_amount`, `store_to_order_rate`, `base_shipping_tax_amount`, `base_discount_amount`, `base_to_order_rate`, `grand_total`, `shipping_amount`, `subtotal_incl_tax`, `base_subtotal_incl_tax`, `store_to_base_rate`, `base_shipping_amount`, `total_qty`, `base_to_global_rate`, `subtotal`, `base_subtotal`, `discount_amount`, `billing_address_id`, `is_used_for_refund`, `order_id`, `email_sent`, `send_email`, `can_void_flag`, `state`, `shipping_address_id`, `store_currency_code`, `transaction_id`, `order_currency_code`, `base_currency_code`, `global_currency_code`, `increment_id`, `created_at`, `updated_at`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `shipping_incl_tax`, `base_shipping_incl_tax`, `base_total_refunded`, `discount_description`, `customer_note`, `customer_note_notify`) VALUES (2,1,39.6400,0.0000,2.6400,2.6400,0.0000,0.0000,0.0000,1.0000,39.6400,5.0000,34.6400,34.6400,0.0000,5.0000,1.0000,1.0000,32.0000,32.0000,0.0000,4,NULL,2,NULL,NULL,0,2,3,'USD',NULL,'USD','USD','USD','000000002','2024-12-21 07:34:23','2024-12-21 07:34:23',0.0000,0.0000,0.0000,0.0000,5.0000,5.0000,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 DEFAULT NULL 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=utf8mb3 COLLATE=utf8mb3_general_ci 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=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Invoice Grid';

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

INSERT INTO `sales_invoice_grid` (`entity_id`, `increment_id`, `state`, `store_id`, `store_name`, `order_id`, `order_increment_id`, `order_created_at`, `customer_name`, `customer_email`, `customer_group_id`, `payment_method`, `store_currency_code`, `order_currency_code`, `base_currency_code`, `global_currency_code`, `billing_name`, `billing_address`, `shipping_address`, `shipping_information`, `subtotal`, `shipping_and_handling`, `grand_total`, `created_at`, `updated_at`, `base_grand_total`) VALUES (1,'000000001',2,1,'Main Website\nMain Website Store\nDefault Store View',1,'000000001','2024-12-21 07:34:22','Veronica Costello','roni_cost@example.com',1,'checkmo','USD','USD','USD','USD','Veronica Costello','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Flat Rate - Fixed',29.0000,5.0000,36.3900,'2024-12-21 07:34:22','2024-12-21 07:34:22',36.3900);
INSERT INTO `sales_invoice_grid` (`entity_id`, `increment_id`, `state`, `store_id`, `store_name`, `order_id`, `order_increment_id`, `order_created_at`, `customer_name`, `customer_email`, `customer_group_id`, `payment_method`, `store_currency_code`, `order_currency_code`, `base_currency_code`, `global_currency_code`, `billing_name`, `billing_address`, `shipping_address`, `shipping_information`, `subtotal`, `shipping_and_handling`, `grand_total`, `created_at`, `updated_at`, `base_grand_total`) VALUES (2,'000000002',2,1,'Main Website\nMain Website Store\nDefault Store View',2,'000000002','2024-12-21 07:34:23','Veronica Costello','roni_cost@example.com',1,'checkmo','USD','USD','USD','USD','Veronica Costello','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Flat Rate - Fixed',32.0000,5.0000,39.6400,'2024-12-21 07:34:23','2024-12-21 07:34:23',39.6400);

--
-- 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(20,4) DEFAULT NULL COMMENT 'Base Price',
  `tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Tax Amount',
  `base_row_total` decimal(20,4) DEFAULT NULL COMMENT 'Base Row Total',
  `discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Discount Amount',
  `row_total` decimal(20,4) DEFAULT NULL COMMENT 'Row Total',
  `base_discount_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Discount Amount',
  `price_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Price Incl Tax',
  `base_tax_amount` decimal(20,4) DEFAULT NULL COMMENT 'Base Tax Amount',
  `base_price_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Price Incl Tax',
  `qty` decimal(12,4) DEFAULT NULL COMMENT 'Qty',
  `base_cost` decimal(20,4) DEFAULT NULL COMMENT 'Base Cost',
  `price` decimal(20,4) DEFAULT NULL COMMENT 'Price',
  `base_row_total_incl_tax` decimal(20,4) DEFAULT NULL COMMENT 'Base Row Total Incl Tax',
  `row_total_incl_tax` decimal(20,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 DEFAULT NULL COMMENT 'Additional Data',
  `description` text DEFAULT NULL COMMENT 'Description',
  `sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
  `name` varchar(255) DEFAULT NULL COMMENT 'Name',
  `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',
  `tax_ratio` text DEFAULT NULL COMMENT 'Ratio of tax invoiced over tax of the order item',
  `weee_tax_applied` text DEFAULT NULL 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=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Invoice Item';

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

INSERT INTO `sales_invoice_item` (`entity_id`, `parent_id`, `base_price`, `tax_amount`, `base_row_total`, `discount_amount`, `row_total`, `base_discount_amount`, `price_incl_tax`, `base_tax_amount`, `base_price_incl_tax`, `qty`, `base_cost`, `price`, `base_row_total_incl_tax`, `row_total_incl_tax`, `product_id`, `order_item_id`, `additional_data`, `description`, `sku`, `name`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `tax_ratio`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (1,1,29.0000,2.3900,29.0000,NULL,29.0000,NULL,31.3900,2.3900,31.3900,1.0000,NULL,29.0000,31.3900,31.3900,1428,1,NULL,NULL,'WS03-XS-Red','Iris Workout Top',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000);
INSERT INTO `sales_invoice_item` (`entity_id`, `parent_id`, `base_price`, `tax_amount`, `base_row_total`, `discount_amount`, `row_total`, `base_discount_amount`, `price_incl_tax`, `base_tax_amount`, `base_price_incl_tax`, `qty`, `base_cost`, `price`, `base_row_total_incl_tax`, `row_total_incl_tax`, `product_id`, `order_item_id`, `additional_data`, `description`, `sku`, `name`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `tax_ratio`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (2,2,32.0000,2.6400,32.0000,NULL,32.0000,NULL,34.6400,2.6400,34.6400,1.0000,NULL,32.0000,34.6400,34.6400,1492,2,NULL,NULL,'WS08-XS-Blue','Minerva LumaTech&trade; V-Tee',0.0000,0.0000,NULL,'[]',NULL,0.0000,NULL,0.0000,NULL,NULL,NULL,0.0000);

--
-- Table structure for table `sales_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(20,4) DEFAULT NULL COMMENT 'Orders Invoiced',
  `invoiced` decimal(20,4) DEFAULT NULL COMMENT 'Invoiced',
  `invoiced_captured` decimal(20,4) DEFAULT NULL COMMENT 'Invoiced Captured',
  `invoiced_not_captured` decimal(20,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=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Invoiced Aggregated';

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

INSERT INTO `sales_invoiced_aggregated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (7,'2024-12-21',1,'closed',1,1.0000,39.6400,39.6400,0.0000);
INSERT INTO `sales_invoiced_aggregated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (8,'2024-12-21',1,'processing',1,1.0000,36.3900,36.3900,0.0000);
INSERT INTO `sales_invoiced_aggregated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (10,'2024-12-21',0,'closed',1,1.0000,39.6400,39.6400,0.0000);
INSERT INTO `sales_invoiced_aggregated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (11,'2024-12-21',0,'processing',1,1.0000,36.3900,36.3900,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(20,4) DEFAULT NULL COMMENT 'Orders Invoiced',
  `invoiced` decimal(20,4) DEFAULT NULL COMMENT 'Invoiced',
  `invoiced_captured` decimal(20,4) DEFAULT NULL COMMENT 'Invoiced Captured',
  `invoiced_not_captured` decimal(20,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=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Invoiced Aggregated Order';

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

INSERT INTO `sales_invoiced_aggregated_order` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (7,'2024-12-21',1,'closed',1,1.0000,39.6400,39.6400,0.0000);
INSERT INTO `sales_invoiced_aggregated_order` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (8,'2024-12-21',1,'processing',1,1.0000,36.3900,36.3900,0.0000);
INSERT INTO `sales_invoiced_aggregated_order` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (10,'2024-12-21',0,'closed',1,1.0000,39.6400,39.6400,0.0000);
INSERT INTO `sales_invoiced_aggregated_order` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `orders_invoiced`, `invoiced`, `invoiced_captured`, `invoiced_not_captured`) VALUES (11,'2024-12-21',0,'processing',1,1.0000,36.3900,36.3900,0.0000);

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

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

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

INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (1,'processing','processing',NULL,'f0aeb7ebd5232ebff13e5c755c65e859','Flat Rate - Fixed',0,1,1,0.0000,NULL,0.0000,NULL,36.3900,5.0000,NULL,5.0000,NULL,0.0000,NULL,29.0000,NULL,29.0000,NULL,2.3900,NULL,2.3900,NULL,1.0000,1.0000,NULL,36.3900,0.0000,NULL,NULL,36.3900,NULL,NULL,0.0000,NULL,0.0000,NULL,36.3900,5.0000,NULL,5.0000,NULL,0.0000,NULL,0.0000,0.0000,29.0000,NULL,29.0000,NULL,2.3900,NULL,2.3900,NULL,NULL,36.3900,NULL,NULL,36.3900,1.0000,NULL,NULL,NULL,0,1,2,1,NULL,NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,0.0000,31.3900,36.3900,NULL,0.0000,31.3900,36.3900,1.0000,'1973-12-15 00:00:00','000000001','1','USD','roni_cost@example.com','Veronica','Costello',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,'flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-21 07:34:22','2024-12-21 07:34:22',1,2,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,5.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (2,'closed','closed',NULL,'e774c71a9341739ca369e41c667188b3','Flat Rate - Fixed',0,1,1,0.0000,NULL,0.0000,0.0000,39.6400,5.0000,NULL,5.0000,5.0000,0.0000,0.0000,32.0000,NULL,32.0000,32.0000,2.6400,NULL,2.6400,2.6400,1.0000,1.0000,NULL,39.6400,0.0000,39.6400,NULL,39.6400,NULL,39.6400,0.0000,NULL,0.0000,0.0000,39.6400,5.0000,NULL,5.0000,5.0000,0.0000,0.0000,0.0000,0.0000,32.0000,NULL,32.0000,32.0000,2.6400,NULL,2.6400,2.6400,NULL,39.6400,39.6400,NULL,39.6400,1.0000,39.6400,NULL,NULL,0,1,4,1,NULL,NULL,NULL,NULL,NULL,NULL,2,3,0.0000,0.0000,0.0000,0.0000,0.0000,34.6400,0.0000,NULL,0.0000,34.6400,0.0000,1.0000,'1973-12-15 00:00:00','000000002','1','USD','roni_cost@example.com','Veronica','Costello',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,'flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-21 07:34:23','2024-12-21 07:34:23',1,2,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,5.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (3,'new','pending',NULL,'9628a5ccd2733b8f2b5f7bfa097a3970','Flat Rate - Fixed',0,1,2,0.0000,NULL,NULL,NULL,29.0000,5.0000,NULL,NULL,NULL,0.0000,NULL,24.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,29000.0000,5000.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,24000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,0,1,6,1,NULL,1,1,NULL,NULL,NULL,3,5,NULL,NULL,NULL,NULL,0.0000,24.0000,29.0000,NULL,0.0000,24000.0000,29000.0000,1.0000,NULL,'000000003',NULL,'USD','djnner@proton.me','Le Bao Minh','Dao',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'42.114.34.162','flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-21 08:55:11','2024-12-21 08:55:12',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,5000.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (4,'new','pending',NULL,'3c0b2fe5e304bbf0ad0870f652a0762a',NULL,1,1,NULL,0.0000,NULL,NULL,NULL,138.0000,0.0000,NULL,NULL,NULL,0.0000,NULL,138.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,138000.0000,0.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,138000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,1,1,7,0,NULL,1,1,NULL,NULL,NULL,7,NULL,NULL,NULL,NULL,NULL,0.0000,138.0000,138.0000,NULL,0.0000,138000.0000,138000.0000,0.0000,NULL,'000000004','2','USD','trungstatheros2904@gmail.com','tri','tam',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'171.225.203.81',NULL,'USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 09:47:41','2024-12-22 09:47:42',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (5,'pending_payment','pending_payment',NULL,'b0ab9d28e7bdb925978acb178fc7f439',NULL,1,1,2,-56.0000,NULL,NULL,NULL,224.0000,0.0000,NULL,NULL,NULL,0.0000,NULL,280.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,-56000.0000,NULL,NULL,NULL,224000.0000,0.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,280000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,0,1,8,1,NULL,NULL,NULL,NULL,NULL,NULL,9,NULL,NULL,NULL,NULL,NULL,0.0000,280.0000,224.0000,NULL,0.0000,280000.0000,224000.0000,0.0000,NULL,'000000005','2,3','USD','djnner@proton.me','Le Bao Minh','Dao',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'42.114.34.162',NULL,'USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 15:33:50','2024-12-22 15:33:50',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,0.0000,0.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (6,'pending_payment','pending_payment',NULL,'3521e8ad89987a7ab3acfdfd3d7fa95b','Flat Rate - Fixed',0,1,2,0.0000,NULL,NULL,NULL,12.0000,5.0000,NULL,NULL,NULL,0.0000,NULL,7.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,12000.0000,5000.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,7000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,0,1,10,1,NULL,NULL,NULL,NULL,NULL,NULL,11,9,NULL,NULL,NULL,NULL,0.0000,7.0000,12.0000,NULL,0.0000,7000.0000,12000.0000,0.0000,NULL,'000000006',NULL,'USD','djnner@proton.me','Le Bao Minh','Dao',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'42.114.34.162','flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 15:34:22','2024-12-22 15:34:22',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,5000.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (7,'pending_payment','pending_payment',NULL,'4fa3ce183765c135e402cd4378196cf3','Flat Rate - Fixed',0,1,2,0.0000,NULL,NULL,NULL,39.0000,5.0000,NULL,NULL,NULL,0.0000,NULL,34.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,39000.0000,5000.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,34000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,0,1,12,1,NULL,NULL,NULL,NULL,NULL,NULL,12,11,NULL,NULL,NULL,NULL,0.0000,34.0000,39.0000,NULL,0.0000,34000.0000,39000.0000,0.0000,NULL,'000000007',NULL,'USD','djnner@proton.me','Le Bao Minh','Dao',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'42.114.34.162','flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 15:37:50','2024-12-22 15:37:50',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,5000.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (8,'new','pending',NULL,'5454c5cabb8be280c55c0a6675473c4b','Flat Rate - Fixed',0,1,NULL,0.0000,NULL,NULL,NULL,155.0000,5.0000,NULL,NULL,NULL,0.0000,NULL,150.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,155000.0000,5000.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,150000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,1,1,14,0,NULL,1,1,NULL,NULL,NULL,13,13,NULL,NULL,NULL,NULL,0.0000,150.0000,155.0000,NULL,0.0000,150000.0000,155000.0000,0.0000,NULL,'000000008','2','USD','johndoe@domain.com','acfysghcj','agfywghij',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'171.225.201.123','flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 15:39:41','2024-12-22 15:39:42',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,5000.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (9,'pending_payment','pending_payment',NULL,'e7dc878db1423ca15642eb28fada6cfc','Flat Rate - Fixed',0,1,2,0.0000,NULL,NULL,NULL,39.0000,5.0000,NULL,NULL,NULL,0.0000,NULL,34.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,39000.0000,5000.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,34000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,0,1,16,1,NULL,NULL,NULL,NULL,NULL,NULL,14,15,NULL,NULL,NULL,NULL,0.0000,34.0000,39.0000,NULL,0.0000,34000.0000,39000.0000,0.0000,NULL,'000000009',NULL,'USD','djnner@proton.me','Le Bao Minh','Dao',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'42.114.34.162','flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 15:41:00','2024-12-22 15:41:00',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,5000.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (10,'new','pending',NULL,'07d8e40d02aad82581f5731911bbd0ae','Flat Rate - Fixed',0,1,2,0.0000,NULL,NULL,NULL,155.0000,5.0000,NULL,NULL,NULL,0.0000,NULL,150.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,155000.0000,5000.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,150000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,0,1,18,1,NULL,1,1,NULL,NULL,NULL,15,17,NULL,NULL,NULL,NULL,0.0000,150.0000,155.0000,NULL,0.0000,150000.0000,155000.0000,0.0000,NULL,'000000010','2','USD','djnner@proton.me','Le Bao Minh','Dao',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'42.114.34.162','flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 15:43:11','2024-12-22 15:43:12',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,5000.0000,5.0000,NULL,NULL,0,NULL);
INSERT INTO `sales_order` (`entity_id`, `state`, `status`, `coupon_code`, `protect_code`, `shipping_description`, `is_virtual`, `store_id`, `customer_id`, `base_discount_amount`, `base_discount_canceled`, `base_discount_invoiced`, `base_discount_refunded`, `base_grand_total`, `base_shipping_amount`, `base_shipping_canceled`, `base_shipping_invoiced`, `base_shipping_refunded`, `base_shipping_tax_amount`, `base_shipping_tax_refunded`, `base_subtotal`, `base_subtotal_canceled`, `base_subtotal_invoiced`, `base_subtotal_refunded`, `base_tax_amount`, `base_tax_canceled`, `base_tax_invoiced`, `base_tax_refunded`, `base_to_global_rate`, `base_to_order_rate`, `base_total_canceled`, `base_total_invoiced`, `base_total_invoiced_cost`, `base_total_offline_refunded`, `base_total_online_refunded`, `base_total_paid`, `base_total_qty_ordered`, `base_total_refunded`, `discount_amount`, `discount_canceled`, `discount_invoiced`, `discount_refunded`, `grand_total`, `shipping_amount`, `shipping_canceled`, `shipping_invoiced`, `shipping_refunded`, `shipping_tax_amount`, `shipping_tax_refunded`, `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `subtotal_canceled`, `subtotal_invoiced`, `subtotal_refunded`, `tax_amount`, `tax_canceled`, `tax_invoiced`, `tax_refunded`, `total_canceled`, `total_invoiced`, `total_offline_refunded`, `total_online_refunded`, `total_paid`, `total_qty_ordered`, `total_refunded`, `can_ship_partially`, `can_ship_partially_item`, `customer_is_guest`, `customer_note_notify`, `billing_address_id`, `customer_group_id`, `edit_increment`, `email_sent`, `send_email`, `forced_shipment_with_invoice`, `payment_auth_expiration`, `quote_address_id`, `quote_id`, `shipping_address_id`, `adjustment_negative`, `adjustment_positive`, `base_adjustment_negative`, `base_adjustment_positive`, `base_shipping_discount_amount`, `base_subtotal_incl_tax`, `base_total_due`, `payment_authorization_amount`, `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, `weight`, `customer_dob`, `increment_id`, `applied_rule_ids`, `base_currency_code`, `customer_email`, `customer_firstname`, `customer_lastname`, `customer_middlename`, `customer_prefix`, `customer_suffix`, `customer_taxvat`, `discount_description`, `ext_customer_id`, `ext_order_id`, `global_currency_code`, `hold_before_state`, `hold_before_status`, `order_currency_code`, `original_increment_id`, `relation_child_id`, `relation_child_real_id`, `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method`, `store_currency_code`, `store_name`, `x_forwarded_for`, `customer_note`, `created_at`, `updated_at`, `total_item_count`, `customer_gender`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `shipping_discount_tax_compensation_amount`, `base_shipping_discount_tax_compensation_amnt`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, `base_shipping_incl_tax`, `coupon_rule_name`, `gift_message_id`, `paypal_ipn_customer_notified`, `dispute_status`) VALUES (11,'new','pending',NULL,'55a46fe0a02c81801125a17c7dbde0a3','Flat Rate - Fixed',0,1,2,0.0000,NULL,NULL,NULL,17.0000,5.0000,NULL,NULL,NULL,0.0000,NULL,12.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,1.0000,1000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,17000.0000,5000.0000,NULL,NULL,NULL,0.0000,NULL,0.0000,0.0000,12000.0000,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.0000,NULL,NULL,NULL,0,1,20,1,NULL,1,1,NULL,NULL,NULL,16,19,NULL,NULL,NULL,NULL,0.0000,12.0000,17.0000,NULL,0.0000,12000.0000,17000.0000,0.0000,NULL,'000000011',NULL,'USD','djnner@proton.me','Le Bao Minh','Dao',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,'VND',NULL,NULL,NULL,NULL,NULL,'42.114.34.162','flatrate_flatrate','USD','Main Website\nMain Website Store\nDefault Store View',NULL,NULL,'2024-12-22 15:49:09','2024-12-22 15:49:10',1,NULL,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,5000.0000,5.0000,NULL,NULL,0,NULL);
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=CURRENT_USER*/ /*!50003 TRIGGER trg_sales_order_after_insert AFTER INSERT ON sales_order FOR EACH ROW
BEGIN
INSERT IGNORE INTO `sales_order_data_exporter_cl` (`entity_id`) VALUES (NEW.`entity_id`);
END */;;
DELIMITER ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=CURRENT_USER*/ /*!50003 TRIGGER trg_sales_order_after_update AFTER UPDATE ON sales_order FOR EACH ROW
BEGIN
IF (NOT(NEW.`entity_id` <=> OLD.`entity_id`) OR NOT(NEW.`state` <=> OLD.`state`) OR NOT(NEW.`status` <=> OLD.`status`) OR NOT(NEW.`coupon_code` <=> OLD.`coupon_code`) OR NOT(NEW.`protect_code` <=> OLD.`protect_code`) OR NOT(NEW.`shipping_description` <=> OLD.`shipping_description`) OR NOT(NEW.`is_virtual` <=> OLD.`is_virtual`) OR NOT(NEW.`store_id` <=> OLD.`store_id`) OR NOT(NEW.`customer_id` <=> OLD.`customer_id`) OR NOT(NEW.`base_discount_amount` <=> OLD.`base_discount_amount`) OR NOT(NEW.`base_discount_canceled` <=> OLD.`base_discount_canceled`) OR NOT(NEW.`base_discount_invoiced` <=> OLD.`base_discount_invoiced`) OR NOT(NEW.`base_discount_refunded` <=> OLD.`base_discount_refunded`) OR NOT(NEW.`base_grand_total` <=> OLD.`base_grand_total`) OR NOT(NEW.`base_shipping_amount` <=> OLD.`base_shipping_amount`) OR NOT(NEW.`base_shipping_canceled` <=> OLD.`base_shipping_canceled`) OR NOT(NEW.`base_shipping_invoiced` <=> OLD.`base_shipping_invoiced`) OR NOT(NEW.`base_shipping_refunded` <=> OLD.`base_shipping_refunded`) OR NOT(NEW.`base_shipping_tax_amount` <=> OLD.`base_shipping_tax_amount`) OR NOT(NEW.`base_shipping_tax_refunded` <=> OLD.`base_shipping_tax_refunded`) OR NOT(NEW.`base_subtotal` <=> OLD.`base_subtotal`) OR NOT(NEW.`base_subtotal_canceled` <=> OLD.`base_subtotal_canceled`) OR NOT(NEW.`base_subtotal_invoiced` <=> OLD.`base_subtotal_invoiced`) OR NOT(NEW.`base_subtotal_refunded` <=> OLD.`base_subtotal_refunded`) OR NOT(NEW.`base_tax_amount` <=> OLD.`base_tax_amount`) OR NOT(NEW.`base_tax_canceled` <=> OLD.`base_tax_canceled`) OR NOT(NEW.`base_tax_invoiced` <=> OLD.`base_tax_invoiced`) OR NOT(NEW.`base_tax_refunded` <=> OLD.`base_tax_refunded`) OR NOT(NEW.`base_to_global_rate` <=> OLD.`base_to_global_rate`) OR NOT(NEW.`base_to_order_rate` <=> OLD.`base_to_order_rate`) OR NOT(NEW.`base_total_canceled` <=> OLD.`base_total_canceled`) OR NOT(NEW.`base_total_invoiced` <=> OLD.`base_total_invoiced`) OR NOT(NEW.`base_total_invoiced_cost` <=> OLD.`base_total_invoiced_cost`) OR NOT(NEW.`base_total_offline_refunded` <=> OLD.`base_total_offline_refunded`) OR NOT(NEW.`base_total_online_refunded` <=> OLD.`base_total_online_refunded`) OR NOT(NEW.`base_total_paid` <=> OLD.`base_total_paid`) OR NOT(NEW.`base_total_qty_ordered` <=> OLD.`base_total_qty_ordered`) OR NOT(NEW.`base_total_refunded` <=> OLD.`base_total_refunded`) OR NOT(NEW.`discount_amount` <=> OLD.`discount_amount`) OR NOT(NEW.`discount_canceled` <=> OLD.`discount_canceled`) OR NOT(NEW.`discount_invoiced` <=> OLD.`discount_invoiced`) OR NOT(NEW.`discount_refunded` <=> OLD.`discount_refunded`) OR NOT(NEW.`grand_total` <=> OLD.`grand_total`) OR NOT(NEW.`shipping_amount` <=> OLD.`shipping_amount`) OR NOT(NEW.`shipping_canceled` <=> OLD.`shipping_canceled`) OR NOT(NEW.`shipping_invoiced` <=> OLD.`shipping_invoiced`) OR NOT(NEW.`shipping_refunded` <=> OLD.`shipping_refunded`) OR NOT(NEW.`shipping_tax_amount` <=> OLD.`shipping_tax_amount`) OR NOT(NEW.`shipping_tax_refunded` <=> OLD.`shipping_tax_refunded`) OR NOT(NEW.`store_to_base_rate` <=> OLD.`store_to_base_rate`) OR NOT(NEW.`store_to_order_rate` <=> OLD.`store_to_order_rate`) OR NOT(NEW.`subtotal` <=> OLD.`subtotal`) OR NOT(NEW.`subtotal_canceled` <=> OLD.`subtotal_canceled`) OR NOT(NEW.`subtotal_invoiced` <=> OLD.`subtotal_invoiced`) OR NOT(NEW.`subtotal_refunded` <=> OLD.`subtotal_refunded`) OR NOT(NEW.`tax_amount` <=> OLD.`tax_amount`) OR NOT(NEW.`tax_canceled` <=> OLD.`tax_canceled`) OR NOT(NEW.`tax_invoiced` <=> OLD.`tax_invoiced`) OR NOT(NEW.`tax_refunded` <=> OLD.`tax_refunded`) OR NOT(NEW.`total_canceled` <=> OLD.`total_canceled`) OR NOT(NEW.`total_invoiced` <=> OLD.`total_invoiced`) OR NOT(NEW.`total_offline_refunded` <=> OLD.`total_offline_refunded`) OR NOT(NEW.`total_online_refunded` <=> OLD.`total_online_refunded`) OR NOT(NEW.`total_paid` <=> OLD.`total_paid`) OR NOT(NEW.`total_qty_ordered` <=> OLD.`total_qty_ordered`) OR NOT(NEW.`total_refunded` <=> OLD.`total_refunded`) OR NOT(NEW.`can_ship_partially` <=> OLD.`can_ship_partially`) OR NOT(NEW.`can_ship_partially_item` <=> OLD.`can_ship_partially_item`) OR NOT(NEW.`customer_is_guest` <=> OLD.`customer_is_guest`) OR NOT(NEW.`customer_note_notify` <=> OLD.`customer_note_notify`) OR NOT(NEW.`billing_address_id` <=> OLD.`billing_address_id`) OR NOT(NEW.`customer_group_id` <=> OLD.`customer_group_id`) OR NOT(NEW.`edit_increment` <=> OLD.`edit_increment`) OR NOT(NEW.`email_sent` <=> OLD.`email_sent`) OR NOT(NEW.`send_email` <=> OLD.`send_email`) OR NOT(NEW.`forced_shipment_with_invoice` <=> OLD.`forced_shipment_with_invoice`) OR NOT(NEW.`payment_auth_expiration` <=> OLD.`payment_auth_expiration`) OR NOT(NEW.`quote_address_id` <=> OLD.`quote_address_id`) OR NOT(NEW.`quote_id` <=> OLD.`quote_id`) OR NOT(NEW.`shipping_address_id` <=> OLD.`shipping_address_id`) OR NOT(NEW.`adjustment_negative` <=> OLD.`adjustment_negative`) OR NOT(NEW.`adjustment_positive` <=> OLD.`adjustment_positive`) OR NOT(NEW.`base_adjustment_negative` <=> OLD.`base_adjustment_negative`) OR NOT(NEW.`base_adjustment_positive` <=> OLD.`base_adjustment_positive`) OR NOT(NEW.`base_shipping_discount_amount` <=> OLD.`base_shipping_discount_amount`) OR NOT(NEW.`base_subtotal_incl_tax` <=> OLD.`base_subtotal_incl_tax`) OR NOT(NEW.`base_total_due` <=> OLD.`base_total_due`) OR NOT(NEW.`payment_authorization_amount` <=> OLD.`payment_authorization_amount`) OR NOT(NEW.`shipping_discount_amount` <=> OLD.`shipping_discount_amount`) OR NOT(NEW.`subtotal_incl_tax` <=> OLD.`subtotal_incl_tax`) OR NOT(NEW.`total_due` <=> OLD.`total_due`) OR NOT(NEW.`weight` <=> OLD.`weight`) OR NOT(NEW.`customer_dob` <=> OLD.`customer_dob`) OR NOT(NEW.`increment_id` <=> OLD.`increment_id`) OR NOT(NEW.`applied_rule_ids` <=> OLD.`applied_rule_ids`) OR NOT(NEW.`base_currency_code` <=> OLD.`base_currency_code`) OR NOT(NEW.`customer_email` <=> OLD.`customer_email`) OR NOT(NEW.`customer_firstname` <=> OLD.`customer_firstname`) OR NOT(NEW.`customer_lastname` <=> OLD.`customer_lastname`) OR NOT(NEW.`customer_middlename` <=> OLD.`customer_middlename`) OR NOT(NEW.`customer_prefix` <=> OLD.`customer_prefix`) OR NOT(NEW.`customer_suffix` <=> OLD.`customer_suffix`) OR NOT(NEW.`customer_taxvat` <=> OLD.`customer_taxvat`) OR NOT(NEW.`discount_description` <=> OLD.`discount_description`) OR NOT(NEW.`ext_customer_id` <=> OLD.`ext_customer_id`) OR NOT(NEW.`ext_order_id` <=> OLD.`ext_order_id`) OR NOT(NEW.`global_currency_code` <=> OLD.`global_currency_code`) OR NOT(NEW.`hold_before_state` <=> OLD.`hold_before_state`) OR NOT(NEW.`hold_before_status` <=> OLD.`hold_before_status`) OR NOT(NEW.`order_currency_code` <=> OLD.`order_currency_code`) OR NOT(NEW.`original_increment_id` <=> OLD.`original_increment_id`) OR NOT(NEW.`relation_child_id` <=> OLD.`relation_child_id`) OR NOT(NEW.`relation_child_real_id` <=> OLD.`relation_child_real_id`) OR NOT(NEW.`relation_parent_id` <=> OLD.`relation_parent_id`) OR NOT(NEW.`relation_parent_real_id` <=> OLD.`relation_parent_real_id`) OR NOT(NEW.`remote_ip` <=> OLD.`remote_ip`) OR NOT(NEW.`shipping_method` <=> OLD.`shipping_method`) OR NOT(NEW.`store_currency_code` <=> OLD.`store_currency_code`) OR NOT(NEW.`store_name` <=> OLD.`store_name`) OR NOT(NEW.`x_forwarded_for` <=> OLD.`x_forwarded_for`) OR NOT(NEW.`customer_note` <=> OLD.`customer_note`) OR NOT(NEW.`created_at` <=> OLD.`created_at`) OR NOT(NEW.`total_item_count` <=> OLD.`total_item_count`) OR NOT(NEW.`customer_gender` <=> OLD.`customer_gender`) OR NOT(NEW.`discount_tax_compensation_amount` <=> OLD.`discount_tax_compensation_amount`) OR NOT(NEW.`base_discount_tax_compensation_amount` <=> OLD.`base_discount_tax_compensation_amount`) OR NOT(NEW.`shipping_discount_tax_compensation_amount` <=> OLD.`shipping_discount_tax_compensation_amount`) OR NOT(NEW.`base_shipping_discount_tax_compensation_amnt` <=> OLD.`base_shipping_discount_tax_compensation_amnt`) OR NOT(NEW.`discount_tax_compensation_invoiced` <=> OLD.`discount_tax_compensation_invoiced`) OR NOT(NEW.`base_discount_tax_compensation_invoiced` <=> OLD.`base_discount_tax_compensation_invoiced`) OR NOT(NEW.`discount_tax_compensation_refunded` <=> OLD.`discount_tax_compensation_refunded`) OR NOT(NEW.`base_discount_tax_compensation_refunded` <=> OLD.`base_discount_tax_compensation_refunded`) OR NOT(NEW.`shipping_incl_tax` <=> OLD.`shipping_incl_tax`) OR NOT(NEW.`base_shipping_incl_tax` <=> OLD.`base_shipping_incl_tax`) OR NOT(NEW.`coupon_rule_name` <=> OLD.`coupon_rule_name`) OR NOT(NEW.`gift_message_id` <=> OLD.`gift_message_id`) OR NOT(NEW.`paypal_ipn_customer_notified` <=> OLD.`paypal_ipn_customer_notified`) OR NOT(NEW.`dispute_status` <=> OLD.`dispute_status`)) THEN INSERT IGNORE INTO `sales_order_data_exporter_cl` (`entity_id`) VALUES (NEW.`entity_id`); END IF;
END */;;
DELIMITER ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=CURRENT_USER*/ /*!50003 TRIGGER trg_sales_order_after_delete AFTER DELETE ON sales_order FOR EACH ROW
BEGIN
INSERT IGNORE INTO `sales_order_data_exporter_cl` (`entity_id`) VALUES (OLD.`entity_id`);
END */;;
DELIMITER ;

--
-- 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 DEFAULT NULL COMMENT 'Vat ID',
  `vat_is_valid` smallint(6) DEFAULT NULL COMMENT 'Vat Is Valid',
  `vat_request_id` text DEFAULT NULL COMMENT 'Vat Request ID',
  `vat_request_date` text DEFAULT NULL COMMENT 'Vat Request Date',
  `vat_request_success` smallint(6) DEFAULT NULL COMMENT 'Vat Request Success',
  PRIMARY KEY (`entity_id`),
  KEY `SALES_ORDER_ADDRESS_PARENT_ID` (`parent_id`),
  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=21 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Order Address';

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

INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (1,1,1,2,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (2,1,1,1,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (3,2,1,4,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (4,2,1,3,33,NULL,NULL,'Michigan','49628-7978','Costello','6146 Honey Bluff Parkway','Calder','roni_cost@example.com','(555) 229-3326','US','Veronica','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (5,3,2,6,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (6,3,2,9,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (7,4,NULL,17,NULL,NULL,NULL,'HN','29','tam','47 PVD','Ha Noi','trungstatheros2904@gmail.com','0387258055','VN','tri','billing',NULL,NULL,NULL,'bca',NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (8,5,2,25,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (9,6,2,27,0,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (10,6,2,29,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (11,7,2,31,0,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (12,7,2,33,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (13,8,NULL,35,15,NULL,NULL,'Delaware','180000','agfywghij','jgfxygadhj','jshgyafygh','johndoe@domain.com','1000000','US','acfysghcj','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (14,8,NULL,36,15,NULL,NULL,'Delaware','180000','agfywghij','jgfxygadhj','jshgyafygh','johndoe@domain.com','1000000','US','acfysghcj','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (15,9,2,38,0,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (16,9,2,40,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (17,10,2,42,0,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (18,10,2,43,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (19,11,2,45,0,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','shipping',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_address` (`entity_id`, `parent_id`, `customer_address_id`, `quote_address_id`, `region_id`, `customer_id`, `fax`, `region`, `postcode`, `lastname`, `street`, `city`, `email`, `telephone`, `country_id`, `firstname`, `address_type`, `prefix`, `middlename`, `suffix`, `company`, `vat_id`, `vat_is_valid`, `vat_request_id`, `vat_request_date`, `vat_request_success`) VALUES (20,11,2,46,NULL,NULL,NULL,NULL,'122000','Dao','Cau Giay','Ha Noi','djnner@proton.me','0794568992','VN','Le Bao Minh','billing',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

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

CREATE TABLE `sales_order_aggregated_created` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `period` date DEFAULT NULL COMMENT 'Period',
  `store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store ID',
  `order_status` varchar(50) NOT NULL COMMENT 'Order Status',
  `orders_count` int(11) NOT NULL DEFAULT 0 COMMENT 'Orders Count',
  `total_qty_ordered` decimal(12,4) NOT NULL DEFAULT 0.0000 COMMENT 'Total Qty Ordered',
  `total_qty_invoiced` decimal(12,4) NOT NULL DEFAULT 0.0000 COMMENT 'Total Qty Invoiced',
  `total_income_amount` decimal(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=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Order Aggregated Created';

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

INSERT INTO `sales_order_aggregated_created` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (7,'2024-12-21',1,'closed',1,1.0000,1.0000,39.6400,0.0000,-7.6400,39.6400,0.0000,39.6400,39.6400,2.6400,0.0000,5.0000,0.0000,0.0000,0.0000);
INSERT INTO `sales_order_aggregated_created` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (8,'2024-12-21',1,'processing',1,1.0000,1.0000,36.3900,29.0000,29.0000,36.3900,0.0000,36.3900,0.0000,2.3900,2.3900,5.0000,5.0000,0.0000,0.0000);
INSERT INTO `sales_order_aggregated_created` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (10,'2024-12-21',0,'closed',1,1.0000,1.0000,39.6400,0.0000,-7.6400,39.6400,0.0000,39.6400,39.6400,2.6400,0.0000,5.0000,0.0000,0.0000,0.0000);
INSERT INTO `sales_order_aggregated_created` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (11,'2024-12-21',0,'processing',1,1.0000,1.0000,36.3900,29.0000,29.0000,36.3900,0.0000,36.3900,0.0000,2.3900,2.3900,5.0000,5.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=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Order Aggregated Updated';

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

INSERT INTO `sales_order_aggregated_updated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (7,'2024-12-21',1,'closed',1,1.0000,1.0000,39.6400,0.0000,-7.6400,39.6400,0.0000,39.6400,39.6400,2.6400,0.0000,5.0000,0.0000,0.0000,0.0000);
INSERT INTO `sales_order_aggregated_updated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (8,'2024-12-21',1,'processing',1,1.0000,1.0000,36.3900,29.0000,29.0000,36.3900,0.0000,36.3900,0.0000,2.3900,2.3900,5.0000,5.0000,0.0000,0.0000);
INSERT INTO `sales_order_aggregated_updated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (10,'2024-12-21',0,'closed',1,1.0000,1.0000,39.6400,0.0000,-7.6400,39.6400,0.0000,39.6400,39.6400,2.6400,0.0000,5.0000,0.0000,0.0000,0.0000);
INSERT INTO `sales_order_aggregated_updated` (`id`, `period`, `store_id`, `order_status`, `orders_count`, `total_qty_ordered`, `total_qty_invoiced`, `total_income_amount`, `total_revenue_amount`, `total_profit_amount`, `total_invoiced_amount`, `total_canceled_amount`, `total_paid_amount`, `total_refunded_amount`, `total_tax_amount`, `total_tax_amount_actual`, `total_shipping_amount`, `total_shipping_amount_actual`, `total_discount_amount`, `total_discount_amount_actual`) VALUES (11,'2024-12-21',0,'processing',1,1.0000,1.0000,36.3900,29.0000,29.0000,36.3900,0.0000,36.3900,0.0000,2.3900,2.3900,5.0000,5.0000,0.0000,0.0000);

--
-- Table structure for table `sales_order_data_exporter_cl`
--

CREATE TABLE `sales_order_data_exporter_cl` (
  `version_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Version ID',
  `entity_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Entity ID',
  PRIMARY KEY (`version_id`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='sales_order_data_exporter_cl';

--
-- Dumping data for table `sales_order_data_exporter_cl`
--

INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (21,3);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (22,4);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (23,4);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (24,4);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (25,4);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (26,4);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (27,5);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (28,5);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (29,5);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (30,5);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (31,6);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (32,6);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (33,6);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (34,7);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (35,7);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (36,7);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (37,8);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (38,8);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (39,8);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (40,8);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (41,9);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (42,9);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (43,9);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (44,10);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (45,10);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (46,10);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (47,10);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (48,11);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (49,11);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (50,11);
INSERT INTO `sales_order_data_exporter_cl` (`version_id`, `entity_id`) VALUES (51,11);

--
-- 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',
  `dispute_status` varchar(45) DEFAULT NULL COMMENT 'Braintree Dispute Status',
  PRIMARY KEY (`entity_id`),
  UNIQUE KEY `SALES_ORDER_GRID_INCREMENT_ID_STORE_ID` (`increment_id`,`store_id`),
  KEY `SALES_ORDER_GRID_STATUS` (`status`),
  KEY `SALES_ORDER_GRID_STORE_ID` (`store_id`),
  KEY `SALES_ORDER_GRID_BASE_GRAND_TOTAL` (`base_grand_total`),
  KEY `SALES_ORDER_GRID_BASE_TOTAL_PAID` (`base_total_paid`),
  KEY `SALES_ORDER_GRID_GRAND_TOTAL` (`grand_total`),
  KEY `SALES_ORDER_GRID_TOTAL_PAID` (`total_paid`),
  KEY `SALES_ORDER_GRID_SHIPPING_NAME` (`shipping_name`),
  KEY `SALES_ORDER_GRID_BILLING_NAME` (`billing_name`),
  KEY `SALES_ORDER_GRID_CREATED_AT` (`created_at`),
  KEY `SALES_ORDER_GRID_CUSTOMER_ID` (`customer_id`),
  KEY `SALES_ORDER_GRID_UPDATED_AT` (`updated_at`),
  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=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Order Grid';

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

INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (1,'processing',1,'Main Website\nMain Website Store\nDefault Store View',1,36.3900,36.3900,36.3900,36.3900,'000000001','USD','USD','Veronica Costello','Veronica Costello','2024-12-21 07:34:22','2024-12-21 07:34:22','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Flat Rate - Fixed','roni_cost@example.com','1',29.0000,5.0000,'Veronica Costello','checkmo',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (2,'closed',1,'Main Website\nMain Website Store\nDefault Store View',1,39.6400,39.6400,39.6400,39.6400,'000000002','USD','USD','Veronica Costello','Veronica Costello','2024-12-21 07:34:23','2024-12-21 07:34:23','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','6146 Honey Bluff Parkway,Calder,Michigan,49628-7978','Flat Rate - Fixed','roni_cost@example.com','1',32.0000,5.0000,'Veronica Costello','checkmo',39.6400,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (3,'pending',1,'Main Website\nMain Website Store\nDefault Store View',2,29.0000,NULL,29000.0000,NULL,'000000003','USD','VND','Le Bao Minh Dao','Le Bao Minh Dao','2024-12-21 08:55:11','2024-12-21 08:55:11','Cau Giay,Ha Noi,122000','Cau Giay,Ha Noi,122000','Flat Rate - Fixed','djnner@proton.me','1',24.0000,5.0000,'Le Bao Minh Dao','vnpay',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (4,'pending',1,'Main Website\nMain Website Store\nDefault Store View',NULL,138.0000,NULL,138000.0000,NULL,'000000004','USD','VND','','tri tam','2024-12-22 09:47:41','2024-12-22 09:47:41','bca,47 PVD,Ha Noi,HN,29','',NULL,'trungstatheros2904@gmail.com','0',138.0000,0.0000,'tri tam','vnpay',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (5,'pending_payment',1,'Main Website\nMain Website Store\nDefault Store View',2,224.0000,NULL,224000.0000,NULL,'000000005','USD','VND','','Le Bao Minh Dao','2024-12-22 15:33:50','2024-12-22 15:33:50','Cau Giay,Ha Noi,122000','',NULL,'djnner@proton.me','1',280.0000,0.0000,'Le Bao Minh Dao','momo',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (6,'pending_payment',1,'Main Website\nMain Website Store\nDefault Store View',2,12.0000,NULL,12000.0000,NULL,'000000006','USD','VND','Le Bao Minh Dao','Le Bao Minh Dao','2024-12-22 15:34:22','2024-12-22 15:34:22','Cau Giay,Ha Noi,122000','Cau Giay,Ha Noi,122000','Flat Rate - Fixed','djnner@proton.me','1',7.0000,5.0000,'Le Bao Minh Dao','momo',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (7,'pending_payment',1,'Main Website\nMain Website Store\nDefault Store View',2,39.0000,NULL,39000.0000,NULL,'000000007','USD','VND','Le Bao Minh Dao','Le Bao Minh Dao','2024-12-22 15:37:50','2024-12-22 15:37:50','Cau Giay,Ha Noi,122000','Cau Giay,Ha Noi,122000','Flat Rate - Fixed','djnner@proton.me','1',34.0000,5.0000,'Le Bao Minh Dao','momo',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (8,'pending',1,'Main Website\nMain Website Store\nDefault Store View',NULL,155.0000,NULL,155000.0000,NULL,'000000008','USD','VND','acfysghcj agfywghij','acfysghcj agfywghij','2024-12-22 15:39:41','2024-12-22 15:39:41','jgfxygadhj,jshgyafygh,Delaware,180000','jgfxygadhj,jshgyafygh,Delaware,180000','Flat Rate - Fixed','johndoe@domain.com','0',150.0000,5.0000,'acfysghcj agfywghij','vnpay',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (9,'pending_payment',1,'Main Website\nMain Website Store\nDefault Store View',2,39.0000,NULL,39000.0000,NULL,'000000009','USD','VND','Le Bao Minh Dao','Le Bao Minh Dao','2024-12-22 15:41:00','2024-12-22 15:41:00','Cau Giay,Ha Noi,122000','Cau Giay,Ha Noi,122000','Flat Rate - Fixed','djnner@proton.me','1',34.0000,5.0000,'Le Bao Minh Dao','momo',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (10,'pending',1,'Main Website\nMain Website Store\nDefault Store View',2,155.0000,NULL,155000.0000,NULL,'000000010','USD','VND','Le Bao Minh Dao','Le Bao Minh Dao','2024-12-22 15:43:11','2024-12-22 15:43:11','Cau Giay,Ha Noi,122000','Cau Giay,Ha Noi,122000','Flat Rate - Fixed','djnner@proton.me','1',150.0000,5.0000,'Le Bao Minh Dao','vnpay',NULL,NULL,NULL);
INSERT INTO `sales_order_grid` (`entity_id`, `status`, `store_id`, `store_name`, `customer_id`, `base_grand_total`, `base_total_paid`, `grand_total`, `total_paid`, `increment_id`, `base_currency_code`, `order_currency_code`, `shipping_name`, `billing_name`, `created_at`, `updated_at`, `billing_address`, `shipping_address`, `shipping_information`, `customer_email`, `customer_group`, `subtotal`, `shipping_and_handling`, `customer_name`, `payment_method`, `total_refunded`, `pickup_location_code`, `dispute_status`) VALUES (11,'pending',1,'Main Website\nMain Website Store\nDefault Store View',2,17.0000,NULL,17000.0000,NULL,'000000011','USD','VND','Le Bao Minh Dao','Le Bao Minh Dao','2024-12-22 15:49:09','2024-12-22 15:49:09','Cau Giay,Ha Noi,122000','Cau Giay,Ha Noi,122000','Flat Rate - Fixed','djnner@proton.me','1',12.0000,5.0000,'Le Bao Minh Dao','vnpay',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` longtext DEFAULT NULL 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 DEFAULT NULL COMMENT 'Description',
  `applied_rule_ids` text DEFAULT NULL COMMENT 'Applied Rule Ids',
  `additional_data` text DEFAULT NULL 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(20,4) NOT NULL DEFAULT 0.0000 COMMENT 'Price',
  `base_price` decimal(20,4) NOT NULL DEFAULT 0.0000 COMMENT 'Base Price',
  `original_price` decimal(20,4) DEFAULT NULL COMMENT 'Original Price',
  `base_original_price` decimal(20,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 DEFAULT NULL 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=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='Sales Flat Order Item';

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

INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (1,1,NULL,NULL,1,'2024-12-21 07:34:22','2024-12-21 07:34:22',1428,'configurable','{\"info_buyRequest\":{\"qty\":1,\"super_attribute\":{\"144\":\"166\",\"93\":\"58\"},\"options\":[]},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"XS\",\"option_id\":144,\"option_value\":\"166\"},{\"label\":\"Color\",\"value\":\"Red\",\"option_id\":93,\"option_value\":\"58\"}],\"simple_name\":\"Iris Workout Top-XS-Red\",\"simple_sku\":\"WS03-XS-Red\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,NULL,'WS03-XS-Red','Iris Workout Top',NULL,'1',NULL,0,0,NULL,0.0000,1.0000,1.0000,0.0000,1.0000,NULL,29.0000,29.0000,29.0000,29.0000,8.2500,2.3900,2.3900,2.3900,2.3900,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,29.0000,29.0000,29.0000,29.0000,1.0000,NULL,NULL,NULL,NULL,NULL,31.3900,31.3900,31.3900,31.3900,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (2,2,NULL,NULL,1,'2024-12-21 07:34:23','2024-12-21 07:34:23',1492,'configurable','{\"info_buyRequest\":{\"qty\":\"1.0000\",\"super_attribute\":{\"144\":\"166\",\"93\":\"50\"},\"options\":[]},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"XS\",\"option_id\":144,\"option_value\":\"166\"},{\"label\":\"Color\",\"value\":\"Blue\",\"option_id\":93,\"option_value\":\"50\"}],\"simple_name\":\"Minerva LumaTech&trade; V-Tee-XS-Blue\",\"simple_sku\":\"WS08-XS-Blue\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,NULL,'WS08-XS-Blue','Minerva LumaTech&trade; V-Tee',NULL,'1',NULL,0,0,NULL,0.0000,1.0000,1.0000,1.0000,1.0000,NULL,32.0000,32.0000,32.0000,32.0000,8.2500,2.6400,2.6400,2.6400,2.6400,0.0000,0.0000,0.0000,0.0000,0.0000,32.0000,32.0000,32.0000,32.0000,32.0000,32.0000,1.0000,NULL,NULL,NULL,NULL,NULL,34.6400,34.6400,34.6400,34.6400,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,2.6400,2.6400,0.0000,0.0000,NULL,NULL,0,'[]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (3,3,NULL,5,1,'2024-12-21 08:55:11','2024-12-21 08:55:11',1997,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9lY2hvLWZpdC1jb21wcmVzc2lvbi1zaG9ydC5odG1s\",\"product\":\"1997\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"1997\",\"super_attribute\":{\"144\":\"171\",\"93\":\"50\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"28\",\"option_id\":144,\"option_value\":\"171\"},{\"label\":\"Color\",\"value\":\"Blue\",\"option_id\":93,\"option_value\":\"50\"}],\"simple_name\":\"Echo Fit Compression Short-28-Blue\",\"simple_sku\":\"WSH07-28-Blue\",\"product_calculations\":1,\"shipment_type\":0}',1.0000,0,'WSH07-28-Blue','Echo Fit Compression Short',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,24000.0000,24.0000,24000.0000,24.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,24000.0000,24.0000,0.0000,0.0000,1.0000,NULL,NULL,NULL,NULL,NULL,24000.0000,24.0000,24000.0000,24.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (4,3,3,6,1,'2024-12-21 08:55:11','2024-12-21 08:55:11',1992,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9lY2hvLWZpdC1jb21wcmVzc2lvbi1zaG9ydC5odG1s\",\"product\":\"1997\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"1997\",\"super_attribute\":{\"144\":\"171\",\"93\":\"50\"},\"qty\":\"1\"}}',1.0000,0,'WSH07-28-Blue','Echo Fit Compression Short-28-Blue',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (5,4,NULL,11,1,'2024-12-22 09:47:41','2024-12-22 09:47:41',2261,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9qb3JkYW4tZmxpZ2h0Mi5odG1s\",\"product\":\"2261\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"2261\",\"super_attribute\":{\"144\":\"170\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"XL\",\"option_id\":144,\"option_value\":\"170\"}],\"simple_name\":\"Jordan Flight-XL\",\"simple_sku\":\"JK02_JF-XL\",\"product_calculations\":1,\"shipment_type\":0}',NULL,1,'JK02_JF-XL','Jordan Flight',NULL,'2',NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,138000.0000,138.0000,138000.0000,138.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,138000.0000,138.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,138000.0000,138.0000,138000.0000,138.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (6,4,5,12,1,'2024-12-22 09:47:41','2024-12-22 09:47:41',2260,'virtual','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9qb3JkYW4tZmxpZ2h0Mi5odG1s\",\"product\":\"2261\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"2261\",\"super_attribute\":{\"144\":\"170\"},\"qty\":\"1\"}}',NULL,1,'JK02_JF-XL','Jordan Flight-XL',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (7,5,NULL,14,1,'2024-12-22 15:33:50','2024-12-22 15:33:50',2124,'configurable','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9qb3JkYW4tZmxpZ2h0LW12cC5odG1s\",\"product\":\"2124\",\"selected_configurable_option\":\"2120\",\"related_product\":\"\",\"item\":\"2124\",\"super_attribute\":{\"158\":\"219\"},\"qty\":\"1\"},\"attributes_info\":[{\"label\":\"Size\",\"value\":\"M\",\"option_id\":158,\"option_value\":\"219\"}],\"simple_name\":\"Jordan Flight MVP-M\",\"simple_sku\":\"HD03_JFM-M\",\"product_calculations\":1,\"shipment_type\":0}',NULL,1,'HD03_JFM-M','Jordan Flight MVP',NULL,'2,3',NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,280000.0000,280.0000,280000.0000,280.0000,0.0000,0.0000,0.0000,0.0000,0.0000,20.0000,56000.0000,56.0000,0.0000,0.0000,0.0000,0.0000,280000.0000,280.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,280000.0000,280.0000,280000.0000,280.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (8,5,7,15,1,'2024-12-22 15:33:50','2024-12-22 15:33:50',2120,'virtual','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9qb3JkYW4tZmxpZ2h0LW12cC5odG1s\",\"product\":\"2124\",\"selected_configurable_option\":\"2120\",\"related_product\":\"\",\"item\":\"2124\",\"super_attribute\":{\"158\":\"219\"},\"qty\":\"1\"}}',NULL,1,'HD03_JFM-M','Jordan Flight MVP-M',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (9,6,NULL,16,1,'2024-12-22 15:34:22','2024-12-22 15:34:22',15,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9hZmZpcm0td2F0ZXItYm90dGxlLmh0bWw~\",\"product\":\"15\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"15\",\"qty\":\"1\"}}',NULL,0,'24-UG06','Affirm Water Bottle ',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,7000.0000,7.0000,7000.0000,7.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,7000.0000,7.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,7000.0000,7.0000,7000.0000,7.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (10,7,NULL,17,1,'2024-12-22 15:37:50','2024-12-22 15:37:50',1,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9qb3VzdC1kdWZmbGUtYmFnLmh0bWw~\",\"product\":\"1\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"1\",\"qty\":\"1\"}}',NULL,0,'24-MB01','Joust Duffle Bag',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,34000.0000,34.0000,34000.0000,34.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,34000.0000,34.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,34000.0000,34.0000,34000.0000,34.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (11,8,NULL,18,1,'2024-12-22 15:39:41','2024-12-22 15:39:41',2044,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9haXItam9yZGFuLTEtbG93Lmh0bWw~\",\"product\":\"2044\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"2044\",\"qty\":\"1\"}}',NULL,0,'SAJ01','Air Jordan 1 Low',NULL,'2',NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,150000.0000,150.0000,150000.0000,150.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,150000.0000,150.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,150000.0000,150.0000,150000.0000,150.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (12,9,NULL,19,1,'2024-12-22 15:41:00','2024-12-22 15:41:00',1,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9qb3VzdC1kdWZmbGUtYmFnLmh0bWw~\",\"product\":\"1\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"1\",\"qty\":\"1\"}}',NULL,0,'24-MB01','Joust Duffle Bag',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,34000.0000,34.0000,34000.0000,34.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,34000.0000,34.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,34000.0000,34.0000,34000.0000,34.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (13,10,NULL,20,1,'2024-12-22 15:43:11','2024-12-22 15:43:11',2044,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9haXItam9yZGFuLTEtbG93Lmh0bWw~\",\"product\":\"2044\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"2044\",\"qty\":\"1\"}}',NULL,0,'SAJ01','Air Jordan 1 Low',NULL,'2',NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,150000.0000,150.0000,150000.0000,150.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,150000.0000,150.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,150000.0000,150.0000,150000.0000,150.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `sales_order_item` (`item_id`, `order_id`, `parent_item_id`, `quote_item_id`, `store_id`, `created_at`, `updated_at`, `product_id`, `product_type`, `product_options`, `weight`, `is_virtual`, `sku`, `name`, `description`, `applied_rule_ids`, `additional_data`, `is_qty_decimal`, `no_discount`, `qty_backordered`, `qty_canceled`, `qty_invoiced`, `qty_ordered`, `qty_refunded`, `qty_shipped`, `base_cost`, `price`, `base_price`, `original_price`, `base_original_price`, `tax_percent`, `tax_amount`, `base_tax_amount`, `tax_invoiced`, `base_tax_invoiced`, `discount_percent`, `discount_amount`, `base_discount_amount`, `discount_invoiced`, `base_discount_invoiced`, `amount_refunded`, `base_amount_refunded`, `row_total`, `base_row_total`, `row_invoiced`, `base_row_invoiced`, `row_weight`, `base_tax_before_discount`, `tax_before_discount`, `ext_order_item_id`, `locked_do_invoice`, `locked_do_ship`, `price_incl_tax`, `base_price_incl_tax`, `row_total_incl_tax`, `base_row_total_incl_tax`, `discount_tax_compensation_amount`, `base_discount_tax_compensation_amount`, `discount_tax_compensation_invoiced`, `base_discount_tax_compensation_invoiced`, `discount_tax_compensation_refunded`, `base_discount_tax_compensation_refunded`, `tax_canceled`, `discount_tax_compensation_canceled`, `tax_refunded`, `base_tax_refunded`, `discount_refunded`, `base_discount_refunded`, `gift_message_id`, `gift_message_available`, `free_shipping`, `weee_tax_applied`, `weee_tax_applied_amount`, `weee_tax_applied_row_amount`, `weee_tax_disposition`, `weee_tax_row_disposition`, `base_weee_tax_applied_amount`, `base_weee_tax_applied_row_amnt`, `base_weee_tax_disposition`, `base_weee_tax_row_disposition`) VALUES (14,11,NULL,21,1,'2024-12-22 15:49:09','2024-12-22 15:49:09',16,'simple','{\"info_buyRequest\":{\"uenc\":\"aHR0cHM6Ly90aHRydW1pbnN0b3JlLm9ubGluZS9kdWFsLWhhbmRsZS1jYXJkaW8tYmFsbC5odG1s\",\"product\":\"16\",\"selected_configurable_option\":\"\",\"related_product\":\"\",\"item\":\"16\",\"qty\":\"1\"}}',NULL,0,'24-UG07','Dual Handle Cardio Ball',NULL,NULL,NULL,0,0,NULL,0.0000,0.0000,1.0000,0.0000,0.0000,NULL,12000.0000,12.0000,12000.0000,12.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,12000.0000,12.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,12000.0000,12.0000,12000.0000,12.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=CURRENT_USER*/ /*!50003 TRIGGER trg_sales_order_item_after_insert AFTER INSERT ON sales_order_item FOR EACH ROW
BEGIN
INSERT IGNORE INTO `sales_order_data_exporter_cl` (`entity_id`) VALUES (NEW.`order_id`);
END */;;
DELIMITER ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=CURRENT_USER*/ /*!50003 TRIGGER trg_sales_order_item_after_update AFTER UPDATE ON sales_order_item FOR EACH ROW
BEGIN
IF (NOT(NEW.`item_id` <=> OLD.`item_id`) OR NOT(NEW.`order_id` <=> OLD.`order_id`) OR NOT(NEW.`parent_item_id` <=> OLD.`parent_item_id`) OR NOT(NEW.`quote_item_id` <=> OLD.`quote_item_id`) OR NOT(NEW.`store_id` <=> OLD.`store_id`) OR NOT(NEW.`created_at` <=> OLD.`created_at`) OR NOT(NEW.`product_id` <=> OLD.`product_id`) OR NOT(NEW.`product_type` <=> OLD.`product_type`) OR NOT(NEW.`product_options` <=> OLD.`product_options`) OR NOT(NEW.`weight` <=> OLD.`weight`) OR NOT(NEW.`is_virtual` <=> OLD.`is_virtual`) OR NOT(NEW.`sku` <=> OLD.`sku`) OR NOT(NEW.`name` <=> OLD.`name`) OR NOT(NEW.`description` <=> OLD.`description`) OR NOT(NEW.`applied_rule_ids` <=> OLD.`applied_rule_ids`) OR NOT(NEW.`additional_data` <=> OLD.`additional_data`) OR NOT(NEW.`is_qty_decimal` <=> OLD.`is_qty_decimal`) OR NOT(NEW.`no_discount` <=> OLD.`no_discount`) OR NOT(NEW.`qty_backordered` <=> OLD.`qty_backordered`) OR NOT(NEW.`qty_canceled` <=> OLD.`qty_canceled`) OR NOT(NEW.`qty_invoiced` <=> OLD.`qty_invoiced`) OR NOT(NEW.`qty_ordered` <=> OLD.`qty_ordered`) OR NOT(NEW.`qty_refunded` <=> OLD.`qty_refunded`) OR NOT(NEW.`qty_shipped` <=> OLD.`qty_shipped`) OR NOT(NEW.`base_cost` <=> OLD.`base_cost`) OR NOT(NEW.`price` <=> OLD.`price`) OR NOT(NEW.`base_price` <=> OLD.`base_price`) OR NOT(NEW.`original_price` <=> OLD.`original_price`) OR NOT(NEW.`base_original_price` <=> OLD.`base_original_price`) OR NOT(NEW.`tax_percent` <=> OLD.`tax_percent`) OR NOT(NEW.`tax_amount` <=> OLD.`tax_amount`) OR NOT(NEW.`base_tax_amount` <=> OLD.`base_tax_amount`) OR NOT(NEW.`tax_invoiced` <=> OLD.`tax_invoiced`) OR NOT(NEW.`base_tax_invoiced` <=> OLD.`base_tax_invoiced`) OR NOT(NEW.`discount_percent` <=> OLD.`discount_percent`) OR NOT(NEW.`discount_amount` <=> OLD.`discount_amount`) OR NOT(NEW.`base_discount_amount` <=> OLD.`base_discount_amount`) OR NOT(NEW.`discount_invoiced` <=> OLD.`discount_invoiced`) OR NOT(NEW.`base_discount_invoiced` <=> OLD.`base_discount_invoiced`) OR NOT(NEW.`amount_refunded` <=> OLD.`amount_refunded`) OR NOT(NEW.`base_amount_refunded` <=> OLD.`base_amount_refunded`) OR NOT(NEW.`row_total` <=> OLD.`row_total`) OR NOT(NEW.`base_row_total` <=> OLD.`base_row_total`) OR NOT(NEW.`row_invoiced` <=> OLD.`row_invoiced`) OR NOT(NEW.`base_row_invoiced` <=> OLD.`base_row_invoiced`) OR NOT(NEW.`row_weight` <=> OLD.`row_weight`) OR NOT(NEW.`base_tax_before_discount` <=> OLD.`base_tax_before_discount`) OR NOT(NEW.`tax_before_discount` <=> OLD.`tax_before_discount`) OR NOT(NEW.`ext_order_item_id` <=> OLD.`ext_order_item_id`) OR NOT(NEW.`locked_do_invoice` <=> OLD.`locked_do_invoice`) OR NOT(NEW.`locked_do_ship` <=> OLD.`locked_do_ship`) OR NOT(NEW.`price_incl_tax` <=> OLD.`price_incl_tax`) OR NOT(NEW.`base_price_incl_tax` <=> OLD.`base_price_incl_tax`) OR NOT(NEW.`row_total_incl_tax` <=> OLD.`row_total_incl_tax`) OR NOT(NEW.`base_row_total_incl_tax` <=> OLD.`base_row_total_incl_tax`) OR NOT(NEW.`discount_tax_compensation_amount` <=> OLD.`discount_tax_compensation_amount`) OR NOT(NEW.`base_discount_tax_compensation_amount` <=> OLD.`base_discount_tax_compensation_amount`) OR NOT(NEW.`discount_tax_compensation_invoiced` <=> OLD.`discount_tax_compensation_invoiced`) OR NOT(NEW.`base_discount_tax_compensation_invoiced` <=> OLD.`base_discount_tax_compensation_invoiced`) OR NOT(NEW.`discount_tax_compensation_refunded` <=> OLD.`discount_tax_compensation_refunded`) OR NOT(NEW.`base_discount_tax_compensation_refunded` <=> OLD.`base_discount_tax_compensation_refunded`) OR NOT(NEW.`tax_canceled` <=> OLD.`tax_canceled`) OR NOT(NEW.`discount_tax_compensation_canceled` <=> OLD.`discount_tax_compensation_canceled`) OR NOT(NEW.`tax_refunded` <=> OLD.`tax_refunded`) OR NOT(NEW.`base_tax_refunded` <=> OLD.`base_tax_refunded`) OR NOT(NEW.`discount_refunded` <=> OLD.`discount_refunded`) OR NOT(NEW.`base_discount_refunded` <=> OLD.`base_discount_refunded`) OR NOT(NEW.`gift_message_id` <=> OLD.`gift_message_id`) OR NOT(NEW.`gift_message_available` <=> OLD.`gift_message_available`) OR NOT(NEW.`free_shipping` <=> OLD.`free_shipping`) OR NOT(NEW.`weee_tax_applied` <=> OLD.`weee_tax_applied`) OR NOT(NEW.`weee_tax_applied_amount` <=> OLD.`weee_tax_applied_amount`) OR NOT(NEW.`weee_tax_applied_row_amount` <=> OLD.`weee_tax_applied_row_amount`) OR NOT(NEW.`weee_tax_disposition` <=> OLD.`weee_tax_disposition`) OR NOT(NEW.`weee_tax_row_disposition` <=> OLD.`weee_tax_row_disposition`) OR NOT(NEW.`base_weee_tax_applied_amount` <=> OLD.`base_weee_tax_applied_amount`) OR NOT(NEW.`base_weee_tax_applied_row_amnt` <=> OLD.`base_weee_tax_applied_row_amnt`) OR NOT(NEW.`base_weee_tax_disposition` <=> OLD.`base_weee_tax_disposition`) OR NOT(NEW.`base_weee_tax_row_disposition` <=> OLD.`base_weee_tax_row_disposition`)) THEN INSERT IGNORE INTO `sales_order_data_exporter_cl` (`entity_id`) VALUES (NEW.`order_id`); END IF;
END */;;
DELIMITER ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=CURRENT_USER*/ /*!50003 TRIGGER trg_sales_order_item_after_delete AFTER DELETE ON sales_order_item FOR EACH ROW
BEGIN
INSERT IGNORE INTO `sales_order_data_exporter_cl` (`entity_id`) VALUES (OLD.`order_id`);
END */;;
DELIMITER ;

--
