Задаю некоторым полям varchar(255) - title и slug
В итоге получаю
CREATE TABLE `test`.`news` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`title` VARCHAR( 255 ) NOT NULL ,
`content` LONGTEXT NOT NULL ,
`slug` VARCHAR( 255 ) NOT NULL ,
`category` INT( 2 ) NOT NULL ,
`date` DATETIME NOT NULL ,
UNIQUE (
`title` ,
`slug`
)
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
#1071 - Specified key was too long; max key length is 1000 bytes
Что не так делаю???