#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    frontsql
#DEF <PRIMARYKEY> i_akc_reub
#DEF <TABLENAME> akc_reub

#[ CREATE TABLE ZACATEK ]#
    i_akcia integer NOT NULL DEFAULT 0,
    i_reub integer NOT NULL DEFAULT 0,
    pozn 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,
    i_akc_reub SERIAL,
    CONSTRAINT i_akc_reub PRIMARY KEY (i_akc_reub)
#[ CREATE TABLE KONEC ]#

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

DROP INDEX IF EXISTS frontsql.i_akcia1;
CREATE INDEX i_akcia1
    ON frontsql.akc_reub USING btree
    (i_akcia ASC NULLS LAST)
    TABLESPACE pg_default;

END IF;
#[ KONEC SOUBORU ]#