#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    frontsql
#DEF <PRIMARYKEY> i_storno
#DEF <TABLENAME> storno

#[ CREATE TABLE ZACATEK ]#
    i_storno SERIAL,
    h_storno text COLLATE pg_catalog."default",
    s_storno character varying(10) COLLATE pg_catalog."default",
    pozn text COLLATE pg_catalog."default",
    poradie integer DEFAULT 9999,
    zmaz boolean DEFAULT false,
    c_user smallint,
    datcas timestamp without time zone DEFAULT '1971-01-01 00:00:00'::timestamp without time zone,
    CONSTRAINT <TABLENAME>_<PRIMARYKEY> PRIMARY KEY (<PRIMARYKEY>)
#[ CREATE TABLE KONEC ]#


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