CREATE TABLE fajl_tar
(
  kod serial NOT NULL,
  nev character varying(100) DEFAULT '',
  kiterjesztes character varying(20) DEFAULT '',
  mappa smallint DEFAULT 0,
  mappa_kod integer DEFAULT 0,
  fajl bytea,
  betoltve timestamp without time zone,
  modositva timestamp without time zone,
  tulajdonos integer DEFAULT 0,
  jogosultsag_olvasas smallint DEFAULT 0,
  jogosultsag_modositas smallint DEFAULT 0,
  jogosultsag_torles smallint DEFAULT 0,
  jogosultsag_tulaj_olvasas smallint DEFAULT 1,
  jogosultsag_tulaj_modositas smallint DEFAULT 1,
  jogosultsag_tulaj_torles smallint DEFAULT 1,
  file_size_byte integer DEFAULT 0,
  m_userid character varying(20) DEFAULT '',
  m_date date DEFAULT '2005-01-01',
  m_time time without time zone DEFAULT '00:00:00',
  c_userid character varying(20) DEFAULT '',
  c_date date DEFAULT '2005-01-01',
  c_time time without time zone DEFAULT '00:00:00',
  tulajdonos_userid character varying(20) DEFAULT '',
  fvhtor_kod integer,
  fesem_kod integer,
  tulajdon_kod integer,
  leiras character varying(500) DEFAULT '',
  tulajdon2_kod integer,
  CONSTRAINT fajl_tar_pkey PRIMARY KEY (kod)
)
WITHOUT OIDS;