pgsql: cannot delete line on table.

This happens when I try to manually delete a record on the Database

 

ERROR: update or delete on table "m_inoutline" violates foreign key constraint "m_inoutline_canceled_inoutline" on table "m_inoutline"
DETAIL: Key (m_inoutline_id)=(8310BD9D63A94DB5A2294EC8E48C6C9F) is still referenced from table "m_inoutline".
********** Error **********

ERROR: update or delete on table "m_inoutline" violates foreign key constraint "m_inoutline_canceled_inoutline" on table "m_inoutline"
SQL state: 23503
Detail: Key (m_inoutline_id)=(8310BD9D63A94DB5A2294EC8E48C6C9F) is still referenced from table "m_inoutline".

Leave a Reply

Your email address will not be published. Required fields are marked *