Skip to content

Commit

Permalink
Merge pull request #13 from raulsinapsis/patch-1
Browse files Browse the repository at this point in the history
Fix Can't DROP INDEX CAT_PRD_ENTT_MDA_GLR_VAL_ENTT_ID_VAL_ID_STORE_ID…
  • Loading branch information
thomas-kl1 authored Jan 7, 2025
2 parents 1808719 + 9a889a6 commit e8ca193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/product.sql
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ ALTER TABLE `catalog_product_entity_media_gallery_value_to_entity`
ALTER TABLE `catalog_product_entity_media_gallery_value`
DROP FOREIGN KEY `CAT_PRD_ENTT_MDA_GLR_VAL_ROW_ID_CAT_PRD_ENTT_ROW_ID`,
DROP INDEX `CATALOG_PRODUCT_ENTITY_MEDIA_GALLERY_VALUE_ROW_ID`,
DROP INDEX `CAT_PRD_ENTT_MDA_GLR_VAL_ENTT_ID_VAL_ID_STORE_ID`,
DROP INDEX `CAT_PRD_ENTT_MDA_GLR_VAL_ROW_ID_VAL_ID_STORE_ID`,
ADD INDEX `CATALOG_PRODUCT_ENTITY_MEDIA_GALLERY_VALUE_ENTITY_ID` (`entity_id`),
ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_VAL_ENTT_ID_VAL_ID_STORE_ID` UNIQUE KEY (`entity_id`,`value_id`,`store_id`),
DROP COLUMN `row_id`;
Expand Down

0 comments on commit e8ca193

Please sign in to comment.