DROP TABLE IF EXISTS `change_re_product_options`;
CREATE TABLE `change_re_product_options` (
                                             `id` int NOT NULL AUTO_INCREMENT,
                                             `change_id` int NOT NULL,
                                             `sales_id` int NOT NULL,
                                             `product_id` int NOT NULL,
                                             `re_product_id` int NOT NULL,
                                             `option_id` int NOT NULL,
                                             `option_value_id` int NOT NULL,
                                             `barcode` varchar(20) NOT NULL,
                                             `title` varchar(100) NOT NULL,
                                             `value` varchar(100) NOT NULL,
                                             `price` decimal(15,4) NOT NULL,
                                             `quantity` int NOT NULL,
                                             PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;