Skip to content

Commit

Permalink
Merge pull request #14 from raulsinapsis/patch-2
Browse files Browse the repository at this point in the history
fix Key column 'row_id' doesn't exist in table
  • Loading branch information
thomas-kl1 authored Jan 7, 2025
2 parents e8ca193 + b5d0c44 commit f69cbbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/product.sql
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ ALTER TABLE `catalog_product_entity_media_gallery_value_to_entity`
DROP FOREIGN KEY `CAT_PRD_ENTT_MDA_GLR_VAL_TO_ENTT_ROW_ID_CAT_PRD_ENTT_ROW_ID`,
DROP INDEX `CAT_PRD_ENTT_MDA_GLR_VAL_TO_ENTT_ROW_ID_CAT_PRD_ENTT_ROW_ID`,
ADD CONSTRAINT `CAT_PRD_ENTT_MDA_GLR_VAL_TO_ENTT_VAL_ID_ENTT_ID` UNIQUE KEY (`value_id`,`entity_id`),
DROP COLUMN `row_id`;
DROP PRIMARY KEY, ADD PRIMARY KEY (`value_id`),
DROP COLUMN `row_id`;

-- Gallery value
ALTER TABLE `catalog_product_entity_media_gallery_value`
Expand Down

0 comments on commit f69cbbb

Please sign in to comment.