Похожие чаты

Hi does anyone know what is this error?? SQLSTATE[23000]: Integrity constraint

violation: 1452 Cannot add or update a child row: a foreign key constraint fails (blog.menus, CONSTRAINT menus_ibfk_1 FOREIGN KEY (parent_id) REFERENCES menus (id) ON DELETE CASCADE ON UPDATE CASCADE)

2 ответов

5 просмотров

Foreign key constraint

you cannot delete a row when the key of that row is being referred in another table

Похожие вопросы

Обсуждают сегодня

Карта сайта