DROP TABLE IF EXISTS `quicksale`;
CREATE TABLE `quicksale` (
                             `id` int NOT NULL AUTO_INCREMENT,
                             `safe_id` int NOT NULL DEFAULT '0',
                             `name` varchar(100) NOT NULL,
                             `user_id` int NOT NULL,
                             `customer_id` int NOT NULL,
                             `vals` json NOT NULL,
                             `total` decimal(15,4) NOT NULL,
                             `products` json NOT NULL,
                             `insert_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
                             `status` tinyint(1) NOT NULL DEFAULT '1',
                             PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;