#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    frontsql
#DEF <PRIMARYKEY> i_kont_uda
#DEF <TABLENAME> kont_uda

#[ CREATE TABLE ZACATEK ]#
    i_osoba integer,
    i_typ_kon integer,
    h_kont_uda character varying(50) COLLATE pg_catalog."default",
    pozn text COLLATE pg_catalog."default",
    poradie integer,
    zmaz boolean DEFAULT false,
    c_user smallint,
    datcas timestamp without time zone DEFAULT '1971-01-01 00:00:00'::timestamp without time zone,
    i_kont_uda SERIAL,
    CONSTRAINT pk_i_kont_uda PRIMARY KEY (i_kont_uda)
#[ CREATE TABLE KONEC ]#

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

DROP INDEX IF EXISTS frontsql."FK_kont_uda_osoba";
CREATE INDEX "FK_kont_uda_osoba"
    ON frontsql.kont_uda USING btree
    (i_osoba ASC NULLS LAST)
    TABLESPACE pg_default;

END IF;
#[ KONEC SOUBORU ]#