CREATE TABLE `unique_files` (
  `id` int(11) NOT NULL,
  `date` datetime DEFAULT NULL,
  `username` varchar(100) DEFAULT NULL,
  `count_doc` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `username_Index` (`username`),
  KEY `date_Index` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
/*!50100 PARTITION BY KEY (id) */