DROP TABLE IF EXISTS `uniq`;
CREATE TABLE `uniq` (
                        `id` int NOT NULL AUTO_INCREMENT,
                        `type` varchar(10) NOT NULL,
                        `type_id` int NOT NULL,
                        `code` varchar(100) NOT NULL,
                        `date_added` datetime NOT NULL,
                        PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;