Dayz custom buildings need help!

Max

Member
DELETE FROM `bliss_3788`.`building` WHERE `building`.`id` =122
MySQL sa:
#1451 - Cannot delete or update a parent row: a foreign key constraint fails (`bliss_3788`.`instance_building`, CONSTRAINT `instance_building_ibfk_2` FOREIGN KEY (`building_id`) REFERENCES `building` (`id`))

What does it mean? i wanna delete my custom buildings and i cant!
 
You have to delete the buildings in the "instance_building" tab before you can delete the building type from the "building" tab. The "Instance_building" needs the info from the "building" tab and it won't let you delete it first because of that.
 
Back
Top