CREATE TABLE `threat_rating` (
  `docId` int(11) NOT NULL,
  `value` varchar(100) NOT NULL,
  `id` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`,`docId`),
  KEY `docId_Index` (`docId`),
  KEY `value_Index` (`value`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
/*!50100 PARTITION BY KEY (docId) */