


CREATE TABLE `media_categorys` (
  `media_cat_file_id` int NOT NULL,
  `media_cat_cat_id` int NOT NULL,
  `media_cat_order` int NOT NULL,
  `media_cat_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `media_cat_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
  `media_cat_ent_id` int DEFAULT NULL,
  PRIMARY KEY (`media_cat_file_id`, `media_cat_cat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;