numerus/revert/invoice_contact_id_fkey.sql

11 lines
211 B
PL/PgSQL

-- Revert numerus:invoice_contact_id_fkey from pg
begin;
alter table numerus.invoice
drop constraint invoice_contact_id_fkey
, add foreign key (contact_id) references numerus.contact (contact_id)
;
commit;