DROP TABLE IF EXISTS `media`;
CREATE TABLE `media` (
                         `id` int NOT NULL AUTO_INCREMENT,
                         `title` varchar(250) NOT NULL,
                         `site_template` varchar(150) NOT NULL,
                         `sort` int NOT NULL,
                         `type` varchar(155) NOT NULL,
                         `status` tinyint(1) NOT NULL,
                         `shop_id` int NOT NULL DEFAULT '1',
                         PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;