DROP TABLE IF EXISTS `voucher_history`;
CREATE TABLE `voucher_history` (
                                   `id` int NOT NULL AUTO_INCREMENT,
                                   `voucher_id` int NOT NULL,
                                   `order_id` int NOT NULL,
                                   `amount` decimal(15,4) NOT NULL,
                                   `date_added` datetime NOT NULL,
                                   PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;