Delete item function not working
Opened this issue · 0 comments
syedhaziqhamdani commented
Exception:
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (pos
.inventories
, CONSTRAINT inventories_item_id_foreign
FOREIGN KEY (item_id
) REFERENCES items
(id
)) (SQL: delete from items
where id
= 1)