File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -109,15 +109,15 @@ SET FOREIGN_KEY_CHECKS = 1;
109109
110110-- Foreign keys
111111ALTER TABLE ` catalog_category_entity_datetime`
112- ADD CONSTRAINT ` CAT_CTGR_ENTT_DTIME_ROW_ID_CAT_CTGR_ENTT_ROW_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
112+ ADD CONSTRAINT ` CAT_CTGR_ENTT_DTIME_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
113113ALTER TABLE ` catalog_category_entity_decimal`
114- ADD CONSTRAINT ` CAT_CTGR_ENTT_DEC_ROW_ID_CAT_CTGR_ENTT_ROW_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
114+ ADD CONSTRAINT ` CAT_CTGR_ENTT_DEC_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
115115ALTER TABLE ` catalog_category_entity_int`
116- ADD CONSTRAINT ` CAT_CTGR_ENTT_INT_ROW_ID_CAT_CTGR_ENTT_ROW_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
116+ ADD CONSTRAINT ` CAT_CTGR_ENTT_INT_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
117117ALTER TABLE ` catalog_category_entity_text`
118- ADD CONSTRAINT ` CAT_CTGR_ENTT_TEXT_ROW_ID_CAT_CTGR_ENTT_ROW_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
118+ ADD CONSTRAINT ` CAT_CTGR_ENTT_TEXT_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
119119ALTER TABLE ` catalog_category_entity_varchar`
120- ADD CONSTRAINT ` CAT_CTGR_ENTT_VCHR_ROW_ID_CAT_CTGR_ENTT_ROW_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
120+ ADD CONSTRAINT ` CAT_CTGR_ENTT_VCHR_ENTT_ID_CAT_CTGR_ENTT_ENTT_ID ` FOREIGN KEY (` entity_id` ) REFERENCES ` catalog_category_entity` (` entity_id` ) ON DELETE CASCADE ON UPDATE RESTRICT;
121121
122122-- ----------------
123123-- Drop sequence --
You can’t perform that action at this time.
0 commit comments