ALTER TABLE reception_documents 
    DROP CONSTRAINT fk_document_id,
    DROP COLUMN document_id;

ALTER TABLE plannedconsignments_documents 
    DROP CONSTRAINT fk_document_id,
    DROP COLUMN document_id;