ALTER TABLE hulladek ADD CONSTRAINT hulladek_fk1 FOREIGN KEY (hulladek_pkod, hulladek_tkod) REFERENCES telephely (telephely_pkod, telephely_kod) ON UPDATE NO ACTION ON DELETE NO ACTION;
ALTER TABLE hulladek_hb ADD CONSTRAINT hulladek_hb_fk1 FOREIGN KEY (hulladek_hb_pkod, hulladek_hb_tkod) REFERENCES telephely (telephely_pkod, telephely_kod) ON UPDATE NO ACTION ON DELETE NO ACTION;
ALTER TABLE hulladek ALTER COLUMN fizmegforma TYPE character varying(20);
ALTER TABLE hulladek_ht ALTER COLUMN fizmegforma TYPE character varying(20);