ALTER TABLE public.partner_csoport_tetel
  ADD CONSTRAINT partner_csoport_tetel_fk2 FOREIGN KEY (kampany_kod)
      REFERENCES public.partner_csoport_tetel_kampany (kod) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE NO ACTION;