Problem deleting a field from the table

Asked

Viewed 14 times

0

When I try to delete a row from my table, it returns me this error

ERROR: update or delete on table "menu" violates foreign key constraint "fk_menu_id" on table "view_menu" DETAIL: Key (menu_id)=(2370) is still referenced from table "view_menu".

What would be?

1 answer

1


The error is saying that the row in question has information linked in the table view_menu, delete what is linked in the table first view_menu so you can delete from the table menu

Browser other questions tagged

You are not signed in. Login or sign up in order to post.