#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    frontsql
#DEF <PRIMARYKEY> i_text
#DEF <TABLENAME> text

#[ CREATE TABLE ZACATEK ]#
    id integer NOT NULL DEFAULT (0)::integer,
    t_text integer NOT NULL DEFAULT (0)::integer,
    h_text character varying(80) COLLATE pg_catalog."default",
    i_jazyk integer NOT NULL DEFAULT (0)::integer,
    zmaz boolean DEFAULT false,
    c_user integer,
    datcas timestamp without time zone DEFAULT '1971-01-01 00:00:00'::timestamp without time zone,
    i_text SERIAL,
    CONSTRAINT pk_i_text PRIMARY KEY (i_text)
#[ CREATE TABLE KONEC ]#

#[ IF EXIST ZACATEK ]#
#[ PRIMARYKEY ]#

DROP INDEX IF EXISTS frontsql.i_text;
CREATE INDEX i_text
    ON frontsql.text USING btree
    (id ASC NULLS LAST)
    TABLESPACE pg_default;

END IF;
#[ KONEC SOUBORU ]#