Skip to content

fix: Add db scheme whitelist json file#119

Open
atul-emico wants to merge 2 commits intobetafrom
issue/add-missing-db-schema-whitelist-json-file
Open

fix: Add db scheme whitelist json file#119
atul-emico wants to merge 2 commits intobetafrom
issue/add-missing-db-schema-whitelist-json-file

Conversation

@atul-emico
Copy link
Contributor

Add db scheme whitelist json file to delete removed columns from emico_attributelanding_page table

@ahuininga-orisha ahuininga-orisha changed the base branch from master to beta June 18, 2025 09:35
@ahuininga-orisha
Copy link
Collaborator

@atul-emico This creates an error on running setup:upgrade. General error: 1828 Cannot drop column 'category_id': needed in a foreign key constraint 'TWEAKWISE_ATTRLANDING_PAGE_CTGR_ID_CAT_CTGR_ENTT_ENTT_ID', query was: ALTER TABLE emico_attributelanding_page DROP COLUMN active, DROP COLUMN category_id, DROP COLUMN heading, DROP COLUMN header_image, DROP COLUMN meta_title, DROP COLUMN meta_keywords, DROP COLUMN meta_description, DROP COLUMN content_first, DROP COLUMN content_last, DROP COLUMN filter_attributes, DROP COLUMN tweakwise_filter_template, DROP COLUMN store_ids, DROP COLUMN is_filter_link_allowed, DROP COLUMN canonical_url, DROP COLUMN hide_selected_filters, DROP COLUMN tweakwise_sort_template, DROP COLUMN tweakwise_builder_template

@atul-emico
Copy link
Contributor Author

Which tweakwise module is having constraint with category ID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants