Prova settandolo come chiave primaria

codice:
ALTER TABLE  `bacheca` ADD  `id` INT( 30 ) NOT NULL AUTO_INCREMENT PRIMARY KEY