#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    frontsql
#DEF <PRIMARYKEY> i_usporiad
#DEF <TABLENAME> usporiad

#[ CREATE TABLE ZACATEK ]#
    n_usporiad character varying(40) COLLATE pg_catalog."default",
    popis text COLLATE pg_catalog."default",
    zmaz boolean DEFAULT false,
    c_user integer,
    datcas timestamp without time zone DEFAULT '1971-01-01 00:00:00'::timestamp without time zone,
    obrazok text COLLATE pg_catalog."default",
    i_usporiad SERIAL,
    obrb bytea,
    CONSTRAINT pk_i_usporiad PRIMARY KEY (i_usporiad)
#[ CREATE TABLE KONEC ]#

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