CREATE TABLE `extensions` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`context` varchar(40) NOT NULL,
`exten` varchar(40) NOT NULL,
`priority` int(11) NOT NULL,
`app` varchar(40) NOT NULL,
`appdata` varchar(256) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `cont` (`id`,`context`,`exten`,`priority`),
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=latin1
CREATE TABLE `extensions` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`context` varchar(40) NOT NULL,
`exten` varchar(40) NOT NULL,
`priority` int(11) NOT NULL,
`app` varchar(40) NOT NULL,
`appdata` varchar(256) NOT NULL,
PRIMARY KEY (`id`,`context`,`exten`,`priority`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=latin1
Какой вариант установки индексов более «правильный»?