DROP TABLE IF EXISTS `sale_sending_order_items`;
CREATE TABLE `sale_sending_order_items` (
                                            `sending_id` int NOT NULL,
                                            `sale_id` int NOT NULL,
                                            `product_id` int NOT NULL,
                                            `user_id` int DEFAULT NULL,
                                            `product_name` varchar(150) NOT NULL,
                                            `barcode` varchar(20) NOT NULL,
                                            `total` int NOT NULL DEFAULT '0',
                                            `harvesting` int DEFAULT NULL,
                                            `harvesting_control` int DEFAULT NULL,
                                            `status` tinyint(1) NOT NULL DEFAULT '0',
                                            `insert_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;