CREATE TABLE `call_history` (
`id` INTEGER(11) NOT NULL AUTO_INCREMENT,
`id_call` INTEGER(11) NOT NULL COMMENT 'общий ид для всех звонков',
`dt_status` DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
`status` VARCHAR(256) COLLATE utf8_general_ci DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `id` (`id`) USING BTREE
) ENGINE=InnoDB
AUTO_INCREMENT=9 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci'