ALTER TABLE `table` ADD INDEX `product_id_index` (`product_id`)
Non confrontare mai integer a strings in MySQL. Se id è int , rimuovi le virgolette.
ALTER TABLE `table` ADD INDEX `product_id_index` (`product_id`)
Non confrontare mai integer a strings in MySQL. Se id è int , rimuovi le virgolette.