CREATE TABLE _raktar_engedely
(
  munkatars_kod integer NOT NULL,
  raktar_kod integer NOT NULL,
  engedelyezett smallint DEFAULT 0,
  CONSTRAINT _raktar_engedely_pkey PRIMARY KEY (munkatars_kod, raktar_kod),
  CONSTRAINT _raktar_engedely_fk1 FOREIGN KEY (munkatars_kod)
      REFERENCES munkatars (kod) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE CASCADE,
  CONSTRAINT _raktar_engedely_fk2 FOREIGN KEY (raktar_kod)
      REFERENCES raktar_nevek (kod) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE CASCADE
)
WITHOUT OIDS;