FEU Upgrade: foreign key constraint fails
Posted: Mon Oct 09, 2017 5:17 pm
I've got the "fun" task to upgrade a very old CMSMS site from v. 1.7.1. to current version 2.2.3.1.
Mostly it's gone ok but i can't upgrade "Frontend User" (FEU) past v. 1.29. without this error:
Is there a way to fix this problem so i can upgrade FEU to latest version?
Mostly it's gone ok but i can't upgrade "Frontend User" (FEU) past v. 1.29. without this error:
Code: Select all
ALTER TABLE cms_module_feusers_properties ADD FOREIGN KEY (title) REFERENCES cms_module_feusers_propdefn (name) Cannot add or update a child row: a foreign key constraint fails (`mb2017`.`#sql-56d_4e`, CONSTRAINT `#sql-56d_4e_ibfk_2` FOREIGN KEY (`title`) REFERENCES `cms_module_feusers_propdefn` (`name`))