#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    food600
#DEF <PRIMARYKEY> idriadok
#DEF <TABLENAME> bufferdzad

#[ CREATE TABLE ZACATEK ]#
    idriadok SERIAL,
    c_stredisk integer NOT NULL DEFAULT 0,
    odlozene smallint NOT NULL DEFAULT 0,
    c_dokl integer NOT NULL DEFAULT 0,
    menobuf character(10) COLLATE pg_catalog."default" NOT NULL DEFAULT ''::bpchar,
    c_data smallint NOT NULL DEFAULT 1,
    datum_dokl date,
    pz1 character(15) COLLATE pg_catalog."default" NOT NULL DEFAULT ''::bpchar,
    c_dokl_prij int4 NOT NULL DEFAULT 0,
    CONSTRAINT <TABLENAME>_<PRIMARYKEY> PRIMARY KEY (idriadok)
#[ CREATE TABLE KONEC ]#

#[ IF EXIST ZACATEK ]#
#[ PRIMARYKEY ]#
END IF;

#[ KONEC SOUBORU ]#