#[ ZACATEK SOUBORU ]#

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

#[ CREATE TABLE ZACATEK ]#
    novacena numeric DEFAULT 0.0000,
    idriadok integer,
    text character(100) COLLATE pg_catalog."default",
    mnozstvi numeric,
    zustatek numeric,
    zostatok numeric,
    cena numeric,
    cena_prum numeric,
    cas timestamp without time zone NOT NULL DEFAULT '1971-01-01 00:00:00'::timestamp without time zone,
    sidriadok integer,
    c_karty integer NOT NULL DEFAULT 0,
    c_stredisk integer,
    c_dokl integer,
    poradie integer,
    pz2 integer,
    operace character(2) COLLATE pg_catalog."default",
    c_mena_z smallint,
    c_mena_na smallint,
    c_mena smallint,
    id SERIAL,
    CONSTRAINT <TABLENAME>_<PRIMARYKEY> PRIMARY KEY (<PRIMARYKEY>)
#[ CREATE TABLE KONEC ]#

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