#[ ZACATEK SOUBORU ]#

#DEF <SCHEMA>    food600
#DEF <PRIMARYKEY> idriadok
#DEF <TABLENAME> sync_tables

#[ CREATE TABLE ZACATEK ]#
    idriadok serial,
    tabulka character varying(255) COLLATE pg_catalog."default",
    smer smallint NOT NULL DEFAULT 0,
    CONSTRAINT <TABLENAME>_<PRIMARYKEY> PRIMARY KEY (<PRIMARYKEY>)
#[ CREATE TABLE KONEC ]#

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

COMMENT ON COLUMN <SCHEMA>.sync_tables.smer
    IS '1 - posielanie
0 - iba import';
END IF;

#[ KONEC SOUBORU ]#