Please help!!!!!! I am upgrading from 2.1.7 to ver 2.3.0 I am stuck. I am not sure how no one else has the same issue. nothing related to this table on any forum. I am unable to Truncate, Delete this table due Foreign key constraint. I tried to delete the customer_group table i get this ("Cannot delete or update a parent row: a foreign key constraint fails")
when I Truncate I get this message ("Cannot truncate a table referenced in a foreign key constraint (aayebmfmry
.catalog_product_bundle_price_index
, CONSTRAINT catalog_product_bundle_price_index_ibfk_1
FOREIGN KEY (customer_group_id
) REFERENCES aayebmfmry
.customer_group
(`customer_"
luckily this is a staging environment, so I have done upgrade couple times and I cannot get past this nightmare table.
after removing some old modules and updating it to php 7.1 - the upgrades goes smoothly and the next step is (php bin/magento setup:upgrade) This is the message i get....
Foreign key constraint is incorrectly formed), query was: ALTER TABLE customer_group
MODIFY COLUMN customer_group_id
int(10) UNSIGNED NOT NULL AUTO_INCREMENT
This option doesnt really work...no table are effected when i run this query
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE table customer_group;
SET FOREIGN_KEY_CHECKS = 1;