ALTER TABLE ONLY gep_mintapont DROP CONSTRAINT minta_fk;

ALTER TABLE ONLY gep_mintapont ADD CONSTRAINT gep_mintapont_fk1 FOREIGN KEY (gep_mintapont_tkod) REFERENCES gep_minta(gep_minta_kod) ON UPDATE CASCADE ON DELETE CASCADE;