DROP TABLE IF EXISTS `changes`;
CREATE TABLE `changes` (
                           `id` int NOT NULL AUTO_INCREMENT,
                           `sale_id` int NOT NULL,
                           `user_id` int NOT NULL,
                           `shop_id` int NOT NULL,
                           `order_status_id` int NOT NULL,
                           `firstname` varchar(255) NOT NULL,
                           `lastname` varchar(255) NOT NULL,
                           `status` tinyint(1) NOT NULL,
                           `date_added` datetime NOT NULL,
                           PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;