#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    frontsql
#DEF <PRIMARYKEY> i_strava
#DEF <TABLENAME> strava

#[ CREATE TABLE ZACATEK ]#
    i_akcia integer,
    food_limit character varying(45) COLLATE pg_catalog."default",
    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,
    id_limit integer,
    i_strava SERIAL,
    CONSTRAINT pk_i_strava PRIMARY KEY (i_strava)
#[ CREATE TABLE KONEC ]#

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

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

END IF;
#[ KONEC SOUBORU ]#