diff --git a/app/code/community/Fballiano/ImageCleaner/sql/fballiano_imagecleaner_setup/install-0.1.0.php b/app/code/community/Fballiano/ImageCleaner/sql/fballiano_imagecleaner_setup/install-0.1.0.php index 75982da..33f5407 100644 --- a/app/code/community/Fballiano/ImageCleaner/sql/fballiano_imagecleaner_setup/install-0.1.0.php +++ b/app/code/community/Fballiano/ImageCleaner/sql/fballiano_imagecleaner_setup/install-0.1.0.php @@ -29,7 +29,7 @@ `image_id` int unsigned AUTO_INCREMENT, `entity_type_id` smallint (5) unsigned NOT NULL, `path` varchar(255) NOT NULL, - PRIMARY KEY (`id`), + PRIMARY KEY (`image_id`), UNIQUE KEY `entity_type_id` (`entity_type_id`,`path`) );"); $installer->endSetup();