У твоей семьи есть дача?

17.05.2012 7 1 ответ

Cannot add or update a child row: a foreign key constraint fails (`sprashivalka`.`friends`, CONSTRAINT `friends_ibfk_1` FOREIGN KEY (`p_id`) REFERENCES `people` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

INSERT IGNORE INTO friends SET `p_id` = NULL, `f_id` = "103009", `created_at` = 1341081949