CREATE TABLE `filetags` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(100) DEFAULT NULL,
  `docId` int(11) NOT NULL,
  `exclusive` tinyint(1) DEFAULT NULL,
  `groupName` varchar(100) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`,`docId`),
  KEY `docId_Index` (`docId`),
  KEY `name_index` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
/*!50100 PARTITION BY KEY (docId) */