-- Name: tareasd; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tareasd (
    t_id integer NOT NULL,
    t_fecreg timestamp without time zone DEFAULT now(),
    t_fechad date,
    t_fechah date,
    t_archivo text,
    t_observacion text,
    t_estado integer DEFAULT 1
);


ALTER TABLE public.tareasd OWNER TO zona;

--
-- Name: tareasd_t_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tareasd_t_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tareasd_t_id_seq OWNER TO zona;

--
-- Name: tareasd_t_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tareasd_t_id_seq OWNED BY tareasd.t_id;



--
-- Name: tareasproy; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tareasproy (
    tp_id integer NOT NULL,
    tp_idproy integer NOT NULL,
    tp_fechaini date,
    tp_fechafin date,
    tp_nombre character varying(350),
    tp_obs text,
    tp_fecreg timestamp without time zone DEFAULT now(),
    tp_estado integer DEFAULT 1,
    tp_test text,
    tp_file text
);


ALTER TABLE public.tareasproy OWNER TO zona;

--
-- Name: tareasproy_tp_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tareasproy_tp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tareasproy_tp_id_seq OWNER TO zona;

--
-- Name: tareasproy_tp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tareasproy_tp_id_seq OWNED BY tareasproy.tp_id;



--
-- Name: tarifas; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tarifas (
    tari_idart integer NOT NULL,
    tari_idcontr integer NOT NULL,
    tari_usuario integer NOT NULL,
    tari_orden smallint DEFAULT 1 NOT NULL,
    tari_tipo smallint DEFAULT 1 NOT NULL,
    tari_fdesde date,
    tari_fhasta date,
    tari_cdesde numeric(15,5),
    tari_chasta numeric(15,5),
    tari_ddesde smallint,
    tari_dhasta smallint,
    tari_importe numeric(15,5) DEFAULT 0 NOT NULL,
    tari_formula character varying(100),
    tari_imp_dolar numeric(15,2) DEFAULT 0,
    tari_cot_dolar numeric(15,2) DEFAULT 0,
    tari_uc numeric(15,5) DEFAULT 0
);


ALTER TABLE public.tarifas OWNER TO zona;

--
-- Name: tarjeta; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tarjeta (
    tar_id integer NOT NULL,
    tar_estado smallint DEFAULT 1,
    tar_obs text
);


ALTER TABLE public.tarjeta OWNER TO zona;


--
-- Name: tarjvisita; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tarjvisita (
    tj_id integer NOT NULL,
    tj_nroreal integer NOT NULL,
    tj_nrovis integer NOT NULL,
    tj_estado integer DEFAULT 1
);


ALTER TABLE public.tarjvisita OWNER TO zona;

--
-- Name: tarjvisita_tj_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tarjvisita_tj_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tarjvisita_tj_id_seq OWNER TO zona;

--
-- Name: tarjvisita_tj_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tarjvisita_tj_id_seq OWNED BY tarjvisita.tj_id;



--
-- Name: telefon; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE telefon (
    tel_id integer NOT NULL,
    tel_tipent integer NOT NULL,
    tel_codigo integer NOT NULL,
    tel_tiptel integer NOT NULL,
    tel_contact character varying(60) NOT NULL,
    tel_leyen text,
    tel_dato character varying(300),
    tel_tipcar integer DEFAULT 4
);


ALTER TABLE public.telefon OWNER TO zona;

--
-- Name: telefon_tel_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE telefon_tel_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.telefon_tel_id_seq OWNER TO zona;

--
-- Name: telefon_tel_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE telefon_tel_id_seq OWNED BY telefon.tel_id;


--
-- Name: temasxminuta; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE temasxminuta (
    tm_id integer NOT NULL,
    tm_idminuta integer,
    tm_tema text,
    tm_desarrollo text,
    tm_plazo integer,
    tm_fechares date,
    tm_obs text,
    tm_estado integer DEFAULT 1
);


ALTER TABLE public.temasxminuta OWNER TO zona;

--
-- Name: temasxminuta_tm_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE temasxminuta_tm_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.temasxminuta_tm_id_seq OWNER TO zona;

--
-- Name: temasxminuta_tm_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE temasxminuta_tm_id_seq OWNED BY temasxminuta.tm_id;


--
-- Name: temporalweb; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE temporalweb (
    wtmp_id integer NOT NULL,
    wtmp_idsitem integer NOT NULL,
    wtmp_idret integer NOT NULL,
    wtmp_valor numeric(15,5) DEFAULT 0,
    wtmp_disponib numeric(15,5) DEFAULT 0,
    wtmp_compweb numeric(15,5) DEFAULT 0,
    wtmp_idwop integer
);


ALTER TABLE public.temporalweb OWNER TO zona;

--
-- Name: temporalweb_wtmp_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE temporalweb_wtmp_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.temporalweb_wtmp_id_seq OWNER TO zona;

--
-- Name: temporalweb_wtmp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE temporalweb_wtmp_id_seq OWNED BY temporalweb.wtmp_id;



--
-- Name: tipcar; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipcar (
    tc_id integer NOT NULL,
    tc_nombre character varying(80),
    tc_estado integer DEFAULT 1
);


ALTER TABLE public.tipcar OWNER TO zona;

--
-- Name: tipcar_tc_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipcar_tc_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipcar_tc_id_seq OWNER TO zona;

--
-- Name: tipcar_tc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipcar_tc_id_seq OWNED BY tipcar.tc_id;



--
-- Name: tipcontrat; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipcontrat (
    tipc_codigo integer NOT NULL,
    tipc_descrip character varying(40) NOT NULL,
    tipc_concon smallint DEFAULT 1 NOT NULL,
    tipc_afunif smallint DEFAULT 1 NOT NULL,
    tipc_t1 character varying(40),
    tipc_t2 character varying(40)
);


ALTER TABLE public.tipcontrat OWNER TO zona;

--
-- Name: tipcontrat_tipc_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipcontrat_tipc_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipcontrat_tipc_codigo_seq OWNER TO zona;

--
-- Name: tipcontrat_tipc_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipcontrat_tipc_codigo_seq OWNED BY tipcontrat.tipc_codigo;


--
-- Name: tipcta; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipcta (
    tct_codigo integer NOT NULL,
    tct_nombre character varying(180) NOT NULL
);


ALTER TABLE public.tipcta OWNER TO zona;

--
-- Name: tipcta_tct_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipcta_tct_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipcta_tct_codigo_seq OWNER TO zona;

--
-- Name: tipcta_tct_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipcta_tct_codigo_seq OWNED BY tipcta.tct_codigo;


--
-- Name: tipdocu; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipdocu (
    td_codigo character varying(5) NOT NULL,
    td_nombre character varying(40) NOT NULL
);


ALTER TABLE public.tipdocu OWNER TO zona;

--
-- Name: tipemp; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipemp (
    tem_codigo smallint NOT NULL,
    tem_nombre character varying(40) NOT NULL
);


ALTER TABLE public.tipemp OWNER TO zona;

--
-- Name: tipentid; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipentid (
    tet_codigo integer NOT NULL,
    tet_nombre character varying(30) NOT NULL
);


ALTER TABLE public.tipentid OWNER TO zona;

--
-- Name: tipentid_tet_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipentid_tet_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipentid_tet_codigo_seq OWNER TO zona;

--
-- Name: tipentid_tet_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipentid_tet_codigo_seq OWNED BY tipentid.tet_codigo;


--
-- Name: tipgente; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipgente (
    tgte_id integer NOT NULL,
    tgte_tipo integer NOT NULL,
    tgte_codigo integer NOT NULL,
    tgte_nombre character varying(60) NOT NULL,
    tgte_trato smallint DEFAULT 1
);


ALTER TABLE public.tipgente OWNER TO zona;

--
-- Name: tipgente_tgte_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipgente_tgte_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipgente_tgte_id_seq OWNER TO zona;

--
-- Name: tipgente_tgte_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipgente_tgte_id_seq OWNED BY tipgente.tgte_id;



--
-- Name: tipind; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipind (
    tin_codigo integer NOT NULL,
    tin_nombre character varying(120) NOT NULL,
    tin_abrev character varying(6)
);


ALTER TABLE public.tipind OWNER TO zona;

--
-- Name: tipind_tin_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipind_tin_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipind_tin_codigo_seq OWNER TO zona;

--
-- Name: tipind_tin_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipind_tin_codigo_seq OWNED BY tipind.tin_codigo;



--
-- Name: tiplog; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tiplog (
    tipl_codigo smallint DEFAULT nextval(('seq_tipl'::text)::regclass) NOT NULL,
    tipl_tipo smallint,
    tipl_modistock smallint DEFAULT 2,
    tipl_modiubic smallint DEFAULT 2,
    tipl_estado smallint,
    tipl_nombre character varying(50),
    tipl_sumaresta smallint DEFAULT 1,
    tipl_prefact smallint DEFAULT 2
);


ALTER TABLE public.tiplog OWNER TO zona;


--
-- Name: tipnot; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipnot (
    tn_id integer NOT NULL,
    tn_nombre character varying(80) NOT NULL,
    tn_estado integer DEFAULT 1
);


ALTER TABLE public.tipnot OWNER TO zona;

--
-- Name: tipnot_tn_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipnot_tn_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipnot_tn_id_seq OWNER TO zona;

--
-- Name: tipnot_tn_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipnot_tn_id_seq OWNED BY tipnot.tn_id;


--
-- Name: tipofoda; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipofoda (
    tf_id integer NOT NULL,
    tf_tipo integer,
    tf_nombre text,
    tf_estado integer DEFAULT 1 NOT NULL
);


ALTER TABLE public.tipofoda OWNER TO zona;

--
-- Name: tipofoda_tf_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipofoda_tf_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipofoda_tf_id_seq OWNER TO zona;

--
-- Name: tipofoda_tf_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipofoda_tf_id_seq OWNED BY tipofoda.tf_id;



--
-- Name: tipoper; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipoper (
    top_codigo integer NOT NULL,
    top_nombre character varying(40) NOT NULL,
    top_comprob character(3)
);


ALTER TABLE public.tipoper OWNER TO zona;

--
-- Name: tipoper_top_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipoper_top_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipoper_top_codigo_seq OWNER TO zona;

--
-- Name: tipoper_top_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipoper_top_codigo_seq OWNED BY tipoper.top_codigo;


--
-- Name: tipprod; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipprod (
    tip_codigo integer NOT NULL,
    tip_descrip character varying(40) NOT NULL,
    tip_imo smallint
);


ALTER TABLE public.tipprod OWNER TO zona;

--
-- Name: tipprod_tip_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipprod_tip_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipprod_tip_codigo_seq OWNER TO zona;

--
-- Name: tipprod_tip_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipprod_tip_codigo_seq OWNED BY tipprod.tip_codigo;



--
-- Name: tipprodint; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipprodint (
    tip_codigo integer NOT NULL,
    tip_descrip character varying(80) NOT NULL,
    tip_imo smallint
);


ALTER TABLE public.tipprodint OWNER TO zona;

--
-- Name: tipprodint_tip_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tipprodint_tip_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tipprodint_tip_codigo_seq OWNER TO zona;

--
-- Name: tipprodint_tip_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tipprodint_tip_codigo_seq OWNED BY tipprodint.tip_codigo;



--
-- Name: tippxunif; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tippxunif (
    txu_codtipp integer NOT NULL,
    txu_codunif smallint NOT NULL
);


ALTER TABLE public.tippxunif OWNER TO zona;

--
-- Name: tiptel; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tiptel (
    ttl_codigo integer NOT NULL,
    ttl_nombre character varying(30) NOT NULL
);


ALTER TABLE public.tiptel OWNER TO zona;

--
-- Name: tiptel_ttl_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE tiptel_ttl_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.tiptel_ttl_codigo_seq OWNER TO zona;

--
-- Name: tiptel_ttl_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE tiptel_ttl_codigo_seq OWNED BY tiptel.ttl_codigo;


--
-- Name: tipusu; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE tipusu (
    tpu_codigo smallint NOT NULL,
    tpu_nombre character varying(30) NOT NULL
);


ALTER TABLE public.tipusu OWNER TO zona;


--
-- Name: titaudi; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE titaudi (
    tt_id integer NOT NULL,
    tt_nombre text,
    tt_modo integer,
    tt_reg integer,
    tt_estado smallint DEFAULT 1
);


ALTER TABLE public.titaudi OWNER TO zona;

--
-- Name: titaudi_tt_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE titaudi_tt_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.titaudi_tt_id_seq OWNER TO zona;

--
-- Name: titaudi_tt_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE titaudi_tt_id_seq OWNED BY titaudi.tt_id;


--
-- Name: trackprov; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE trackprov (
    tk_id integer NOT NULL,
    tk_idprov integer DEFAULT 1,
    tk_pedido text,
    tk_accpost text,
    tk_tipo integer,
    tk_cumplimiento integer,
    tk_fechamax date,
    tk_fechacump timestamp without time zone,
    tk_fecreg timestamp without time zone DEFAULT now(),
    tk_obscump text,
    tk_estado smallint DEFAULT 1,
    tk_operador integer
);


ALTER TABLE public.trackprov OWNER TO zona;

--
-- Name: trackprov_tk_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE trackprov_tk_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.trackprov_tk_id_seq OWNER TO zona;

--
-- Name: trackprov_tk_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE trackprov_tk_id_seq OWNED BY trackprov.tk_id;


--
-- Name: ubicxdoc; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE ubicxdoc (
    uxd_id integer NOT NULL,
    uxd_iddoc integer NOT NULL,
    uxd_estado integer DEFAULT 1,
    uxd_ubicacion text,
    uxd_sitio integer
);


ALTER TABLE public.ubicxdoc OWNER TO zona;

--
-- Name: ubicxdoc_uxd_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE ubicxdoc_uxd_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ubicxdoc_uxd_id_seq OWNER TO zona;

--
-- Name: ubicxdoc_uxd_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE ubicxdoc_uxd_id_seq OWNED BY ubicxdoc.uxd_id;


--
-- Name: ufxinictr; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE ufxinictr (
    ufi_id integer NOT NULL,
    ufi_idini integer,
    ufi_unifun integer,
    ufi_estado integer DEFAULT 1
);


ALTER TABLE public.ufxinictr OWNER TO zona;

--
-- Name: ufxinictr_ufi_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE ufxinictr_ufi_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.ufxinictr_ufi_id_seq OWNER TO zona;

--
-- Name: ufxinictr_ufi_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE ufxinictr_ufi_id_seq OWNED BY ufxinictr.ufi_id;



--
-- Name: unifun; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE unifun (
    unif_codigo smallint NOT NULL,
    unif_nombre character varying(300) NOT NULL,
    unif_tipo smallint,
    unif_usuario integer,
    unif_superf numeric(15,5),
    unif_codmaria smallint,
    unif_seguro numeric(15,2) DEFAULT 0,
    unif_valormerca numeric(15,2) DEFAULT 0,
    unif_vensta date,
    unif_estado smallint DEFAULT 1 NOT NULL,
    unif_direc character varying(300),
    unif_habilit text,
    unif_oldcod text,
    unif_newcod character varying(15),
    unif_superc numeric(15,5) DEFAULT 0,
    unif_olddir character varying(90),
    unif_superd numeric(15,5),
    unif_oldsuperc numeric(15,5),
    unif_oldtipo integer,
    unif_obs text,
    unif_subdiv character varying(20),
    unif_propio integer,
    unif_obspropio text,
    unif_llave integer,
    unif_llavero text,
    unif_obsllaves text
);


ALTER TABLE public.unifun OWNER TO zona;

--
-- Name: unilot; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE unilot (
    unil_codunifun smallint NOT NULL,
    unit_idlote integer NOT NULL
);


ALTER TABLE public.unilot OWNER TO zona;


--
-- Name: unilot1; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE unilot1 (
    unil1_codunifun smallint NOT NULL,
    unit1_idlote integer NOT NULL
);


ALTER TABLE public.unilot1 OWNER TO zona;


--
-- Name: unimed; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE unimed (
    uni_codigo smallint NOT NULL,
    uni_coef numeric(15,5),
    uni_nombre character varying(140),
    uni_simbolo character varying(140)
);


ALTER TABLE public.unimed OWNER TO zona;


--
-- Name: usermenu; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE usermenu (
    umen_id integer NOT NULL,
    umen_operador integer NOT NULL,
    umen_idmenu integer,
    umen_estado smallint DEFAULT 1,
    umen_menufinal integer
);


ALTER TABLE public.usermenu OWNER TO zona;

--
-- Name: usermenu_umen_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE usermenu_umen_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.usermenu_umen_id_seq OWNER TO zona;

--
-- Name: usermenu_umen_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE usermenu_umen_id_seq OWNED BY usermenu.umen_id;



--
-- Name: usuarios; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE usuarios (
    usu_codigo integer NOT NULL,
    usu_nrocuit character varying(13) NOT NULL,
    usu_tipusu smallint NOT NULL,
    usu_nombre character varying(300) NOT NULL,
    usu_fantasy character varying(300),
    usu_nomabre character varying(5),
    usu_coniva smallint,
    usu_conpago integer,
    usu_catego integer,
    usu_limcred numeric(15,2) DEFAULT 0,
    usu_tasaint numeric(15,5),
    usu_grupo integer DEFAULT 1,
    usu_saldo numeric(15,2) DEFAULT 0,
    usu_estado smallint DEFAULT 1,
    usu_observ text,
    usu_dispo character varying(50),
    usu_fecreg timestamp without time zone DEFAULT now(),
    usu_activp text
);


ALTER TABLE public.usuarios OWNER TO zona;


--
-- Name: valorencuesta; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE valorencuesta (
    ve_id integer NOT NULL,
    ve_idres integer,
    ve_iditem integer,
    ve_valorint integer,
    ve_valorstr text,
    ve_estado integer DEFAULT 1
);


ALTER TABLE public.valorencuesta OWNER TO zona;

--
-- Name: valorencuesta_ve_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE valorencuesta_ve_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.valorencuesta_ve_id_seq OWNER TO zona;

--
-- Name: valorencuesta_ve_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE valorencuesta_ve_id_seq OWNED BY valorencuesta.ve_id;


--
-- Name: valorgestion; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE valorgestion (
    vi_id integer NOT NULL,
    vi_idind integer,
    vi_anio integer,
    vi_mes integer,
    vi_semestre integer,
    vi_valor1 text,
    vi_valor2 text,
    vi_valor3 text,
    vi_resultado text,
    vi_estado integer DEFAULT 1,
    vi_desde date,
    vi_hasta date
);


ALTER TABLE public.valorgestion OWNER TO zona;

--
-- Name: valorgestion_vi_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE valorgestion_vi_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.valorgestion_vi_id_seq OWNER TO zona;

--
-- Name: valorgestion_vi_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE valorgestion_vi_id_seq OWNED BY valorgestion.vi_id;



--
-- Name: varamb; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE varamb (
    var_codigo character varying(40) NOT NULL,
    var_nombre character varying(40) NOT NULL,
    var_valor character varying(40)
);


ALTER TABLE public.varamb OWNER TO zona;

--
-- Name: varambi; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE varambi (
    vari_codemp integer DEFAULT 0 NOT NULL,
    vari_idptov integer DEFAULT 0 NOT NULL,
    vari_codigo character varying(40) NOT NULL,
    vari_nombre character varying(40) NOT NULL,
    vari_valor character varying(40),
    vari_tipo integer DEFAULT 1
);


ALTER TABLE public.varambi OWNER TO zona;

--
-- Name: vendedor; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE vendedor (
    ven_id integer NOT NULL,
    ven_codemp integer NOT NULL,
    ven_nombre character varying(60) NOT NULL,
    ven_direcc character varying(60),
    ven_locali character varying(60),
    ven_codpos character varying(10),
    ven_provin integer,
    ven_pais smallint,
    ven_nrcuit character varying(20),
    ven_estado smallint DEFAULT 1,
    ven_comis numeric(15,5) DEFAULT 0
);


ALTER TABLE public.vendedor OWNER TO zona;

--
-- Name: vendedor_ven_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE vendedor_ven_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.vendedor_ven_id_seq OWNER TO zona;

--
-- Name: vendedor_ven_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE vendedor_ven_id_seq OWNED BY vendedor.ven_id;



--
-- Name: visinst; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE visinst (
    v_id integer NOT NULL,
    v_idfm integer,
    v_fecha date NOT NULL,
    v_nombre character varying(500),
    v_atendido character varying(150),
    v_cargo character varying(150),
    v_obs text,
    v_comentarios text,
    v_estado integer DEFAULT 1,
    v_alta integer,
    v_baja integer
);


ALTER TABLE public.visinst OWNER TO zona;

--
-- Name: visinst_v_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE visinst_v_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.visinst_v_id_seq OWNER TO zona;

--
-- Name: visinst_v_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE visinst_v_id_seq OWNED BY visinst.v_id;



--
-- Name: visita; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE visita (
    vt_id integer NOT NULL,
    vt_inout integer NOT NULL,
    vt_fecin timestamp without time zone DEFAULT now(),
    vt_fecout timestamp without time zone,
    vt_estado smallint DEFAULT 1,
    vt_gente integer,
    vt_usuario integer,
    vt_operout integer,
    vt_obs text
);


ALTER TABLE public.visita OWNER TO zona;

--
-- Name: visita_vt_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE visita_vt_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.visita_vt_id_seq OWNER TO zona;

--
-- Name: visita_vt_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE visita_vt_id_seq OWNED BY visita.vt_id;



--
-- Name: visual; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE visual (
    v_id integer NOT NULL,
    v_tabla text,
    v_idtabla integer,
    v_fecreg timestamp without time zone DEFAULT now(),
    v_estado integer DEFAULT 1
);


ALTER TABLE public.visual OWNER TO zona;

--
-- Name: visual_v_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE visual_v_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.visual_v_id_seq OWNER TO zona;

--
-- Name: visual_v_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE visual_v_id_seq OWNED BY visual.v_id;



--
-- Name: volegr; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE volegr (
    vole_idoper integer NOT NULL,
    vole_idoperi integer NOT NULL,
    vole_directo integer NOT NULL,
    vole_indirecto integer NOT NULL,
    vole_cliente integer,
    vole_compbte character(16) DEFAULT 'DATO DESCONOCIDO'::bpchar NOT NULL,
    vole_fechaeg date DEFAULT date(now()),
    vole_estado smallint DEFAULT 11 NOT NULL,
    vole_cantret numeric(15,2) DEFAULT 0 NOT NULL
);


ALTER TABLE public.volegr OWNER TO zona;

--
-- Name: voling; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE voling (
    vol_idoper integer NOT NULL,
    vol_directo integer NOT NULL,
    vol_indirecto integer NOT NULL,
    vol_cliente integer,
    vol_compbte character(16) DEFAULT 'DATO DESCONOCIDO'::bpchar NOT NULL,
    vol_comptrans character(16) DEFAULT 'DATO DESCONOCIDO'::bpchar,
    vol_fechain date DEFAULT date(now()),
    vol_estado smallint DEFAULT 11 NOT NULL,
    vol_canting numeric(15,2) DEFAULT 0 NOT NULL,
    vol_cantcomp numeric(15,2) DEFAULT 0 NOT NULL,
    vol_cantret numeric(15,2) DEFAULT 0 NOT NULL,
    vol_cantmala numeric(15,2) DEFAULT 0 NOT NULL,
    vol_modo smallint DEFAULT 1 NOT NULL,
    vol_ultfac date DEFAULT date(now())
);


ALTER TABLE public.voling OWNER TO zona;

--
-- Name: wleyenrexp; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE wleyenrexp (
    wleyr_id integer NOT NULL,
    wleyr_idoper integer NOT NULL,
    wleyr_nro smallint,
    wleyr_leyenda character varying(360)
);


ALTER TABLE public.wleyenrexp OWNER TO zona;

--
-- Name: wleyenrexp_wleyr_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE wleyenrexp_wleyr_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.wleyenrexp_wleyr_id_seq OWNER TO zona;

--
-- Name: wleyenrexp_wleyr_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE wleyenrexp_wleyr_id_seq OWNED BY wleyenrexp.wleyr_id;


--
-- Name: wnoticias; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE wnoticias (
    wnot_id integer NOT NULL,
    wnot_estado smallint DEFAULT 1 NOT NULL,
    wnot_tipoper integer DEFAULT 1 NOT NULL,
    wnot_directo integer DEFAULT 1 NOT NULL,
    wnot_indirecto integer DEFAULT 1 NOT NULL,
    wnot_feclect timestamp without time zone,
    wnot_operadlec integer,
    wnot_operadcar integer,
    wnot_prioridad integer DEFAULT 10,
    wnot_fecreg timestamp without time zone DEFAULT now() NOT NULL,
    wnot_texto text,
    wnot_titulo character varying(80)
);


ALTER TABLE public.wnoticias OWNER TO zona;

--
-- Name: wnoticias_wnot_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE wnoticias_wnot_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.wnoticias_wnot_id_seq OWNER TO zona;

--
-- Name: wnoticias_wnot_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE wnoticias_wnot_id_seq OWNED BY wnoticias.wnot_id;


--
-- Name: woperaciones; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE woperaciones (
    wop_id integer NOT NULL,
    wop_tipoper integer NOT NULL,
    wop_directo integer NOT NULL,
    wop_indirecto integer NOT NULL,
    wop_consig integer,
    wop_fechain date DEFAULT date(now()),
    wop_estado smallint DEFAULT 11 NOT NULL,
    wop_importe numeric(15,2) DEFAULT 0,
    wop_impdolar numeric(15,2) DEFAULT 0,
    wop_destino smallint,
    wop_proced smallint,
    wop_fecreg timestamp without time zone DEFAULT now() NOT NULL,
    wop_operador integer,
    wop_auxo_fact character varying(90),
    wop_deposito smallint,
    wop_clasemer character varying(90),
    wop_transito character(16) DEFAULT 'DATO DESCONOCIDO'::bpchar,
    wop_compbte character(16),
    wop_tipemb smallint,
    wop_volumen numeric(15,5) DEFAULT 0,
    wop_peso numeric(15,5) DEFAULT 0,
    wop_bultos integer DEFAULT 0,
    wop_moneda smallint,
    wop_nomconsig character varying(120),
    wop_nrocuitcsg character varying(13),
    wop_contacto character varying(90),
    wop_telefono character varying(90),
    wop_tiprod integer,
    wop_fechaest date DEFAULT date(now()),
    wop_vence smallint DEFAULT 1,
    wop_docbl character varying(40),
    wop_factnro character varying(40),
    wop_corigen character varying(90)
);


ALTER TABLE public.woperaciones OWNER TO zona;

--
-- Name: woperaciones_wop_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE woperaciones_wop_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.woperaciones_wop_id_seq OWNER TO zona;

--
-- Name: woperaciones_wop_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE woperaciones_wop_id_seq OWNED BY woperaciones.wop_id;


--
-- Name: wret2; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE wret2 (
    wret2_id integer NOT NULL,
    wret2_idopera integer NOT NULL,
    wret2_idsitem integer NOT NULL,
    wret2_item smallint DEFAULT 1 NOT NULL,
    wret2_sitem smallint DEFAULT 0 NOT NULL,
    wret2_cantidad numeric(15,5) DEFAULT 0 NOT NULL,
    wret2_idsitemc integer,
    wret2_estado smallint DEFAULT 1 NOT NULL
);


ALTER TABLE public.wret2 OWNER TO zona;

--
-- Name: wret2_wret2_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE wret2_wret2_id_seq
    START WITH 1915391
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.wret2_wret2_id_seq OWNER TO zona;

--
-- Name: wret2_wret2_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE wret2_wret2_id_seq OWNED BY wret2.wret2_id;



--
-- Name: wretiros; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE wretiros (
    wret_id integer NOT NULL,
    wret_idopera integer NOT NULL,
    wret_idsitem integer NOT NULL,
    wret_item smallint DEFAULT 1 NOT NULL,
    wret_sitem smallint DEFAULT 0 NOT NULL,
    wret_cantidad numeric(15,5) DEFAULT 0 NOT NULL,
    wret_idsitemc integer,
    wret_compbte character(16) DEFAULT 'DATO DESCONOCIDO'::bpchar,
    wret_tipoper integer,
    wret_nrotaldir integer NOT NULL,
    wret_fecha date DEFAULT '2020-08-25'::date,
    wret_estado smallint DEFAULT 1
);


ALTER TABLE public.wretiros OWNER TO zona;

--
-- Name: wretiros_wret_id_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE wretiros_wret_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.wretiros_wret_id_seq OWNER TO zona;

--
-- Name: wretiros_wret_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE wretiros_wret_id_seq OWNED BY wretiros.wret_id;


--
-- Name: wsubitem; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE wsubitem (
    wsitem_id integer NOT NULL,
    wsitem_iditem integer NOT NULL,
    wsitem_idoper integer,
    wsitem_codigo smallint DEFAULT 0 NOT NULL,
    wsitem_artic integer,
    wsitem_canting numeric(15,5) DEFAULT 0 NOT NULL,
    wsitem_cantret numeric(15,5) DEFAULT 0,
    wsitem_cantcomp numeric(15,5) DEFAULT 0,
    wsitem_cantmala numeric(15,5) DEFAULT 0,
    wsitem_importe numeric(15,2) DEFAULT 0 NOT NULL,
    wsitem_imp_dolar numeric(15,2) DEFAULT 0,
    wsitem_volumen numeric(15,5) DEFAULT 0,
    wsitem_peso numeric(15,5) DEFAULT 0,
    wsitem_tipemb smallint,
    wsitem_deposito smallint,
    wsitem_idacta integer,
    wsitem_estado integer DEFAULT 1,
    wsitem_directo integer NOT NULL,
    wsitem_indirecto integer NOT NULL,
    wsitem_consig integer,
    wsitem_compbte character varying(16),
    wsitem_item smallint DEFAULT 0 NOT NULL,
    wsitem_moneda smallint,
    wsitem_unimed smallint,
    wsitem_comptrans character(16) DEFAULT 'DATO DESCONOCIDO'::bpchar,
    wsitem_tipoper integer,
    wsitem_nrotaldir integer NOT NULL,
    wsitem_codart character varying(80) NOT NULL,
    wsitem_marca character varying(80),
    wsitem_modelo character varying(80),
    wsitem_descrip character varying(80),
    wsitem_posa character varying(15),
    wsitem_cantcompw numeric(15,5) DEFAULT 0
);


ALTER TABLE public.wsubitem OWNER TO zona;


--
-- Name: zona; Type: TABLE; Schema: public; Owner: zona; Tablespace: 
--

CREATE TABLE zona (
    zon_codigo integer NOT NULL,
    zon_pais integer,
    zon_provin smallint,
    zon_ciudad integer,
    zon_barrio integer,
    zon_nombre character varying(40) NOT NULL
);


ALTER TABLE public.zona OWNER TO zona;

--
-- Name: zona_zon_codigo_seq; Type: SEQUENCE; Schema: public; Owner: zona
--

CREATE SEQUENCE zona_zon_codigo_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.zona_zon_codigo_seq OWNER TO zona;

--
-- Name: zona_zon_codigo_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zona
--

ALTER SEQUENCE zona_zon_codigo_seq OWNED BY zona.zon_codigo;


--
-- Name: ac_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY abucble ALTER COLUMN ac_id SET DEFAULT nextval('abucble_ac_id_seq'::regclass);


--
-- Name: a_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY accidentes ALTER COLUMN a_id SET DEFAULT nextval('accidentes_a_id_seq'::regclass);


--
-- Name: a_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY accioncalidad ALTER COLUMN a_id SET DEFAULT nextval('accioncalidad_a_id_seq'::regclass);


--
-- Name: acta_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY actas ALTER COLUMN acta_id SET DEFAULT nextval('actas_acta_id_seq'::regclass);


--
-- Name: act_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY activanualsh ALTER COLUMN act_id SET DEFAULT nextval('activanualsh_act_id_seq'::regclass);


--
-- Name: alm_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY almacen ALTER COLUMN alm_id SET DEFAULT nextval('almacen_alm_id_seq'::regclass);


--
-- Name: al_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY almacenaje ALTER COLUMN al_id SET DEFAULT nextval('almacenaje_al_id_seq'::regclass);


--
-- Name: artic_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY articu ALTER COLUMN artic_id SET DEFAULT nextval('articu_artic_id_seq'::regclass);


--
-- Name: articd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY articud ALTER COLUMN articd_id SET DEFAULT nextval('articud_articd_id_seq'::regclass);


--
-- Name: articd_idartic; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY articud ALTER COLUMN articd_idartic SET DEFAULT nextval('articud_articd_idartic_seq'::regclass);


--
-- Name: art_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY articvta ALTER COLUMN art_id SET DEFAULT nextval('articvta_art_id_seq'::regclass);


--
-- Name: as_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY artseg ALTER COLUMN as_id SET DEFAULT nextval('artseg_as_id_seq'::regclass);


--
-- Name: a_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY asistencia ALTER COLUMN a_id SET DEFAULT nextval('asistencia_a_id_seq'::regclass);


--
-- Name: a_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY asistxcapac ALTER COLUMN a_id SET DEFAULT nextval('asistxcapac_a_id_seq'::regclass);


--
-- Name: astc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY astoctas ALTER COLUMN astc_id SET DEFAULT nextval('astoctas_astc_id_seq'::regclass);


--
-- Name: ash_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY astoh ALTER COLUMN ash_id SET DEFAULT nextval('astoh_ash_id_seq'::regclass);


--
-- Name: aut_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY autorizados ALTER COLUMN aut_id SET DEFAULT nextval('autorizados_aut_id_seq'::regclass);


--
-- Name: fe_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY auxfe ALTER COLUMN fe_id SET DEFAULT nextval('auxfe_fe_id_seq'::regclass);


--
-- Name: avh_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY auxoperv ALTER COLUMN avh_id SET DEFAULT nextval('auxoperv_avh_id_seq'::regclass);


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY bingoprueba ALTER COLUMN id SET DEFAULT nextval('bingoprueba_id_seq'::regclass);


--
-- Name: cal_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY calforms ALTER COLUMN cal_id SET DEFAULT nextval('calforms_cal_id_seq'::regclass);


--
-- Name: cb_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY calpersb ALTER COLUMN cb_id SET DEFAULT nextval('calpersb_cb_id_seq'::regclass);


--
-- Name: ch_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY calpersh ALTER COLUMN ch_id SET DEFAULT nextval('calpersh_ch_id_seq'::regclass);


--
-- Name: cp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY capacitacion ALTER COLUMN cp_id SET DEFAULT nextval('capacitacion_cp_id_seq'::regclass);


--
-- Name: car_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY caratula ALTER COLUMN car_id SET DEFAULT nextval('caratula_car_id_seq'::regclass);


--
-- Name: c_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cargaydes ALTER COLUMN c_id SET DEFAULT nextval('cargaydes_c_id_seq'::regclass);


--
-- Name: car_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cargopersonal ALTER COLUMN car_id SET DEFAULT nextval('cargopersonal_car_id_seq'::regclass);


--
-- Name: car_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cargos ALTER COLUMN car_id SET DEFAULT nextval('cargos_car_id_seq'::regclass);


--
-- Name: cvt_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY carvis ALTER COLUMN cvt_id SET DEFAULT nextval('carvis_cvt_id_seq'::regclass);


--
-- Name: cat_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY catego ALTER COLUMN cat_codigo SET DEFAULT nextval('catego_cat_codigo_seq'::regclass);


--
-- Name: c_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cauditado ALTER COLUMN c_id SET DEFAULT nextval('cauditado_c_id_seq'::regclass);


--
-- Name: cco_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY centroc ALTER COLUMN cco_id SET DEFAULT nextval('centroc_cco_id_seq'::regclass);


--
-- Name: cert_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY certificados ALTER COLUMN cert_id SET DEFAULT nextval('certificados_cert_id_seq'::regclass);


--
-- Name: chq_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cheques ALTER COLUMN chq_id SET DEFAULT nextval('cheques_chq_id_seq'::regclass);


--
-- Name: ce_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY chkcontr ALTER COLUMN ce_id SET DEFAULT nextval('chkcontr_ce_id_seq'::regclass);


--
-- Name: ce_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY chklemp ALTER COLUMN ce_id SET DEFAULT nextval('chklemp_ce_id_seq'::regclass);


--
-- Name: chqr_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY chqrech ALTER COLUMN chqr_id SET DEFAULT nextval('chqrech_chqr_id_seq'::regclass);


--
-- Name: cs_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ciaseg ALTER COLUMN cs_id SET DEFAULT nextval('ciaseg_cs_id_seq'::regclass);


--
-- Name: clac_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY clacont ALTER COLUMN clac_codigo SET DEFAULT nextval('clacont_clac_codigo_seq'::regclass);


--
-- Name: cli_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY clientes ALTER COLUMN cli_id SET DEFAULT nextval('clientes_cli_id_seq'::regclass);


--
-- Name: cob_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY codobje ALTER COLUMN cob_id SET DEFAULT nextval('codobje_cob_id_seq'::regclass);


--
-- Name: cob_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY codobji ALTER COLUMN cob_id SET DEFAULT nextval('codobji_cob_id_seq'::regclass);


--
-- Name: cs_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY codsgc ALTER COLUMN cs_id SET DEFAULT nextval('codsgc_cs_id_seq'::regclass);


--
-- Name: cm_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY combustible ALTER COLUMN cm_id SET DEFAULT nextval('combustible_cm_id_seq'::regclass);


--
-- Name: com_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY comis ALTER COLUMN com_id SET DEFAULT nextval('comis_com_id_seq'::regclass);


--
-- Name: cfac_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY complfac ALTER COLUMN cfac_id SET DEFAULT nextval('complfac_cfac_id_seq'::regclass);


--
-- Name: cpra_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY compra ALTER COLUMN cpra_id SET DEFAULT nextval('compra_cpra_id_seq'::regclass);


--
-- Name: comp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY comprob ALTER COLUMN comp_id SET DEFAULT nextval('comprob_comp_id_seq'::regclass);


--
-- Name: cfc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY confactur ALTER COLUMN cfc_id SET DEFAULT nextval('confactur_cfc_id_seq'::regclass);


--
-- Name: cfc1_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY confactur1 ALTER COLUMN cfc1_id SET DEFAULT nextval('confactur1_cfc1_id_seq'::regclass);


--
-- Name: cdp_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY conpag ALTER COLUMN cdp_codigo SET DEFAULT nextval('conpag_cdp_codigo_seq'::regclass);


--
-- Name: csg_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY consig ALTER COLUMN csg_id SET DEFAULT nextval('consig_csg_id_seq'::regclass);


--
-- Name: cm_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY consumos ALTER COLUMN cm_id SET DEFAULT nextval('consumos_cm_id_seq'::regclass);


--
-- Name: contev_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY conteven ALTER COLUMN contev_codigo SET DEFAULT nextval('conteven_contev_codigo_seq'::regclass);


--
-- Name: contr_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY contratos ALTER COLUMN contr_id SET DEFAULT nextval('contratos_contr_id_seq'::regclass);


--
-- Name: cd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY controldoc ALTER COLUMN cd_id SET DEFAULT nextval('controldoc_cd_id_seq'::regclass);


--
-- Name: ex_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY controlext ALTER COLUMN ex_id SET DEFAULT nextval('controlext_ex_id_seq'::regclass);


--
-- Name: ctp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY controlop ALTER COLUMN ctp_id SET DEFAULT nextval('controlop_ctp_id_seq'::regclass);


--
-- Name: cp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY contrprov ALTER COLUMN cp_id SET DEFAULT nextval('contrprov_cp_id_seq'::regclass);


--
-- Name: astc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY copia_astoctas ALTER COLUMN astc_id SET DEFAULT nextval('copia_astoctas_astc_id_seq'::regclass);


--
-- Name: cp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY criticprov ALTER COLUMN cp_id SET DEFAULT nextval('criticprov_cp_id_seq'::regclass);


--
-- Name: cxu_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY csgxuf ALTER COLUMN cxu_id SET DEFAULT nextval('csgxuf_cxu_id_seq'::regclass);


--
-- Name: cbl_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ctacble ALTER COLUMN cbl_id SET DEFAULT nextval('ctacble_cbl_id_seq'::regclass);


--
-- Name: cte_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ctes ALTER COLUMN cte_id SET DEFAULT nextval('ctes_cte_id_seq'::regclass);


--
-- Name: cm_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cumplinfo ALTER COLUMN cm_id SET DEFAULT nextval('cumplinfo_cm_id_seq'::regclass);


--
-- Name: dd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY deadop ALTER COLUMN dd_id SET DEFAULT nextval('deadop_dd_id_seq'::regclass);


--
-- Name: desp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY despach ALTER COLUMN desp_id SET DEFAULT nextval('despach_desp_id_seq'::regclass);


--
-- Name: dc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY difcta ALTER COLUMN dc_id SET DEFAULT nextval('difcta_dc_id_seq'::regclass);


--
-- Name: div_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY division ALTER COLUMN div_id SET DEFAULT nextval('division_div_id_seq'::regclass);


--
-- Name: de_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY docexterno ALTER COLUMN de_id SET DEFAULT nextval('docexterno_de_id_seq'::regclass);


--
-- Name: doc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY docum ALTER COLUMN doc_id SET DEFAULT nextval('docum_doc_id_seq'::regclass);


--
-- Name: d_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY documentacion ALTER COLUMN d_id SET DEFAULT nextval('documentacion_d_id_seq'::regclass);


--
-- Name: d_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY dow ALTER COLUMN d_id SET DEFAULT nextval('dow_d_id_seq'::regclass);


--
-- Name: egt_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY egretot ALTER COLUMN egt_id SET DEFAULT nextval('egretot_egt_id_seq'::regclass);


--
-- Name: e_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY emergencias ALTER COLUMN e_id SET DEFAULT nextval('emergencias_e_id_seq'::regclass);


--
-- Name: emi_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY emiti ALTER COLUMN emi_id SET DEFAULT nextval('emiti_emi_id_seq'::regclass);


--
-- Name: e_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY empleados ALTER COLUMN e_id SET DEFAULT nextval('empleados_e_id_seq'::regclass);


--
-- Name: e_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY encuesta ALTER COLUMN e_id SET DEFAULT nextval('encuesta_e_id_seq'::regclass);


--
-- Name: ent_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY entidad ALTER COLUMN ent_id SET DEFAULT nextval('entidad_ent_id_seq'::regclass);


--
-- Name: e_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY estaccid ALTER COLUMN e_id SET DEFAULT nextval('estaccid_e_id_seq'::regclass);


--
-- Name: ec_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY estcivil ALTER COLUMN ec_codigo SET DEFAULT nextval('estcivil_ec_codigo_seq'::regclass);


--
-- Name: est_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY estiba ALTER COLUMN est_id SET DEFAULT nextval('estiba_est_id_seq'::regclass);


--
-- Name: ej_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY estjurid ALTER COLUMN ej_id SET DEFAULT nextval('estjurid_ej_id_seq'::regclass);


--
-- Name: fac_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY facturacion ALTER COLUMN fac_id SET DEFAULT nextval('facturacion_fac_id_seq'::regclass);


--
-- Name: fxi_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY fcxinv ALTER COLUMN fxi_id SET DEFAULT nextval('fcxinv_fxi_id_seq'::regclass);


--
-- Name: fc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY fecxcapac ALTER COLUMN fc_id SET DEFAULT nextval('fecxcapac_fc_id_seq'::regclass);


--
-- Name: fci_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY fecxinictr ALTER COLUMN fci_id SET DEFAULT nextval('fecxinictr_fci_id_seq'::regclass);


--
-- Name: f_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY feriados ALTER COLUMN f_id SET DEFAULT nextval('feriados_f_id_seq'::regclass);


--
-- Name: fir_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY firman ALTER COLUMN fir_id SET DEFAULT nextval('firman_fir_id_seq'::regclass);


--
-- Name: f_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY foda ALTER COLUMN f_id SET DEFAULT nextval('foda_f_id_seq'::regclass);


--
-- Name: f_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY fueros ALTER COLUMN f_id SET DEFAULT nextval('fueros_f_id_seq'::regclass);


--
-- Name: gte_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY gente ALTER COLUMN gte_id SET DEFAULT nextval('gente_gte_id_seq'::regclass);


--
-- Name: gpo_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY grupos ALTER COLUMN gpo_id SET DEFAULT nextval('grupos_gpo_id_seq'::regclass);


--
-- Name: gc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY gtexcapac ALTER COLUMN gc_id SET DEFAULT nextval('gtexcapac_gc_id_seq'::regclass);


--
-- Name: h_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY hallazgos ALTER COLUMN h_id SET DEFAULT nextval('hallazgos_h_id_seq'::regclass);


--
-- Name: hc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY hijcble ALTER COLUMN hc_id SET DEFAULT nextval('hijcble_hc_id_seq'::regclass);


--
-- Name: ind_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY indgestion ALTER COLUMN ind_id SET DEFAULT nextval('indgestion_ind_id_seq'::regclass);


--
-- Name: ind_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY indicador ALTER COLUMN ind_id SET DEFAULT nextval('indicador_ind_id_seq'::regclass);


--
-- Name: inf_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inflacion ALTER COLUMN inf_id SET DEFAULT nextval('inflacion_inf_id_seq'::regclass);


--
-- Name: inh_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inhabilit ALTER COLUMN inh_id SET DEFAULT nextval('inhabilit_inh_id_seq'::regclass);


--
-- Name: ic_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inichk ALTER COLUMN ic_id SET DEFAULT nextval('inichk_ic_id_seq'::regclass);


--
-- Name: ini_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inicontr ALTER COLUMN ini_id SET DEFAULT nextval('inicontr_ini_id_seq'::regclass);


--
-- Name: io_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY "inout" ALTER COLUMN io_id SET DEFAULT nextval('inout_io_id_seq'::regclass);


--
-- Name: iol_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inoutliv ALTER COLUMN iol_id SET DEFAULT nextval('inoutliv_iol_id_seq'::regclass);


--
-- Name: i_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY instrumentos ALTER COLUMN i_id SET DEFAULT nextval('instrumentos_i_id_seq'::regclass);


--
-- Name: is_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY integrsoc ALTER COLUMN is_id SET DEFAULT nextval('integrsoc_is_id_seq'::regclass);


--
-- Name: int_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY intotal ALTER COLUMN int_id SET DEFAULT nextval('intotal_int_id_seq'::regclass);


--
-- Name: inv_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inventario ALTER COLUMN inv_id SET DEFAULT nextval('inventario_inv_id_seq'::regclass);


--
-- Name: iv_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inversiones ALTER COLUMN iv_id SET DEFAULT nextval('inversiones_iv_id_seq'::regclass);


--
-- Name: is_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY invsistemas ALTER COLUMN is_id SET DEFAULT nextval('invsistemas_is_id_seq'::regclass);


--
-- Name: item_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY item ALTER COLUMN item_id SET DEFAULT nextval('item_item_id_seq'::regclass);


--
-- Name: ic_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY itemcarga ALTER COLUMN ic_id SET DEFAULT nextval('itemcarga_ic_id_seq'::regclass);


--
-- Name: ie_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY itemencuesta ALTER COLUMN ie_id SET DEFAULT nextval('itemencuesta_ie_id_seq'::regclass);


--
-- Name: items_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY items ALTER COLUMN items_id SET DEFAULT nextval('items_items_id_seq'::regclass);


--
-- Name: is_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY itemstock ALTER COLUMN is_id SET DEFAULT nextval('itemstock_is_id_seq'::regclass);


--
-- Name: j_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY juicios ALTER COLUMN j_id SET DEFAULT nextval('juicios_j_id_seq'::regclass);


--
-- Name: j_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY juzgados ALTER COLUMN j_id SET DEFAULT nextval('juzgados_j_id_seq'::regclass);


--
-- Name: let_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY lecting ALTER COLUMN let_id SET DEFAULT nextval('lecting_let_id_seq'::regclass);


--
-- Name: let_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY lecting_fallas ALTER COLUMN let_id SET DEFAULT nextval('lecting_fallas_let_id_seq'::regclass);


--
-- Name: leyr_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY leyenrexp ALTER COLUMN leyr_id SET DEFAULT nextval('leyenrexp_leyr_id_seq'::regclass);


--
-- Name: lb_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY limpbal ALTER COLUMN lb_id SET DEFAULT nextval('limpbal_lb_id_seq'::regclass);


--
-- Name: ltp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY listpre ALTER COLUMN ltp_id SET DEFAULT nextval('listpre_ltp_id_seq'::regclass);


--
-- Name: lv_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY livianos ALTER COLUMN lv_id SET DEFAULT nextval('livianos_lv_id_seq'::regclass);


--
-- Name: lg_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY loginattempt ALTER COLUMN lg_id SET DEFAULT nextval('loginattempt_lg_id_seq'::regclass);


--
-- Name: lot_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY lotes ALTER COLUMN lot_id SET DEFAULT nextval('lotes_lot_id_seq'::regclass);


--
-- Name: lot1_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY lotes1 ALTER COLUMN lot1_id SET DEFAULT nextval('lotes1_lot1_id_seq'::regclass);


--
-- Name: idpropio; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY m_astoctas ALTER COLUMN idpropio SET DEFAULT nextval('m_astoctas_idpropio_seq'::regclass);


--
-- Name: idpct; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY m_ctacte ALTER COLUMN idpct SET DEFAULT nextval('m_ctacte_idpct_seq'::regclass);


--
-- Name: idpct; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY m_pctacte ALTER COLUMN idpct SET DEFAULT nextval('m_pctacte_idpct_seq'::regclass);


--
-- Name: marc_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY marcont ALTER COLUMN marc_codigo SET DEFAULT nextval('marcont_marc_codigo_seq'::regclass);


--
-- Name: mi_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY medinst ALTER COLUMN mi_id SET DEFAULT nextval('medinst_mi_id_seq'::regclass);


--
-- Name: mp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY medpagprov ALTER COLUMN mp_id SET DEFAULT nextval('medpagprov_mp_id_seq'::regclass);


--
-- Name: men_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY menues ALTER COLUMN men_id SET DEFAULT nextval('menues_men_id_seq'::regclass);


--
-- Name: m_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY meses ALTER COLUMN m_id SET DEFAULT nextval('meses_m_id_seq'::regclass);


--
-- Name: m_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY minutareunion ALTER COLUMN m_id SET DEFAULT nextval('minutareunion_m_id_seq'::regclass);


--
-- Name: mod_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY modauto ALTER COLUMN mod_id SET DEFAULT nextval('modauto_mod_id_seq'::regclass);


--
-- Name: log_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY modlogs ALTER COLUMN log_id SET DEFAULT nextval('modlogs_log_id_seq'::regclass);


--
-- Name: mod_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY modopub ALTER COLUMN mod_id SET DEFAULT nextval('modopub_mod_id_seq'::regclass);


--
-- Name: mne_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY monex ALTER COLUMN mne_id SET DEFAULT nextval('monex_mne_id_seq'::regclass);


--
-- Name: ms_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY movssgc ALTER COLUMN ms_id SET DEFAULT nextval('movssgc_ms_id_seq'::regclass);


--
-- Name: movs_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY movsto ALTER COLUMN movs_id SET DEFAULT nextval('movsto_movs_id_seq'::regclass);


--
-- Name: movc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY movstoc ALTER COLUMN movc_id SET DEFAULT nextval('movstoc_movc_id_seq'::regclass);


--
-- Name: nd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY notdeb ALTER COLUMN nd_id SET DEFAULT nextval('notdeb_nd_id_seq'::regclass);


--
-- Name: not_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY noticias ALTER COLUMN not_id SET DEFAULT nextval('noticias_not_id_seq'::regclass);


--
-- Name: nd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY notifdpzf ALTER COLUMN nd_id SET DEFAULT nextval('notifdpzf_nd_id_seq'::regclass);


--
-- Name: nr_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY notresp ALTER COLUMN nr_id SET DEFAULT nextval('notresp_nr_id_seq'::regclass);


--
-- Name: nv_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY novemple ALTER COLUMN nv_id SET DEFAULT nextval('novemple_nv_id_seq'::regclass);


--
-- Name: nf_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY novfact ALTER COLUMN nf_id SET DEFAULT nextval('novfact_nf_id_seq'::regclass);


--
-- Name: o_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY objcalidad ALTER COLUMN o_id SET DEFAULT nextval('objcalidad_o_id_seq'::regclass);


--
-- Name: obj_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY objecion ALTER COLUMN obj_id SET DEFAULT nextval('objecion_obj_id_seq'::regclass);


--
-- Name: oa_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY objxacc ALTER COLUMN oa_id SET DEFAULT nextval('objxacc_oa_id_seq'::regclass);


--
-- Name: obj_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY objxplan ALTER COLUMN obj_id SET DEFAULT nextval('objxplan_obj_id_seq'::regclass);


--
-- Name: oe_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY obsencuesta ALTER COLUMN oe_id SET DEFAULT nextval('obsencuesta_oe_id_seq'::regclass);


--
-- Name: op_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY operaciones ALTER COLUMN op_id SET DEFAULT nextval('operaciones_op_id_seq'::regclass);


--
-- Name: operad_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY operadores ALTER COLUMN operad_id SET DEFAULT nextval('operadores_operad_id_seq'::regclass);


--
-- Name: opv_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY opervehi ALTER COLUMN opv_id SET DEFAULT nextval('opervehi_opv_id_seq'::regclass);


--
-- Name: pab_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY paccb ALTER COLUMN pab_id SET DEFAULT nextval('paccb_pab_id_seq'::regclass);


--
-- Name: pah_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pacch ALTER COLUMN pah_id SET DEFAULT nextval('pacch_pah_id_seq'::regclass);


--
-- Name: pc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY padcble ALTER COLUMN pc_id SET DEFAULT nextval('padcble_pc_id_seq'::regclass);


--
-- Name: pi_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY partesinteresadas ALTER COLUMN pi_id SET DEFAULT nextval('partesinteresadas_pi_id_seq'::regclass);


--
-- Name: pm_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY participmr ALTER COLUMN pm_id SET DEFAULT nextval('participmr_pm_id_seq'::regclass);


--
-- Name: p_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pasto ALTER COLUMN p_id SET DEFAULT nextval('pasto_p_id_seq'::regclass);


--
-- Name: p_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pauditado ALTER COLUMN p_id SET DEFAULT nextval('pauditado_p_id_seq'::regclass);


--
-- Name: pc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pdfcontratos ALTER COLUMN pc_id SET DEFAULT nextval('pdfcontratos_pc_id_seq'::regclass);


--
-- Name: pa_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY planauditoria ALTER COLUMN pa_id SET DEFAULT nextval('planauditoria_pa_id_seq'::regclass);


--
-- Name: p_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY poderes ALTER COLUMN p_id SET DEFAULT nextval('poderes_p_id_seq'::regclass);


--
-- Name: pp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ppuestob ALTER COLUMN pp_id SET DEFAULT nextval('ppuestob_pp_id_seq'::regclass);


--
-- Name: pp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ppuestoc ALTER COLUMN pp_id SET DEFAULT nextval('ppuestoc_pp_id_seq'::regclass);


--
-- Name: p_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY presup ALTER COLUMN p_id SET DEFAULT nextval('presup_p_id_seq'::regclass);


--
-- Name: pim_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY problimp ALTER COLUMN pim_id SET DEFAULT nextval('problimp_pim_id_seq'::regclass);


--
-- Name: pxi_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY profxinv ALTER COLUMN pxi_id SET DEFAULT nextval('profxinv_pxi_id_seq'::regclass);


--
-- Name: pa_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY proganualsh ALTER COLUMN pa_id SET DEFAULT nextval('proganualsh_pa_id_seq'::regclass);


--
-- Name: p_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY proginst ALTER COLUMN p_id SET DEFAULT nextval('proginst_p_id_seq'::regclass);


--
-- Name: prov_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY prove ALTER COLUMN prov_id SET DEFAULT nextval('prove_prov_id_seq'::regclass);


--
-- Name: pro_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY provin ALTER COLUMN pro_codigo SET DEFAULT nextval('provin_pro_codigo_seq'::regclass);


--
-- Name: p_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY proyecto ALTER COLUMN p_id SET DEFAULT nextval('proyecto_p_id_seq'::regclass);


--
-- Name: ptv_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ptovta ALTER COLUMN ptv_id SET DEFAULT nextval('ptovta_ptv_id_seq'::regclass);


--
-- Name: pxo_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pwdxoper ALTER COLUMN pxo_id SET DEFAULT nextval('pwdxoper_pxo_id_seq'::regclass);


--
-- Name: pxo2_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pwdxoper2 ALTER COLUMN pxo2_id SET DEFAULT nextval('pwdxoper2_pxo2_id_seq'::regclass);


--
-- Name: r_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY reclamos ALTER COLUMN r_id SET DEFAULT nextval('reclamos_r_id_seq'::regclass);


--
-- Name: r_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY reclamosclientes ALTER COLUMN r_id SET DEFAULT nextval('reclamosclientes_r_id_seq'::regclass);


--
-- Name: r_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY reclped ALTER COLUMN r_id SET DEFAULT nextval('reclped_r_id_seq'::regclass);


--
-- Name: rg_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY regcam ALTER COLUMN rg_id SET DEFAULT nextval('regcam_rg_id_seq'::regclass);


--
-- Name: rd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY regdoc ALTER COLUMN rd_id SET DEFAULT nextval('regdoc_rd_id_seq'::regclass);


--
-- Name: rf_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY regfirma ALTER COLUMN rf_id SET DEFAULT nextval('regfirma_rf_id_seq'::regclass);


--
-- Name: reg_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY reginf ALTER COLUMN reg_id SET DEFAULT nextval('reginf_reg_id_seq'::regclass);


--
-- Name: rm_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY regmantenim ALTER COLUMN rm_id SET DEFAULT nextval('regmantenim_rm_id_seq'::regclass);


--
-- Name: rmd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY regmoddom ALTER COLUMN rmd_id SET DEFAULT nextval('regmoddom_rmd_id_seq'::regclass);


--
-- Name: rmen_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY relmenu ALTER COLUMN rmen_id SET DEFAULT nextval('relmenu_rmen_id_seq'::regclass);


--
-- Name: rxa_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY respxacc ALTER COLUMN rxa_id SET DEFAULT nextval('respxacc_rxa_id_seq'::regclass);


--
-- Name: re_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY resultencuesta ALTER COLUMN re_id SET DEFAULT nextval('resultencuesta_re_id_seq'::regclass);


--
-- Name: ret_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY retiros ALTER COLUMN ret_id SET DEFAULT nextval('retiros_ret_id_seq'::regclass);


--
-- Name: retd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY retirosd ALTER COLUMN retd_id SET DEFAULT nextval('retirosd_retd_id_seq'::regclass);


--
-- Name: rstk_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY retstock ALTER COLUMN rstk_id SET DEFAULT nextval('retstock_rstk_id_seq'::regclass);


--
-- Name: rstk_idretd; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY retstock ALTER COLUMN rstk_idretd SET DEFAULT nextval('retstock_rstk_idretd_seq'::regclass);


--
-- Name: re_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY reventos ALTER COLUMN re_id SET DEFAULT nextval('reventos_re_id_seq'::regclass);


--
-- Name: rz_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rezago ALTER COLUMN rz_id SET DEFAULT nextval('rezago_rz_id_seq'::regclass);


--
-- Name: rf_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rfirma ALTER COLUMN rf_id SET DEFAULT nextval('rfirma_rf_id_seq'::regclass);


--
-- Name: r_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY riesgos ALTER COLUMN r_id SET DEFAULT nextval('riesgos_r_id_seq'::regclass);


--
-- Name: rh_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rrhhforms ALTER COLUMN rh_id SET DEFAULT nextval('rrhhforms_rh_id_seq'::regclass);


--
-- Name: rp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rubpersonal ALTER COLUMN rp_id SET DEFAULT nextval('rubpersonal_rp_id_seq'::regclass);


--
-- Name: rub_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rubros ALTER COLUMN rub_id SET DEFAULT nextval('rubros_rub_id_seq'::regclass);


--
-- Name: sr_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY salidares ALTER COLUMN sr_id SET DEFAULT nextval('salidares_sr_id_seq'::regclass);


--
-- Name: s_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY sauditado ALTER COLUMN s_id SET DEFAULT nextval('sauditado_s_id_seq'::regclass);


--
-- Name: sex_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY sexo ALTER COLUMN sex_codigo SET DEFAULT nextval('sexo_sex_codigo_seq'::regclass);


--
-- Name: sg_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY sgpasto ALTER COLUMN sg_id SET DEFAULT nextval('sgpasto_sg_id_seq'::regclass);


--
-- Name: sh_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY shforms ALTER COLUMN sh_id SET DEFAULT nextval('shforms_sh_id_seq'::regclass);


--
-- Name: ss_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY solserv ALTER COLUMN ss_id SET DEFAULT nextval('solserv_ss_id_seq'::regclass);


--
-- Name: srp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY srubpersonal ALTER COLUMN srp_id SET DEFAULT nextval('srubpersonal_srp_id_seq'::regclass);


--
-- Name: stk_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY stock ALTER COLUMN stk_id SET DEFAULT nextval('stock_stk_id_seq'::regclass);


--
-- Name: subd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY subd ALTER COLUMN subd_id SET DEFAULT nextval('subd_subd_id_seq'::regclass);


--
-- Name: sitem_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY subitem ALTER COLUMN sitem_id SET DEFAULT nextval('subitem_sitem_id_seq'::regclass);


--
-- Name: sitemd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY subitemd ALTER COLUMN sitemd_id SET DEFAULT nextval('subitemd_sitemd_id_seq'::regclass);


--
-- Name: srb_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY subrub ALTER COLUMN srb_id SET DEFAULT nextval('subrub_srb_id_seq'::regclass);


--
-- Name: subt_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY subtcontrat ALTER COLUMN subt_id SET DEFAULT nextval('subtcontrat_subt_id_seq'::regclass);


--
-- Name: tal_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY talon ALTER COLUMN tal_id SET DEFAULT nextval('talon_tal_id_seq'::regclass);


--
-- Name: t_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tareasd ALTER COLUMN t_id SET DEFAULT nextval('tareasd_t_id_seq'::regclass);


--
-- Name: tp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tareasproy ALTER COLUMN tp_id SET DEFAULT nextval('tareasproy_tp_id_seq'::regclass);


--
-- Name: tj_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tarjvisita ALTER COLUMN tj_id SET DEFAULT nextval('tarjvisita_tj_id_seq'::regclass);


--
-- Name: tel_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY telefon ALTER COLUMN tel_id SET DEFAULT nextval('telefon_tel_id_seq'::regclass);


--
-- Name: tm_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY temasxminuta ALTER COLUMN tm_id SET DEFAULT nextval('temasxminuta_tm_id_seq'::regclass);


--
-- Name: wtmp_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY temporalweb ALTER COLUMN wtmp_id SET DEFAULT nextval('temporalweb_wtmp_id_seq'::regclass);


--
-- Name: tc_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipcar ALTER COLUMN tc_id SET DEFAULT nextval('tipcar_tc_id_seq'::regclass);


--
-- Name: tipc_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipcontrat ALTER COLUMN tipc_codigo SET DEFAULT nextval('tipcontrat_tipc_codigo_seq'::regclass);


--
-- Name: tct_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipcta ALTER COLUMN tct_codigo SET DEFAULT nextval('tipcta_tct_codigo_seq'::regclass);


--
-- Name: tet_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipentid ALTER COLUMN tet_codigo SET DEFAULT nextval('tipentid_tet_codigo_seq'::regclass);


--
-- Name: tgte_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipgente ALTER COLUMN tgte_id SET DEFAULT nextval('tipgente_tgte_id_seq'::regclass);


--
-- Name: tn_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipnot ALTER COLUMN tn_id SET DEFAULT nextval('tipnot_tn_id_seq'::regclass);


--
-- Name: tf_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipofoda ALTER COLUMN tf_id SET DEFAULT nextval('tipofoda_tf_id_seq'::regclass);


--
-- Name: top_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipoper ALTER COLUMN top_codigo SET DEFAULT nextval('tipoper_top_codigo_seq'::regclass);


--
-- Name: tip_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipprod ALTER COLUMN tip_codigo SET DEFAULT nextval('tipprod_tip_codigo_seq'::regclass);


--
-- Name: tip_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tipprodint ALTER COLUMN tip_codigo SET DEFAULT nextval('tipprodint_tip_codigo_seq'::regclass);


--
-- Name: ttl_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY tiptel ALTER COLUMN ttl_codigo SET DEFAULT nextval('tiptel_ttl_codigo_seq'::regclass);


--
-- Name: tt_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY titaudi ALTER COLUMN tt_id SET DEFAULT nextval('titaudi_tt_id_seq'::regclass);


--
-- Name: tk_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY trackprov ALTER COLUMN tk_id SET DEFAULT nextval('trackprov_tk_id_seq'::regclass);


--
-- Name: uxd_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ubicxdoc ALTER COLUMN uxd_id SET DEFAULT nextval('ubicxdoc_uxd_id_seq'::regclass);


--
-- Name: ufi_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ufxinictr ALTER COLUMN ufi_id SET DEFAULT nextval('ufxinictr_ufi_id_seq'::regclass);


--
-- Name: umen_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY usermenu ALTER COLUMN umen_id SET DEFAULT nextval('usermenu_umen_id_seq'::regclass);


--
-- Name: ve_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY valorencuesta ALTER COLUMN ve_id SET DEFAULT nextval('valorencuesta_ve_id_seq'::regclass);


--
-- Name: vi_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY valorgestion ALTER COLUMN vi_id SET DEFAULT nextval('valorgestion_vi_id_seq'::regclass);


--
-- Name: ven_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY vendedor ALTER COLUMN ven_id SET DEFAULT nextval('vendedor_ven_id_seq'::regclass);


--
-- Name: v_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY visinst ALTER COLUMN v_id SET DEFAULT nextval('visinst_v_id_seq'::regclass);


--
-- Name: vt_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY visita ALTER COLUMN vt_id SET DEFAULT nextval('visita_vt_id_seq'::regclass);


--
-- Name: v_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY visual ALTER COLUMN v_id SET DEFAULT nextval('visual_v_id_seq'::regclass);


--
-- Name: wleyr_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY wleyenrexp ALTER COLUMN wleyr_id SET DEFAULT nextval('wleyenrexp_wleyr_id_seq'::regclass);


--
-- Name: wnot_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY wnoticias ALTER COLUMN wnot_id SET DEFAULT nextval('wnoticias_wnot_id_seq'::regclass);


--
-- Name: wop_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY woperaciones ALTER COLUMN wop_id SET DEFAULT nextval('woperaciones_wop_id_seq'::regclass);


--
-- Name: wret2_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY wret2 ALTER COLUMN wret2_id SET DEFAULT nextval('wret2_wret2_id_seq'::regclass);


--
-- Name: wret_id; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY wretiros ALTER COLUMN wret_id SET DEFAULT nextval('wretiros_wret_id_seq'::regclass);


--
-- Name: zon_codigo; Type: DEFAULT; Schema: public; Owner: zona
--

ALTER TABLE ONLY zona ALTER COLUMN zon_codigo SET DEFAULT nextval('zona_zon_codigo_seq'::regclass);


--
-- Name: abucble_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY abucble
    ADD CONSTRAINT abucble_pkey PRIMARY KEY (ac_id);


--
-- Name: accidentes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY accidentes
    ADD CONSTRAINT accidentes_pkey PRIMARY KEY (a_id);


--
-- Name: accioncalidad_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY accioncalidad
    ADD CONSTRAINT accioncalidad_pkey PRIMARY KEY (a_id);


--
-- Name: actas_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY actas
    ADD CONSTRAINT actas_pkey PRIMARY KEY (acta_id);


--
-- Name: activanualsh_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY activanualsh
    ADD CONSTRAINT activanualsh_pkey PRIMARY KEY (act_id);


--
-- Name: adj_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY adjuntos
    ADD CONSTRAINT adj_pkey PRIMARY KEY (adj_id);


--
-- Name: aduanas_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY aduanas
    ADD CONSTRAINT aduanas_pkey PRIMARY KEY (adu_codigo);


--
-- Name: almacen_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY almacen
    ADD CONSTRAINT almacen_pkey PRIMARY KEY (alm_id);


--
-- Name: articc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY articc
    ADD CONSTRAINT articc_pkey PRIMARY KEY (artc_id);


--
-- Name: articu1_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY articu1
    ADD CONSTRAINT articu1_pkey PRIMARY KEY (artic_id);


--
-- Name: articu_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY articu
    ADD CONSTRAINT articu_pkey PRIMARY KEY (artic_id);


--
-- Name: articud_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY articud
    ADD CONSTRAINT articud_pkey PRIMARY KEY (articd_id);


--
-- Name: articvta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY articvta
    ADD CONSTRAINT articvta_pkey PRIMARY KEY (art_id);


--
-- Name: artseg_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY artseg
    ADD CONSTRAINT artseg_pkey PRIMARY KEY (as_id);


--
-- Name: asistencia_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY asistencia
    ADD CONSTRAINT asistencia_pkey PRIMARY KEY (a_id);


--
-- Name: asistxcapac_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY asistxcapac
    ADD CONSTRAINT asistxcapac_pkey PRIMARY KEY (a_id);


--
-- Name: aspectoseval_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY aspectoseval
    ADD CONSTRAINT aspectoseval_pkey PRIMARY KEY (ape_id);


--
-- Name: astoctas_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY astoctas
    ADD CONSTRAINT astoctas_pkey PRIMARY KEY (astc_id);


--
-- Name: astoh_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY astoh
    ADD CONSTRAINT astoh_pkey PRIMARY KEY (ash_id);


--
-- Name: au_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY autorizaciones
    ADD CONSTRAINT au_pkey PRIMARY KEY (au_id);


--
-- Name: autorizados_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY autorizados
    ADD CONSTRAINT autorizados_pkey PRIMARY KEY (aut_id);


--
-- Name: auxfe_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY auxfe
    ADD CONSTRAINT auxfe_pkey PRIMARY KEY (fe_id);


--
-- Name: auxoper_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY auxoper
    ADD CONSTRAINT auxoper_pkey PRIMARY KEY (auxo_idoper);


--
-- Name: auxoperv_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY auxoperv
    ADD CONSTRAINT auxoperv_pkey PRIMARY KEY (avh_id);


--
-- Name: bancos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY bancos
    ADD CONSTRAINT bancos_pkey PRIMARY KEY (bco_codigo);


--
-- Name: bingoprueba_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY bingoprueba
    ADD CONSTRAINT bingoprueba_pkey PRIMARY KEY (id);


--
-- Name: calforms_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY calforms
    ADD CONSTRAINT calforms_pkey PRIMARY KEY (cal_id);


--
-- Name: calpersb_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY calpersb
    ADD CONSTRAINT calpersb_pkey PRIMARY KEY (cb_id);


--
-- Name: calpersh_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY calpersh
    ADD CONSTRAINT calpersh_pkey PRIMARY KEY (ch_id);


--
-- Name: capacitacion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY capacitacion
    ADD CONSTRAINT capacitacion_pkey PRIMARY KEY (cp_id);


--
-- Name: caratula_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY caratula
    ADD CONSTRAINT caratula_pkey PRIMARY KEY (car_id);


--
-- Name: cargaydes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cargaydes
    ADD CONSTRAINT cargaydes_pkey PRIMARY KEY (c_id);


--
-- Name: cargopersonal_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cargopersonal
    ADD CONSTRAINT cargopersonal_pkey PRIMARY KEY (car_id);


--
-- Name: cargos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cargos
    ADD CONSTRAINT cargos_pkey PRIMARY KEY (car_id);


--
-- Name: carvis_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY carvis
    ADD CONSTRAINT carvis_pkey PRIMARY KEY (cvt_id);


--
-- Name: catego_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY catego
    ADD CONSTRAINT catego_pkey PRIMARY KEY (cat_codigo);


--
-- Name: categoriaseval_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY categoriaseval
    ADD CONSTRAINT categoriaseval_pkey PRIMARY KEY (cat_id);


--
-- Name: catimo_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY catimo
    ADD CONSTRAINT catimo_pkey PRIMARY KEY (imo_codigo);


--
-- Name: cauditado_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cauditado
    ADD CONSTRAINT cauditado_pkey PRIMARY KEY (c_id);


--
-- Name: centroc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY centroc
    ADD CONSTRAINT centroc_pkey PRIMARY KEY (cco_id);


--
-- Name: certificados_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY certificados
    ADD CONSTRAINT certificados_pkey PRIMARY KEY (cert_id);


--
-- Name: cheques_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cheques
    ADD CONSTRAINT cheques_pkey PRIMARY KEY (chq_id);


--
-- Name: chkcontr_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY chkcontr
    ADD CONSTRAINT chkcontr_pkey PRIMARY KEY (ce_id);


--
-- Name: chklemp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY chklemp
    ADD CONSTRAINT chklemp_pkey PRIMARY KEY (ce_id);


--
-- Name: ciaseg_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ciaseg
    ADD CONSTRAINT ciaseg_pkey PRIMARY KEY (cs_id);


--
-- Name: cixprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cixprov
    ADD CONSTRAINT cixprov_pkey PRIMARY KEY (cixp_prove, cixp_fecha, cixp_codiso, cixp_estado);


--
-- Name: clacont_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY clacont
    ADD CONSTRAINT clacont_pkey PRIMARY KEY (clac_codigo);


--
-- Name: clientes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY clientes
    ADD CONSTRAINT clientes_pkey PRIMARY KEY (cli_id);


--
-- Name: codiso_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY codiso
    ADD CONSTRAINT codiso_pkey PRIMARY KEY (cdi_codigo);


--
-- Name: codobje_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY codobje
    ADD CONSTRAINT codobje_pkey PRIMARY KEY (cob_id);


--
-- Name: codobji_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY codobji
    ADD CONSTRAINT codobji_pkey PRIMARY KEY (cob_id);


--
-- Name: codsgc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY codsgc
    ADD CONSTRAINT codsgc_pkey PRIMARY KEY (cs_id);


--
-- Name: combustible_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY combustible
    ADD CONSTRAINT combustible_pkey PRIMARY KEY (cm_id);


--
-- Name: comis_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY comis
    ADD CONSTRAINT comis_pkey PRIMARY KEY (com_id);


--
-- Name: compadu_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY compadu
    ADD CONSTRAINT compadu_pkey PRIMARY KEY (cad_codigo);


--
-- Name: complcfac_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY complfac
    ADD CONSTRAINT complcfac_pkey PRIMARY KEY (cfac_id);


--
-- Name: compra_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY compra
    ADD CONSTRAINT compra_pkey PRIMARY KEY (cpra_id);


--
-- Name: comprob_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY comprob
    ADD CONSTRAINT comprob_pkey PRIMARY KEY (comp_id);


--
-- Name: confactur_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY confactur
    ADD CONSTRAINT confactur_pkey PRIMARY KEY (cfc_id);


--
-- Name: coniva_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY coniva
    ADD CONSTRAINT coniva_pkey PRIMARY KEY (iva_codigo);


--
-- Name: conpag_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY conpag
    ADD CONSTRAINT conpag_pkey PRIMARY KEY (cdp_codigo);


--
-- Name: consig_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY consig
    ADD CONSTRAINT consig_pkey PRIMARY KEY (csg_id);


--
-- Name: consumos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY consumos
    ADD CONSTRAINT consumos_pkey PRIMARY KEY (cm_id);


--
-- Name: contene_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY contene
    ADD CONSTRAINT contene_pkey PRIMARY KEY (cont_idopv, cont_marcont, cont_nrocont);


--
-- Name: conteven_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY conteven
    ADD CONSTRAINT conteven_pkey PRIMARY KEY (contev_codigo);


--
-- Name: contratos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY contratos
    ADD CONSTRAINT contratos_pkey PRIMARY KEY (contr_id);


--
-- Name: controldoc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY controldoc
    ADD CONSTRAINT controldoc_pkey PRIMARY KEY (cd_id);


--
-- Name: controlext_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY controlext
    ADD CONSTRAINT controlext_pkey PRIMARY KEY (ex_id);


--
-- Name: controlop_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY controlop
    ADD CONSTRAINT controlop_pkey PRIMARY KEY (ctp_id);


--
-- Name: contrprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY contrprov
    ADD CONSTRAINT contrprov_pkey PRIMARY KEY (cp_id);


--
-- Name: copia_astoctas_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY copia_astoctas
    ADD CONSTRAINT copia_astoctas_pkey PRIMARY KEY (astc_id);


--
-- Name: cotiza_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cotiza
    ADD CONSTRAINT cotiza_pkey PRIMARY KEY (cot_moneda, cot_fecha);


--
-- Name: criticprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY criticprov
    ADD CONSTRAINT criticprov_pkey PRIMARY KEY (cp_id);


--
-- Name: csgxuf_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY csgxuf
    ADD CONSTRAINT csgxuf_pkey PRIMARY KEY (cxu_id);


--
-- Name: ctacble_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ctacble
    ADD CONSTRAINT ctacble_pkey PRIMARY KEY (cbl_id);


--
-- Name: ctes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ctes
    ADD CONSTRAINT ctes_pkey PRIMARY KEY (cte_id);


--
-- Name: cumplinfo_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY cumplinfo
    ADD CONSTRAINT cumplinfo_pkey PRIMARY KEY (cm_id);


--
-- Name: deadop_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY deadop
    ADD CONSTRAINT deadop_pkey PRIMARY KEY (dd_id);


--
-- Name: deptos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY deptos
    ADD CONSTRAINT deptos_pkey PRIMARY KEY (dep_codigo);


--
-- Name: despach_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY despach
    ADD CONSTRAINT despach_pkey PRIMARY KEY (desp_id);


--
-- Name: difcta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY difcta
    ADD CONSTRAINT difcta_pkey PRIMARY KEY (dc_id);


--
-- Name: division_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY division
    ADD CONSTRAINT division_pkey PRIMARY KEY (div_id);


--
-- Name: docexterno_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY docexterno
    ADD CONSTRAINT docexterno_pkey PRIMARY KEY (de_id);


--
-- Name: docum_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY docum
    ADD CONSTRAINT docum_pkey PRIMARY KEY (doc_id);


--
-- Name: documentacion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY documentacion
    ADD CONSTRAINT documentacion_pkey PRIMARY KEY (d_id);


--
-- Name: dow_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY dow
    ADD CONSTRAINT dow_pkey PRIMARY KEY (d_id);


--
-- Name: egretot_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY egretot
    ADD CONSTRAINT egretot_pkey PRIMARY KEY (egt_id);


--
-- Name: embalajes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY embalajes
    ADD CONSTRAINT embalajes_pkey PRIMARY KEY (emb_codigo);


--
-- Name: emergencias_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY emergencias
    ADD CONSTRAINT emergencias_pkey PRIMARY KEY (e_id);


--
-- Name: emiti_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY emiti
    ADD CONSTRAINT emiti_pkey PRIMARY KEY (emi_id);


--
-- Name: empleados_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY empleados
    ADD CONSTRAINT empleados_pkey PRIMARY KEY (e_id);


--
-- Name: empresa_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY empresa
    ADD CONSTRAINT empresa_pkey PRIMARY KEY (emp_codigo);


--
-- Name: encuesta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY encuesta
    ADD CONSTRAINT encuesta_pkey PRIMARY KEY (e_id);


--
-- Name: entidad_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY entidad
    ADD CONSTRAINT entidad_pkey PRIMARY KEY (ent_id);


--
-- Name: esclisp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY esclisp
    ADD CONSTRAINT esclisp_pkey PRIMARY KEY (elp_idart, elp_orden);


--
-- Name: escvalcont_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY escvalcont
    ADD CONSTRAINT escvalcont_pkey PRIMARY KEY (escval_idcontrat, escval_fdesde);


--
-- Name: estaccid_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY estaccid
    ADD CONSTRAINT estaccid_pkey PRIMARY KEY (e_id);


--
-- Name: estcivil_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY estcivil
    ADD CONSTRAINT estcivil_pkey PRIMARY KEY (ec_codigo);


--
-- Name: estiba_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY estiba
    ADD CONSTRAINT estiba_pkey PRIMARY KEY (est_id);


--
-- Name: estjurid_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY estjurid
    ADD CONSTRAINT estjurid_pkey PRIMARY KEY (ej_id);


--
-- Name: estoper_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY estoper
    ADD CONSTRAINT estoper_pkey PRIMARY KEY (eto_codigo);


--
-- Name: estunif_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY estunif
    ADD CONSTRAINT estunif_pkey PRIMARY KEY (etu_codigo);


--
-- Name: estusu_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY estusu
    ADD CONSTRAINT estusu_pkey PRIMARY KEY (esc_codigo);


--
-- Name: evaluacion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY evaluacion
    ADD CONSTRAINT evaluacion_pkey PRIMARY KEY (eval_id);


--
-- Name: evalxprove_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY evalxprove
    ADD CONSTRAINT evalxprove_pkey PRIMARY KEY (exp_id);


--
-- Name: eventos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY eventos
    ADD CONSTRAINT eventos_pkey PRIMARY KEY (eve_codigo);


--
-- Name: evindi_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY evindi
    ADD CONSTRAINT evindi_pkey PRIMARY KEY (evi_indice, evi_fecha);


--
-- Name: evxprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY evxprov
    ADD CONSTRAINT evxprov_pkey PRIMARY KEY (evxp_id);


--
-- Name: facturacion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY facturacion
    ADD CONSTRAINT facturacion_pkey PRIMARY KEY (fac_id);


--
-- Name: fcxinv_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY fcxinv
    ADD CONSTRAINT fcxinv_pkey PRIMARY KEY (fxi_id);


--
-- Name: fd_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY firmdedepto
    ADD CONSTRAINT fd_pkey PRIMARY KEY (fd_id);


--
-- Name: feccontra_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY feccontra
    ADD CONSTRAINT feccontra_pkey PRIMARY KEY (fechac_idcontra, fechac_codevent);


--
-- Name: fecxcapac_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY fecxcapac
    ADD CONSTRAINT fecxcapac_pkey PRIMARY KEY (fc_id);


--
-- Name: fecxinictr_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY fecxinictr
    ADD CONSTRAINT fecxinictr_pkey PRIMARY KEY (fci_id);


--
-- Name: feriados_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY feriados
    ADD CONSTRAINT feriados_pkey PRIMARY KEY (f_id);


--
-- Name: ff_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY firmxform
    ADD CONSTRAINT ff_pkey PRIMARY KEY (ff_id);


--
-- Name: firman_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY firman
    ADD CONSTRAINT firman_pkey PRIMARY KEY (fir_id);


--
-- Name: foda_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY foda
    ADD CONSTRAINT foda_pkey PRIMARY KEY (f_id);


--
-- Name: formulario_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY formulario
    ADD CONSTRAINT formulario_pkey PRIMARY KEY (fm_id);


--
-- Name: fueros_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY fueros
    ADD CONSTRAINT fueros_pkey PRIMARY KEY (f_id);


--
-- Name: gente_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY gente
    ADD CONSTRAINT gente_pkey PRIMARY KEY (gte_id);


--
-- Name: grupos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY grupos
    ADD CONSTRAINT grupos_pkey PRIMARY KEY (gpo_id);


--
-- Name: gtexcapac_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY gtexcapac
    ADD CONSTRAINT gtexcapac_pkey PRIMARY KEY (gc_id);


--
-- Name: hallazgos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY hallazgos
    ADD CONSTRAINT hallazgos_pkey PRIMARY KEY (h_id);


--
-- Name: hijcble_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY hijcble
    ADD CONSTRAINT hijcble_pkey PRIMARY KEY (hc_id);


--
-- Name: histcamb_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY histcamb
    ADD CONSTRAINT histcamb_pkey PRIMARY KEY (hc_id);


--
-- Name: impresiones_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY impresiones
    ADD CONSTRAINT impresiones_pkey PRIMARY KEY (imp_codigo);


--
-- Name: indgestion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY indgestion
    ADD CONSTRAINT indgestion_pkey PRIMARY KEY (ind_id);


--
-- Name: indices_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY indices
    ADD CONSTRAINT indices_pkey PRIMARY KEY (ind_codigo);


--
-- Name: inflacion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY inflacion
    ADD CONSTRAINT inflacion_pkey PRIMARY KEY (inf_id);


--
-- Name: inichk_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY inichk
    ADD CONSTRAINT inichk_pkey PRIMARY KEY (ic_id);


--
-- Name: inicontr_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY inicontr
    ADD CONSTRAINT inicontr_pkey PRIMARY KEY (ini_id);


--
-- Name: inigxl_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ingxl
    ADD CONSTRAINT inigxl_pkey PRIMARY KEY (igxl_iol, igxl_io);


--
-- Name: inout_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY "inout"
    ADD CONSTRAINT inout_pkey PRIMARY KEY (io_id);


--
-- Name: inoutliv_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY inoutliv
    ADD CONSTRAINT inoutliv_pkey PRIMARY KEY (iol_id);


--
-- Name: instrumentos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY instrumentos
    ADD CONSTRAINT instrumentos_pkey PRIMARY KEY (i_id);


--
-- Name: integrsoc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY integrsoc
    ADD CONSTRAINT integrsoc_pkey PRIMARY KEY (is_id);


--
-- Name: interes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY interes
    ADD CONSTRAINT interes_pkey PRIMARY KEY (int_codemp, int_fecha);


--
-- Name: intotal_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY intotal
    ADD CONSTRAINT intotal_pkey PRIMARY KEY (int_id);


--
-- Name: inventario_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY inventario
    ADD CONSTRAINT inventario_pkey PRIMARY KEY (inv_id);


--
-- Name: inversiones_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY inversiones
    ADD CONSTRAINT inversiones_pkey PRIMARY KEY (iv_id);


--
-- Name: invsistemas_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY invsistemas
    ADD CONSTRAINT invsistemas_pkey PRIMARY KEY (is_id);


--
-- Name: item_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY item
    ADD CONSTRAINT item_pkey PRIMARY KEY (item_id);


--
-- Name: itemcarga_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY itemcarga
    ADD CONSTRAINT itemcarga_pkey PRIMARY KEY (ic_id);


--
-- Name: itemencuesta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY itemencuesta
    ADD CONSTRAINT itemencuesta_pkey PRIMARY KEY (ie_id);


--
-- Name: items_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY items
    ADD CONSTRAINT items_pkey PRIMARY KEY (items_id);


--
-- Name: itemstock_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY itemstock
    ADD CONSTRAINT itemstock_pkey PRIMARY KEY (is_id);


--
-- Name: juicios_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY juicios
    ADD CONSTRAINT juicios_pkey PRIMARY KEY (j_id);


--
-- Name: juzgados_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY juzgados
    ADD CONSTRAINT juzgados_pkey PRIMARY KEY (j_id);


--
-- Name: juzgprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY juzgprov
    ADD CONSTRAINT juzgprov_pkey PRIMARY KEY (jp_id);


--
-- Name: lecting_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY lecting
    ADD CONSTRAINT lecting_pkey PRIMARY KEY (let_id);


--
-- Name: leyenrexp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY leyenrexp
    ADD CONSTRAINT leyenrexp_pkey PRIMARY KEY (leyr_id);


--
-- Name: limpbal_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY limpbal
    ADD CONSTRAINT limpbal_pkey PRIMARY KEY (lb_id);


--
-- Name: listpre_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY listpre
    ADD CONSTRAINT listpre_pkey PRIMARY KEY (ltp_id);


--
-- Name: livianos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY livianos
    ADD CONSTRAINT livianos_pkey PRIMARY KEY (lv_id);


--
-- Name: loginattempt_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY loginattempt
    ADD CONSTRAINT loginattempt_pkey PRIMARY KEY (lg_id);


--
-- Name: lotes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY lotes
    ADD CONSTRAINT lotes_pkey PRIMARY KEY (lot_id);


--
-- Name: m_astoh_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY m_astoh
    ADD CONSTRAINT m_astoh_pkey PRIMARY KEY (tip, comprob, compnro);


--
-- Name: m_cheques_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY m_cheques
    ADD CONSTRAINT m_cheques_pkey PRIMARY KEY (codbco, nucheq);


--
-- Name: m_clientes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY m_clientes
    ADD CONSTRAINT m_clientes_pkey PRIMARY KEY (codigo);


--
-- Name: m_compra_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY m_compra
    ADD CONSTRAINT m_compra_pkey PRIMARY KEY (comprob, compnro);


--
-- Name: m_emiti_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY m_emiti
    ADD CONSTRAINT m_emiti_pkey PRIMARY KEY (tip, comprob, compnro);


--
-- Name: m_sucursal_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY m_sucursal
    ADD CONSTRAINT m_sucursal_pkey PRIMARY KEY (codigo);


--
-- Name: m_talon_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY m_talon
    ADD CONSTRAINT m_talon_pkey PRIMARY KEY (codigo);


--
-- Name: manzana_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY manzana
    ADD CONSTRAINT manzana_pkey PRIMARY KEY (mza_codigo, mza_codseccion);


--
-- Name: marauto_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY marauto
    ADD CONSTRAINT marauto_pkey PRIMARY KEY (mar_codigo);


--
-- Name: marcont_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY marcont
    ADD CONSTRAINT marcont_pkey PRIMARY KEY (marc_codigo);


--
-- Name: medinst_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY medinst
    ADD CONSTRAINT medinst_pkey PRIMARY KEY (mi_id);


--
-- Name: medpag_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY medpag
    ADD CONSTRAINT medpag_pkey PRIMARY KEY (mpp_codigo);


--
-- Name: medpagprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY medpagprov
    ADD CONSTRAINT medpagprov_pkey PRIMARY KEY (mp_id);


--
-- Name: menues_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY menues
    ADD CONSTRAINT menues_pkey PRIMARY KEY (men_id);


--
-- Name: mercaestad_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY mercaestad
    ADD CONSTRAINT mercaestad_pkey PRIMARY KEY (mestad_codigo);


--
-- Name: meses_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY meses
    ADD CONSTRAINT meses_pkey PRIMARY KEY (m_id);


--
-- Name: minutareunion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY minutareunion
    ADD CONSTRAINT minutareunion_pkey PRIMARY KEY (m_id);


--
-- Name: modauto_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY modauto
    ADD CONSTRAINT modauto_pkey PRIMARY KEY (mod_id);


--
-- Name: modlogs_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY modlogs
    ADD CONSTRAINT modlogs_pkey PRIMARY KEY (log_id);


--
-- Name: modopub_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY modopub
    ADD CONSTRAINT modopub_pkey PRIMARY KEY (mod_id);


--
-- Name: modsgc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY modsgc
    ADD CONSTRAINT modsgc_pkey PRIMARY KEY (msc_codigo);


--
-- Name: moneda_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY moneda
    ADD CONSTRAINT moneda_pkey PRIMARY KEY (mon_codigo);


--
-- Name: monex_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY monex
    ADD CONSTRAINT monex_pkey PRIMARY KEY (mne_id);


--
-- Name: movssgc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY movssgc
    ADD CONSTRAINT movssgc_pkey PRIMARY KEY (ms_id);


--
-- Name: movsto_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY movsto
    ADD CONSTRAINT movsto_pkey PRIMARY KEY (movs_id);


--
-- Name: movstoc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY movstoc
    ADD CONSTRAINT movstoc_pkey PRIMARY KEY (movc_id);


--
-- Name: mpxprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY mpxprov
    ADD CONSTRAINT mpxprov_pkey PRIMARY KEY (mpxp_prove, mpxp_fecha, mpxp_medpag, mpxp_estado);


--
-- Name: noticias_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY noticias
    ADD CONSTRAINT noticias_pkey PRIMARY KEY (not_id);


--
-- Name: notifdpzf_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY notifdpzf
    ADD CONSTRAINT notifdpzf_pkey PRIMARY KEY (nd_id);


--
-- Name: notresp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY notresp
    ADD CONSTRAINT notresp_pkey PRIMARY KEY (nr_id);


--
-- Name: novemple_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY novemple
    ADD CONSTRAINT novemple_pkey PRIMARY KEY (nv_id);


--
-- Name: novfact_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY novfact
    ADD CONSTRAINT novfact_pkey PRIMARY KEY (nf_id);


--
-- Name: objcalidad_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY objcalidad
    ADD CONSTRAINT objcalidad_pkey PRIMARY KEY (o_id);


--
-- Name: objecion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY objecion
    ADD CONSTRAINT objecion_pkey PRIMARY KEY (obj_id);


--
-- Name: objxacc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY objxacc
    ADD CONSTRAINT objxacc_pkey PRIMARY KEY (oa_id);


--
-- Name: objxplan_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY objxplan
    ADD CONSTRAINT objxplan_pkey PRIMARY KEY (obj_id);


--
-- Name: obsencuesta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY obsencuesta
    ADD CONSTRAINT obsencuesta_pkey PRIMARY KEY (oe_id);


--
-- Name: obsindic_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY obsindic
    ADD CONSTRAINT obsindic_pkey PRIMARY KEY (obi_id);


--
-- Name: ocb_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ocb
    ADD CONSTRAINT ocb_pkey PRIMARY KEY (ocb_id);


--
-- Name: och_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY och
    ADD CONSTRAINT och_pkey PRIMARY KEY (och_id);


--
-- Name: opcioncategoria_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY opcioncategoria
    ADD CONSTRAINT opcioncategoria_pkey PRIMARY KEY (opc_id);


--
-- Name: operaciones_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY operaciones
    ADD CONSTRAINT operaciones_pkey PRIMARY KEY (op_id);


--
-- Name: operadores_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY operadores
    ADD CONSTRAINT operadores_pkey PRIMARY KEY (operad_id);


--
-- Name: operest_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY operest
    ADD CONSTRAINT operest_pkey PRIMARY KEY (opr_idoper);


--
-- Name: opervehi_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY opervehi
    ADD CONSTRAINT opervehi_pkey PRIMARY KEY (opv_id);


--
-- Name: ordenpag_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ordenpag
    ADD CONSTRAINT ordenpag_pkey PRIMARY KEY (orp_idastoh);


--
-- Name: outogxl_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY outgxl
    ADD CONSTRAINT outogxl_pkey PRIMARY KEY (ogxl_iol, ogxl_io);


--
-- Name: paccb_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY paccb
    ADD CONSTRAINT paccb_pkey PRIMARY KEY (pab_id);


--
-- Name: pacch_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY pacch
    ADD CONSTRAINT pacch_pkey PRIMARY KEY (pah_id);


--
-- Name: padcble_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY padcble
    ADD CONSTRAINT padcble_pkey PRIMARY KEY (pc_id);


--
-- Name: pais_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY pais
    ADD CONSTRAINT pais_pkey PRIMARY KEY (pai_codigo);


--
-- Name: partesinteresadas_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY partesinteresadas
    ADD CONSTRAINT partesinteresadas_pkey PRIMARY KEY (pi_id);


--
-- Name: participmr_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY participmr
    ADD CONSTRAINT participmr_pkey PRIMARY KEY (pm_id);


--
-- Name: pasto_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY pasto
    ADD CONSTRAINT pasto_pkey PRIMARY KEY (p_id);


--
-- Name: pauditado_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY pauditado
    ADD CONSTRAINT pauditado_pkey PRIMARY KEY (p_id);


--
-- Name: pdfcontratos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY pdfcontratos
    ADD CONSTRAINT pdfcontratos_pkey PRIMARY KEY (pc_id);


--
-- Name: planauditoria_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY planauditoria
    ADD CONSTRAINT planauditoria_pkey PRIMARY KEY (pa_id);


--
-- Name: po_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY pagooc
    ADD CONSTRAINT po_pkey PRIMARY KEY (po_id);


--
-- Name: poderes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY poderes
    ADD CONSTRAINT poderes_pkey PRIMARY KEY (p_id);


--
-- Name: posaran_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY posaran
    ADD CONSTRAINT posaran_pkey PRIMARY KEY (posa_codigo);


--
-- Name: posarest_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY posarest
    ADD CONSTRAINT posarest_pkey PRIMARY KEY (posar_codigo);


--
-- Name: ppuestob_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ppuestob
    ADD CONSTRAINT ppuestob_pkey PRIMARY KEY (pp_id);


--
-- Name: ppuestoc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ppuestoc
    ADD CONSTRAINT ppuestoc_pkey PRIMARY KEY (pp_id);


--
-- Name: presup_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY presup
    ADD CONSTRAINT presup_pkey PRIMARY KEY (p_id);


--
-- Name: problimp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY problimp
    ADD CONSTRAINT problimp_pkey PRIMARY KEY (pim_id);


--
-- Name: proceso_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY proceso
    ADD CONSTRAINT proceso_pkey PRIMARY KEY (ps_id);


--
-- Name: profxinv_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY profxinv
    ADD CONSTRAINT profxinv_pkey PRIMARY KEY (pxi_id);


--
-- Name: proganualsh_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY proganualsh
    ADD CONSTRAINT proganualsh_pkey PRIMARY KEY (pa_id);


--
-- Name: proginst_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY proginst
    ADD CONSTRAINT proginst_pkey PRIMARY KEY (p_id);


--
-- Name: prove_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY prove
    ADD CONSTRAINT prove_pkey PRIMARY KEY (prov_id);


--
-- Name: provin_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY provin
    ADD CONSTRAINT provin_pkey PRIMARY KEY (pro_codigo);


--
-- Name: proyecto_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY proyecto
    ADD CONSTRAINT proyecto_pkey PRIMARY KEY (p_id);


--
-- Name: ptovta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ptovta
    ADD CONSTRAINT ptovta_pkey PRIMARY KEY (ptv_id);


--
-- Name: puertos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY puertos
    ADD CONSTRAINT puertos_pkey PRIMARY KEY (pue_codigo);


--
-- Name: pwdxoper_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY pwdxoper
    ADD CONSTRAINT pwdxoper_pkey PRIMARY KEY (pxo_id);


--
-- Name: rch_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY recepcionoch
    ADD CONSTRAINT rch_pkey PRIMARY KEY (rch_id);


--
-- Name: reclamos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY reclamos
    ADD CONSTRAINT reclamos_pkey PRIMARY KEY (r_id);


--
-- Name: reclamosclientes_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY reclamosclientes
    ADD CONSTRAINT reclamosclientes_pkey PRIMARY KEY (r_id);


--
-- Name: reclped_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY reclped
    ADD CONSTRAINT reclped_pkey PRIMARY KEY (r_id);


--
-- Name: regcam_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY regcam
    ADD CONSTRAINT regcam_pkey PRIMARY KEY (rg_id);


--
-- Name: regdoc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY regdoc
    ADD CONSTRAINT regdoc_pkey PRIMARY KEY (rd_id);


--
-- Name: regfirma_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY regfirma
    ADD CONSTRAINT regfirma_pkey PRIMARY KEY (rf_id);


--
-- Name: reginf_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY reginf
    ADD CONSTRAINT reginf_pkey PRIMARY KEY (reg_id);


--
-- Name: regmantenim_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY regmantenim
    ADD CONSTRAINT regmantenim_pkey PRIMARY KEY (rm_id);


--
-- Name: regmoddom_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY regmoddom
    ADD CONSTRAINT regmoddom_pkey PRIMARY KEY (rmd_id);


--
-- Name: relmenu_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY relmenu
    ADD CONSTRAINT relmenu_pkey PRIMARY KEY (rmen_id);


--
-- Name: requeb_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY requeb
    ADD CONSTRAINT requeb_pkey PRIMARY KEY (rb_id);


--
-- Name: requeh_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY requeh
    ADD CONSTRAINT requeh_pkey PRIMARY KEY (rh_id);


--
-- Name: respxacc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY respxacc
    ADD CONSTRAINT respxacc_pkey PRIMARY KEY (rxa_id);


--
-- Name: resultencuesta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY resultencuesta
    ADD CONSTRAINT resultencuesta_pkey PRIMARY KEY (re_id);


--
-- Name: retiros_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY retiros
    ADD CONSTRAINT retiros_pkey PRIMARY KEY (ret_id);


--
-- Name: retirosd_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY retirosd
    ADD CONSTRAINT retirosd_pkey PRIMARY KEY (retd_id);


--
-- Name: retstock_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY retstock
    ADD CONSTRAINT retstock_pkey PRIMARY KEY (rstk_id);


--
-- Name: reventos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY reventos
    ADD CONSTRAINT reventos_pkey PRIMARY KEY (re_id);


--
-- Name: rezago_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rezago
    ADD CONSTRAINT rezago_pkey PRIMARY KEY (rz_id);


--
-- Name: rfirma_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rfirma
    ADD CONSTRAINT rfirma_pkey PRIMARY KEY (rf_id);


--
-- Name: riesgos_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY riesgos
    ADD CONSTRAINT riesgos_pkey PRIMARY KEY (r_id);


--
-- Name: rrhhforms_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rrhhforms
    ADD CONSTRAINT rrhhforms_pkey PRIMARY KEY (rh_id);


--
-- Name: rubcomp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rubcomp
    ADD CONSTRAINT rubcomp_pkey PRIMARY KEY (rcp_codigo);


--
-- Name: rubpersonal_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rubpersonal
    ADD CONSTRAINT rubpersonal_pkey PRIMARY KEY (rp_id);


--
-- Name: rubros_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rubros
    ADD CONSTRAINT rubros_pkey PRIMARY KEY (rub_id);


--
-- Name: rubxprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rubxprov
    ADD CONSTRAINT rubxprov_pkey PRIMARY KEY (rxp_prove, rxp_rubcomp);


--
-- Name: rxoc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY rxoc
    ADD CONSTRAINT rxoc_pkey PRIMARY KEY (rxoc_id);


--
-- Name: salidares_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY salidares
    ADD CONSTRAINT salidares_pkey PRIMARY KEY (sr_id);


--
-- Name: sauditado_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY sauditado
    ADD CONSTRAINT sauditado_pkey PRIMARY KEY (s_id);


--
-- Name: scanfa_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY scanfa
    ADD CONSTRAINT scanfa_pkey PRIMARY KEY (sc_idastoh);


--
-- Name: seccion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY seccion
    ADD CONSTRAINT seccion_pkey PRIMARY KEY (sec_codigo);


--
-- Name: seguros_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY seguros
    ADD CONSTRAINT seguros_pkey PRIMARY KEY (seg_unifun, seg_poliza);


--
-- Name: sexo_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY sexo
    ADD CONSTRAINT sexo_pkey PRIMARY KEY (sex_codigo);


--
-- Name: sgpasto_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY sgpasto
    ADD CONSTRAINT sgpasto_pkey PRIMARY KEY (sg_id);


--
-- Name: shforms_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY shforms
    ADD CONSTRAINT shforms_pkey PRIMARY KEY (sh_id);


--
-- Name: solserv_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY solserv
    ADD CONSTRAINT solserv_pkey PRIMARY KEY (ss_id);


--
-- Name: srubpersonal_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY srubpersonal
    ADD CONSTRAINT srubpersonal_pkey PRIMARY KEY (srp_id);


--
-- Name: stock_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY stock
    ADD CONSTRAINT stock_pkey PRIMARY KEY (stk_id);


--
-- Name: subd_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY subd
    ADD CONSTRAINT subd_pkey PRIMARY KEY (subd_id);


--
-- Name: subitem_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY subitem
    ADD CONSTRAINT subitem_pkey PRIMARY KEY (sitem_id);


--
-- Name: subitemd_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY subitemd
    ADD CONSTRAINT subitemd_pkey PRIMARY KEY (sitemd_id);


--
-- Name: subrub_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY subrub
    ADD CONSTRAINT subrub_pkey PRIMARY KEY (srb_id);


--
-- Name: subtcontrat_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY subtcontrat
    ADD CONSTRAINT subtcontrat_pkey PRIMARY KEY (subt_id);


--
-- Name: subxcomp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY subxcomp
    ADD CONSTRAINT subxcomp_pkey PRIMARY KEY (subxc_idsub, subxc_comprob);


--
-- Name: sucursal_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY sucursal
    ADD CONSTRAINT sucursal_pkey PRIMARY KEY (sucu_cliente, sucu_codigo);


--
-- Name: sucursales_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY sucursales
    ADD CONSTRAINT sucursales_pkey PRIMARY KEY (suc_cliente, suc_codigo);


--
-- Name: talon_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY talon
    ADD CONSTRAINT talon_pkey PRIMARY KEY (tal_id);


--
-- Name: talonop_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY talonop
    ADD CONSTRAINT talonop_pkey PRIMARY KEY (talop_usuario, talop_tipoper);


--
-- Name: tareasd_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tareasd
    ADD CONSTRAINT tareasd_pkey PRIMARY KEY (t_id);


--
-- Name: tareasproy_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tareasproy
    ADD CONSTRAINT tareasproy_pkey PRIMARY KEY (tp_id);


--
-- Name: tarjeta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tarjeta
    ADD CONSTRAINT tarjeta_pkey PRIMARY KEY (tar_id);


--
-- Name: telefon_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY telefon
    ADD CONSTRAINT telefon_pkey PRIMARY KEY (tel_id);


--
-- Name: temasxminuta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY temasxminuta
    ADD CONSTRAINT temasxminuta_pkey PRIMARY KEY (tm_id);


--
-- Name: tipcar_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipcar
    ADD CONSTRAINT tipcar_pkey PRIMARY KEY (tc_id);


--
-- Name: tipcontrat_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipcontrat
    ADD CONSTRAINT tipcontrat_pkey PRIMARY KEY (tipc_codigo);


--
-- Name: tipcta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipcta
    ADD CONSTRAINT tipcta_pkey PRIMARY KEY (tct_codigo);


--
-- Name: tipdocu_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipdocu
    ADD CONSTRAINT tipdocu_pkey PRIMARY KEY (td_codigo);


--
-- Name: tipemp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipemp
    ADD CONSTRAINT tipemp_pkey PRIMARY KEY (tem_codigo);


--
-- Name: tipentid_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipentid
    ADD CONSTRAINT tipentid_pkey PRIMARY KEY (tet_codigo);


--
-- Name: tipgente_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipgente
    ADD CONSTRAINT tipgente_pkey PRIMARY KEY (tgte_id);


--
-- Name: tipind_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipind
    ADD CONSTRAINT tipind_pkey PRIMARY KEY (tin_codigo);


--
-- Name: tiplog_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tiplog
    ADD CONSTRAINT tiplog_pkey PRIMARY KEY (tipl_codigo);


--
-- Name: tipnot_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipnot
    ADD CONSTRAINT tipnot_pkey PRIMARY KEY (tn_id);


--
-- Name: tipofoda_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipofoda
    ADD CONSTRAINT tipofoda_pkey PRIMARY KEY (tf_id);


--
-- Name: tipoper_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipoper
    ADD CONSTRAINT tipoper_pkey PRIMARY KEY (top_codigo);


--
-- Name: tipprod_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipprod
    ADD CONSTRAINT tipprod_pkey PRIMARY KEY (tip_codigo);


--
-- Name: tipprodint_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipprodint
    ADD CONSTRAINT tipprodint_pkey PRIMARY KEY (tip_codigo);


--
-- Name: tippxunif_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tippxunif
    ADD CONSTRAINT tippxunif_pkey PRIMARY KEY (txu_codtipp, txu_codunif);


--
-- Name: tiptel_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tiptel
    ADD CONSTRAINT tiptel_pkey PRIMARY KEY (ttl_codigo);


--
-- Name: tipusu_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY tipusu
    ADD CONSTRAINT tipusu_pkey PRIMARY KEY (tpu_codigo);


--
-- Name: titaudi_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY titaudi
    ADD CONSTRAINT titaudi_pkey PRIMARY KEY (tt_id);


--
-- Name: trackprov_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY trackprov
    ADD CONSTRAINT trackprov_pkey PRIMARY KEY (tk_id);


--
-- Name: ubicxdoc_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ubicxdoc
    ADD CONSTRAINT ubicxdoc_pkey PRIMARY KEY (uxd_id);


--
-- Name: ufxinictr_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY ufxinictr
    ADD CONSTRAINT ufxinictr_pkey PRIMARY KEY (ufi_id);


--
-- Name: unifun_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY unifun
    ADD CONSTRAINT unifun_pkey PRIMARY KEY (unif_codigo);


--
-- Name: unilot11_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY unilot1
    ADD CONSTRAINT unilot11_pkey PRIMARY KEY (unil1_codunifun, unit1_idlote);


--
-- Name: unilot_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY unilot
    ADD CONSTRAINT unilot_pkey PRIMARY KEY (unil_codunifun, unit_idlote);


--
-- Name: unimed_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY unimed
    ADD CONSTRAINT unimed_pkey PRIMARY KEY (uni_codigo);


--
-- Name: usermenu_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY usermenu
    ADD CONSTRAINT usermenu_pkey PRIMARY KEY (umen_id);


--
-- Name: usuarios_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY usuarios
    ADD CONSTRAINT usuarios_pkey PRIMARY KEY (usu_codigo);


--
-- Name: valorencuesta_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY valorencuesta
    ADD CONSTRAINT valorencuesta_pkey PRIMARY KEY (ve_id);


--
-- Name: valorgestion_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY valorgestion
    ADD CONSTRAINT valorgestion_pkey PRIMARY KEY (vi_id);


--
-- Name: varamb_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY varamb
    ADD CONSTRAINT varamb_pkey PRIMARY KEY (var_codigo);


--
-- Name: varambi_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY varambi
    ADD CONSTRAINT varambi_pkey PRIMARY KEY (vari_codemp, vari_idptov, vari_codigo);


--
-- Name: vendedor_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY vendedor
    ADD CONSTRAINT vendedor_pkey PRIMARY KEY (ven_id);


--
-- Name: visinst_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY visinst
    ADD CONSTRAINT visinst_pkey PRIMARY KEY (v_id);


--
-- Name: visita_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY visita
    ADD CONSTRAINT visita_pkey PRIMARY KEY (vt_id);


--
-- Name: visual_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY visual
    ADD CONSTRAINT visual_pkey PRIMARY KEY (v_id);


--
-- Name: volegr_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY volegr
    ADD CONSTRAINT volegr_pkey PRIMARY KEY (vole_idoper, vole_idoperi);


--
-- Name: voling_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY voling
    ADD CONSTRAINT voling_pkey PRIMARY KEY (vol_idoper);


--
-- Name: wleyenrexp_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY wleyenrexp
    ADD CONSTRAINT wleyenrexp_pkey PRIMARY KEY (wleyr_id);


--
-- Name: woperaciones_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY woperaciones
    ADD CONSTRAINT woperaciones_pkey PRIMARY KEY (wop_id);


--
-- Name: wret2_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY wret2
    ADD CONSTRAINT wret2_pkey PRIMARY KEY (wret2_id);


--
-- Name: zona_pkey; Type: CONSTRAINT; Schema: public; Owner: zona; Tablespace: 
--

ALTER TABLE ONLY zona
    ADD CONSTRAINT zona_pkey PRIMARY KEY (zon_codigo);


--
-- Name: $1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX "$1" ON indicador USING btree (ind_tipo, ind_fecha, ind_valor);


--
-- Name: $2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX "$2" ON indicador USING btree (ind_tipo, ind_mes, ind_anio, ind_valor);


--
-- Name: $3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX "$3" ON indicador USING btree (ind_tipo, ind_mes, ind_anio, ind_fecha);


--
-- Name: artico; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX artico ON complfac USING btree (cfac_codemp, cfac_ptov, cfac_cliente, cfac_estado, cfac_idart);


--
-- Name: asist1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX asist1 ON asistencia USING btree (a_fecha, a_idemple, a_motivo);


--
-- Name: barrei; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX barrei ON "inout" USING btree (io_estado, io_barrei, io_fecin);


--
-- Name: barreil; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX barreil ON inoutliv USING btree (iol_estado, iol_barrei, iol_fecin);


--
-- Name: barreo; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX barreo ON "inout" USING btree (io_estado, io_barreo, io_fecin);


--
-- Name: barreol; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX barreol ON inoutliv USING btree (iol_estado, iol_barreo, iol_fecin);


--
-- Name: carvis1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX carvis1 ON carvis USING btree (cvt_gente);


--
-- Name: carvis2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX carvis2 ON carvis USING btree (cvt_estado, cvt_gente, cvt_fecdes, cvt_fechas);


--
-- Name: carvis3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX carvis3 ON carvis USING btree (cvt_estado, cvt_gente, cvt_operad);


--
-- Name: carvis4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX carvis4 ON carvis USING btree (cvt_estado, cvt_gente, cvt_usuario, cvt_operad);


--
-- Name: cfac_empresa; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX cfac_empresa ON complfac USING btree (cfac_codemp, cfac_ptov, cfac_cliente);


--
-- Name: cfac_estado; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX cfac_estado ON complfac USING btree (cfac_codemp, cfac_ptov, cfac_cliente, cfac_estado);


--
-- Name: controlop_idx4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX controlop_idx4 ON controlop USING btree (ctp_id, ctp_idoper, ctp_idoperv);


--
-- Name: controlop_idx5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX controlop_idx5 ON controlop USING btree (ctp_id, ctp_idoper);


--
-- Name: controlop_idx6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX controlop_idx6 ON controlop USING btree (ctp_idoper);


--
-- Name: cuando; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX cuando ON "inout" USING btree (io_gente, io_fecin);


--
-- Name: cuandol; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX cuandol ON inoutliv USING btree (iol_liviano, iol_fecin);


--
-- Name: cuandov; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX cuandov ON visita USING btree (vt_gente, vt_fecin);


--
-- Name: cuitl; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX cuitl ON gente USING btree (gte_cuitl);


--
-- Name: dequienl; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX dequienl ON livianos USING btree (lv_estado, lv_gente);


--
-- Name: despachantes; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX despachantes ON despach USING btree (desp_tipo, desp_nrcuit);


--
-- Name: docu; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX docu ON gente USING btree (gte_tdoc, gte_nrodoc);


--
-- Name: embalaje; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX embalaje ON embalajes USING btree (emb_codigo);


--
-- Name: est_comp; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX est_comp ON estiba USING btree (est_tipo, est_codigo, est_numero);


--
-- Name: est_directo; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX est_directo ON estiba USING btree (est_directo, est_codigo, est_numero, est_fecha);


--
-- Name: est_fecha; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX est_fecha ON estiba USING btree (est_fecha);


--
-- Name: estado; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX estado ON facturacion USING btree (fac_codemp, fac_ptov, fac_cliente, fac_estado);


--
-- Name: estan; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX estan ON "inout" USING btree (io_estado, io_fecin);


--
-- Name: estanl; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX estanl ON inoutliv USING btree (iol_estado, iol_fecin);


--
-- Name: estanv; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX estanv ON visita USING btree (vt_estado, vt_fecin);


--
-- Name: evento; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX evento ON complfac USING btree (cfac_codemp, cfac_ptov, cfac_cliente, cfac_estado, cfac_evento);


--
-- Name: gte_idx_id_doc; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX gte_idx_id_doc ON gente USING btree (gte_id, gte_nrodoc);


--
-- Name: gte_idx_id_estado; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX gte_idx_id_estado ON gente USING btree (gte_id, gte_estado);


--
-- Name: gte_idx_id_nom; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX gte_idx_id_nom ON gente USING btree (gte_id, gte_nombre);


--
-- Name: h1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX h1 ON hallazgos USING btree (h_tipo);


--
-- Name: h2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX h2 ON hallazgos USING btree (h_depto);


--
-- Name: idx1_auxoper; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx1_auxoper ON auxoper USING btree (auxo_idoper, auxo_codobj);


--
-- Name: idx1_menues; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx1_menues ON menues USING btree (men_alias);


--
-- Name: idx1_objecion; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx1_objecion ON objecion USING btree (obj_id, obj_idoper);


--
-- Name: idx2_auxoper; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx2_auxoper ON auxoper USING btree (auxo_idoper);


--
-- Name: idx2_objecion; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx2_objecion ON objecion USING btree (obj_id, obj_fecobj);


--
-- Name: idx3_auxoper; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx3_auxoper ON auxoper USING btree (auxo_codobj);


--
-- Name: idx3_objecion; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx3_objecion ON objecion USING btree (obj_id, obj_codobj);


--
-- Name: idx4_objecion; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx4_objecion ON objecion USING btree (obj_idoper);


--
-- Name: idx_almacen1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_almacen1 ON almacen USING btree (alm_leyenda);


--
-- Name: idx_articc_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_articc_1 ON articc USING btree (artc_codigo);


--
-- Name: idx_articu_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_articu_1 ON articu USING btree (artic_indirecto, artic_codigo);


--
-- Name: idx_articu_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_articu_2 ON articu USING btree (artic_codigo, artic_tiprod);


--
-- Name: idx_articud_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_articud_1 ON articud USING btree (articd_indirecto, articd_codigo);


--
-- Name: idx_articud_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_articud_2 ON articud USING btree (articd_idartic);


--
-- Name: idx_articud_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_articud_3 ON articud USING btree (articd_idartic, articd_indirecto, articd_codigo);


--
-- Name: idx_articvta_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_articvta_1 ON articvta USING btree (art_tipoper, art_codigo);


--
-- Name: idx_articvta_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_articvta_2 ON articvta USING btree (art_idptov, art_codi);


--
-- Name: idx_astoctas_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_1 ON astoctas USING btree (astc_idastoh);


--
-- Name: idx_astoctas_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_10 ON astoctas USING btree (astc_codemp, astc_idptov, astc_tipcta, astc_ctacte);


--
-- Name: idx_astoctas_11; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_11 ON astoctas USING btree (astc_codemp, astc_idptov, astc_tipcta, astc_ctacte, astc_cierra, astc_fecval);


--
-- Name: idx_astoctas_12; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_12 ON astoctas USING btree (astc_codemp, astc_ctacble, astc_moneda);


--
-- Name: idx_astoctas_13; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_13 ON astoctas USING btree (astc_codemp, astc_idptov, astc_ctacble, astc_estado, astc_fecval);


--
-- Name: idx_astoctas_14; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_14 ON astoctas USING btree (astc_codemp, astc_ctacble, astc_estado, astc_fecval);


--
-- Name: idx_astoctas_15; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_15 ON astoctas USING btree (astc_codemp, astc_estado, astc_tipcta, astc_ctacte);


--
-- Name: idx_astoctas_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_2 ON astoctas USING btree (astc_codemp, astc_ctacble, astc_fecval);


--
-- Name: idx_astoctas_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_3 ON astoctas USING btree (astc_codemp, astc_idptov, astc_ctacble, astc_fecval);


--
-- Name: idx_astoctas_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_4 ON astoctas USING btree (astc_codemp, astc_ctacble, astc_ctacte, astc_fecval);


--
-- Name: idx_astoctas_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_5 ON astoctas USING btree (astc_codemp, astc_ctacble, astc_ctacte, astc_cierra, astc_fecval);


--
-- Name: idx_astoctas_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_6 ON astoctas USING btree (astc_codemp, astc_ctacble, astc_ctacte, astc_cierra, astc_fecvto);


--
-- Name: idx_astoctas_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_7 ON astoctas USING btree (astc_ctacble, astc_fecval);


--
-- Name: idx_astoctas_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_8 ON astoctas USING btree (astc_codemp, astc_idptov, astc_ctacble, astc_ctacte, astc_grupo);


--
-- Name: idx_astoctas_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_9 ON astoctas USING btree (astc_codemp, astc_idptov, astc_comprob, astc_numero);


--
-- Name: idx_astoctas_ret; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoctas_ret ON astoctas USING btree (astc_ctacble, astc_ctacte, astc_leyen);


--
-- Name: idx_astoh_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_astoh_1 ON astoh USING btree (ash_codemp, ash_idptov, ash_comprob, ash_numero);


--
-- Name: idx_astoh_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoh_2 ON astoh USING btree (ash_codemp, ash_anio, ash_mes, ash_fecomp);


--
-- Name: idx_astoh_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_astoh_5 ON astoh USING btree (ash_anio, ash_mes, ash_codemp, ash_fecomp);


--
-- Name: idx_autorizados_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_autorizados_1 ON autorizados USING btree (aut_usuario);


--
-- Name: idx_auxfe_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_auxfe_1 ON auxfe USING btree (fe_estado, fe_fechaf, fe_idcli);


--
-- Name: idx_caratula_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_caratula_3 ON caratula USING btree (transito);


--
-- Name: idx_caratula_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_caratula_4 ON caratula USING btree (despacho);


--
-- Name: idx_centroc_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_centroc_1 ON centroc USING btree (cco_codemp, cco_idptov, cco_coddiv, cco_codigo);


--
-- Name: idx_cheques_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_1 ON cheques USING btree (chq_codemp, chq_estado);


--
-- Name: idx_cheques_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_10 ON cheques USING btree (chq_moneda, chq_codemp, chq_estado, chq_fecheq);


--
-- Name: idx_cheques_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_2 ON cheques USING btree (chq_codemp, chq_idptov, chq_estado);


--
-- Name: idx_cheques_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_3 ON cheques USING btree (chq_codbco, chq_nucheq);


--
-- Name: idx_cheques_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_4 ON cheques USING btree (chq_idastoc);


--
-- Name: idx_cheques_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_5 ON cheques USING btree (chq_idastoce);


--
-- Name: idx_cheques_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_6 ON cheques USING btree (chq_estado);


--
-- Name: idx_cheques_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_7 ON cheques USING btree (chq_codemp, chq_estado, chq_fecheq);


--
-- Name: idx_cheques_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_8 ON cheques USING btree (chq_estado, chq_fecheq);


--
-- Name: idx_cheques_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cheques_9 ON cheques USING btree (chq_moneda);


--
-- Name: idx_cixprov_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_cixprov_1 ON cixprov USING btree (cixp_prove);


--
-- Name: idx_clientes_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_clientes_1 ON clientes USING btree (cli_codemp, cli_idptov, cli_codigo);


--
-- Name: idx_clientes_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_clientes_2 ON clientes USING btree (cli_codemp, cli_codaso);


--
-- Name: idx_comis_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_comis_1 ON comis USING btree (com_nombre);


--
-- Name: idx_comis_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_comis_2 ON comis USING btree (com_idusu);


--
-- Name: idx_compra_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_compra_1 ON compra USING btree (cpra_codemp, cpra_idptov, cpra_comprob, cpra_numero);


--
-- Name: idx_compra_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_compra_2 ON compra USING btree (cpra_codemp, cpra_fecval);


--
-- Name: idx_compra_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_compra_3 ON compra USING btree (cpra_idastoh);


--
-- Name: idx_comprob_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_comprob_1 ON comprob USING btree (comp_idptov, comp_codigo);


--
-- Name: idx_comprob_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_comprob_2 ON comprob USING btree (comp_siste, comp_idptov, comp_codigo);


--
-- Name: idx_confac_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_confac_2 ON confactur USING btree (cfc_fecha);


--
-- Name: idx_confac_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_confac_3 ON confactur USING btree (cfc_anio, cfc_mes, cfc_usuario);


--
-- Name: idx_confac_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_confac_4 ON confactur USING btree (cfc_anio, cfc_mes, cfc_ptov);


--
-- Name: idx_confac_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_confac_5 ON confactur USING btree (cfc_anio, cfc_mes, cfc_ptov, cfc_idart);


--
-- Name: idx_confac_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_confac_6 ON confactur USING btree (cfc_anio, cfc_mes, cfc_ptov, cfc_usuario);


--
-- Name: idx_consig_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_consig_1 ON consig USING btree (csg_nrocuit);


--
-- Name: idx_contene_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_contene_1 ON contene USING btree (cont_idopv);


--
-- Name: idx_contratos_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_contratos_1 ON contratos USING btree (contr_locador, contr_id);


--
-- Name: idx_contratos_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_contratos_2 ON contratos USING btree (contr_estado, contr_locador);


--
-- Name: idx_contratos_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_contratos_3 ON contratos USING btree (contr_estado, contr_locatario);


--
-- Name: idx_contratos_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_contratos_4 ON contratos USING btree (contr_estado, contr_locador, contr_locatario);


--
-- Name: idx_contratos_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_contratos_5 ON contratos USING btree (contr_locador, contr_locatario, contr_idsubt);


--
-- Name: idx_contratos_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_contratos_6 ON contratos USING btree (contr_locador, contr_idsubt);


--
-- Name: idx_contratos_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_contratos_7 ON contratos USING btree (contr_locatario, contr_idsubt);


--
-- Name: idx_copia_astoctas_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_1 ON copia_astoctas USING btree (astc_idastoh);


--
-- Name: idx_copia_astoctas_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_10 ON copia_astoctas USING btree (astc_codemp, astc_idptov, astc_tipcta, astc_ctacte);


--
-- Name: idx_copia_astoctas_11; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_11 ON copia_astoctas USING btree (astc_codemp, astc_idptov, astc_tipcta, astc_ctacte, astc_cierra, astc_fecval);


--
-- Name: idx_copia_astoctas_12; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_12 ON copia_astoctas USING btree (astc_codemp, astc_ctacble, astc_moneda);


--
-- Name: idx_copia_astoctas_13; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_13 ON copia_astoctas USING btree (astc_codemp, astc_idptov, astc_ctacble, astc_estado, astc_fecval);


--
-- Name: idx_copia_astoctas_14; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_14 ON copia_astoctas USING btree (astc_codemp, astc_ctacble, astc_estado, astc_fecval);


--
-- Name: idx_copia_astoctas_15; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_15 ON copia_astoctas USING btree (astc_codemp, astc_estado, astc_tipcta, astc_ctacte);


--
-- Name: idx_copia_astoctas_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_2 ON copia_astoctas USING btree (astc_codemp, astc_ctacble, astc_fecval);


--
-- Name: idx_copia_astoctas_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_3 ON copia_astoctas USING btree (astc_codemp, astc_idptov, astc_ctacble, astc_fecval);


--
-- Name: idx_copia_astoctas_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_4 ON copia_astoctas USING btree (astc_codemp, astc_ctacble, astc_ctacte, astc_fecval);


--
-- Name: idx_copia_astoctas_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_5 ON copia_astoctas USING btree (astc_codemp, astc_ctacble, astc_ctacte, astc_cierra, astc_fecval);


--
-- Name: idx_copia_astoctas_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_6 ON copia_astoctas USING btree (astc_codemp, astc_ctacble, astc_ctacte, astc_cierra, astc_fecvto);


--
-- Name: idx_copia_astoctas_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_7 ON copia_astoctas USING btree (astc_ctacble, astc_fecval);


--
-- Name: idx_copia_astoctas_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_8 ON copia_astoctas USING btree (astc_codemp, astc_idptov, astc_ctacble, astc_ctacte, astc_grupo);


--
-- Name: idx_copia_astoctas_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_copia_astoctas_9 ON copia_astoctas USING btree (astc_codemp, astc_idptov, astc_comprob, astc_numero);


--
-- Name: idx_ctacble_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_ctacble_1 ON ctacble USING btree (cbl_codemp, cbl_codigo);


--
-- Name: idx_ctes_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_ctes_1 ON ctes USING btree (cte_codemp, cte_tipcta, cte_tipct, cte_codigo);


--
-- Name: idx_division_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_division_1 ON division USING btree (div_codemp, div_idptov, div_codigo);


--
-- Name: idx_docum_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_docum_1 ON docum USING btree (doc_nrcuit);


--
-- Name: idx_docum_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_docum_2 ON docum USING btree (doc_estado, doc_nrcuit);


--
-- Name: idx_docum_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_docum_3 ON docum USING btree (doc_codemp, doc_idptov, doc_estado);


--
-- Name: idx_docum_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_docum_4 ON docum USING btree (doc_idastoc);


--
-- Name: idx_docum_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_docum_5 ON docum USING btree (doc_idastoce);


--
-- Name: idx_docum_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_docum_6 ON docum USING btree (doc_estado);


--
-- Name: idx_emiti_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_emiti_1 ON emiti USING btree (emi_codemp, emi_idptov, emi_comprob, emi_numero);


--
-- Name: idx_emiti_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_emiti_2 ON emiti USING btree (emi_codemp, emi_fecval);


--
-- Name: idx_emiti_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_emiti_3 ON emiti USING btree (emi_idastoh);


--
-- Name: idx_empresa_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_empresa_1 ON empresa USING btree (emp_nrcuit);


--
-- Name: idx_evxprov_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_evxprov_1 ON evxprov USING btree (evxp_prove);


--
-- Name: idx_firman_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_firman_1 ON firman USING btree (fir_nrcuit);


--
-- Name: idx_formulario_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_formulario_1 ON formulario USING btree (fm_proceso, fm_revision);


--
-- Name: idx_histcamb_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_histcamb_1 ON histcamb USING btree (hc_modulo, hc_revision);


--
-- Name: idx_inout_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_inout_1 ON "inout" USING btree (io_gente, io_fecin, io_fecout);


--
-- Name: idx_inout_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_inout_2 ON "inout" USING btree (io_gente, io_fecout);


--
-- Name: idx_intotal_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_intotal_1 ON intotal USING btree (int_directo, int_indirecto, int_tipoper, int_numero, int_articod, int_lotenum);


--
-- Name: idx_item_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_item_1 ON item USING btree (item_idoper, item_item);


--
-- Name: idx_items_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_items_2 ON items USING btree (items_despacho);


--
-- Name: idx_items_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_items_3 ON items USING btree (items_transito);


--
-- Name: idx_items_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_items_4 ON items USING btree (items_despacho, nro_item, numero_subitem);


--
-- Name: idx_listpre_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_listpre_1 ON listpre USING btree (ltp_idcli, ltp_idart);


--
-- Name: idx_modlogs_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_modlogs_1 ON modlogs USING btree (log_tabla, log_idtabla);


--
-- Name: idx_movsto_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movsto_1 ON movsto USING btree (movs_idemiti);


--
-- Name: idx_movsto_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movsto_2 ON movsto USING btree (movs_idastoh);


--
-- Name: idx_movsto_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movsto_3 ON movsto USING btree (movs_artic);


--
-- Name: idx_movsto_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movsto_4 ON movsto USING btree (movs_codemp, movs_idptov, movs_artic);


--
-- Name: idx_movsto_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movsto_5 ON movsto USING btree (movs_idastoh, movs_artic);


--
-- Name: idx_movsto_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movsto_6 ON movsto USING btree (movs_compbte);


--
-- Name: idx_movstoc_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movstoc_1 ON movstoc USING btree (movc_idcompra);


--
-- Name: idx_movstoc_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movstoc_2 ON movstoc USING btree (movc_idastoh);


--
-- Name: idx_movstoc_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movstoc_3 ON movstoc USING btree (movc_artic);


--
-- Name: idx_movstoc_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movstoc_4 ON movstoc USING btree (movc_codemp, movc_idptov, movc_artic);


--
-- Name: idx_movstoc_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_movstoc_5 ON movstoc USING btree (movc_idastoh, movc_artic);


--
-- Name: idx_mpxprov_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_mpxprov_1 ON mpxprov USING btree (mpxp_prove);


--
-- Name: idx_noticias_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_noticias_1 ON noticias USING btree (not_tipo, not_numero);


--
-- Name: idx_noticias_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_noticias_2 ON noticias USING btree (not_numero);


--
-- Name: idx_ocb_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_ocb_2 ON ocb USING btree (ocb_idoch);


--
-- Name: idx_ocb_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_ocb_3 ON ocb USING btree (ocb_estado, ocb_articc);


--
-- Name: idx_operaciones_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_1 ON operaciones USING btree (op_compbte);


--
-- Name: idx_operaciones_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_10 ON operaciones USING btree (op_consig);


--
-- Name: idx_operaciones_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_2 ON operaciones USING btree (op_directo, op_consig);


--
-- Name: idx_operaciones_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_5 ON operaciones USING btree (op_estado, op_tipoper);


--
-- Name: idx_operaciones_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_6 ON operaciones USING btree (op_idopw);


--
-- Name: idx_operaciones_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_7 ON operaciones USING btree (op_estado, op_tipoper, op_fechain);


--
-- Name: idx_operaciones_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_8 ON operaciones USING btree (op_estado, op_directo, op_indirecto);


--
-- Name: idx_operaciones_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_operaciones_9 ON operaciones USING btree (op_directo, op_indirecto);


--
-- Name: idx_operadores_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_operadores_2 ON operadores USING btree (operad_login);


--
-- Name: idx_opervehi_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_1 ON opervehi USING btree (opv_idoper);


--
-- Name: idx_opervehi_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_10 ON opervehi USING btree (opv_pat_tractor, opv_fecha_ing);


--
-- Name: idx_opervehi_11; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_11 ON opervehi USING btree (opv_pat_tractor, opv_fecha_ing, opv_idoper, opv_est_camion);


--
-- Name: idx_opervehi_12; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_12 ON opervehi USING btree (opv_pat_tractor, opv_idrezago);


--
-- Name: idx_opervehi_13; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_13 ON opervehi USING btree (opv_chofer, opv_idrezago);


--
-- Name: idx_opervehi_14; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_14 ON opervehi USING btree (opv_pat_tractor, opv_idrezago, opv_tipo_camion, opv_chofer, opv_est_camion);


--
-- Name: idx_opervehi_15; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_15 ON opervehi USING btree (opv_est_camion, opv_fecha_ing, opv_fecha_adu, opv_pat_tractor);


--
-- Name: idx_opervehi_16; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_16 ON opervehi USING btree (opv_est_camion, opv_fecha_ing, opv_fecha_adu);


--
-- Name: idx_opervehi_17; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_17 ON opervehi USING btree (opv_est_camion, opv_fecha_ing, opv_pat_tractor);


--
-- Name: idx_opervehi_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_opervehi_2 ON opervehi USING btree (opv_est_camion, opv_id);


--
-- Name: idx_opervehi_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_3 ON opervehi USING btree (opv_est_camion, opv_fecha_egr);


--
-- Name: idx_opervehi_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_4 ON opervehi USING btree (opv_pat_tractor);


--
-- Name: idx_opervehi_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_5 ON opervehi USING btree (opv_est_camion, opv_pat_tractor);


--
-- Name: idx_opervehi_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_6 ON opervehi USING btree (opv_fecha_ing);


--
-- Name: idx_opervehi_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_7 ON opervehi USING btree (opv_fecha_egr);


--
-- Name: idx_opervehi_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_8 ON opervehi USING btree (opv_id, opv_fecha_egr);


--
-- Name: idx_opervehi_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_opervehi_9 ON opervehi USING btree (opv_id, opv_fecha_ing);


--
-- Name: idx_prove_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_prove_1 ON prove USING btree (prov_nrcuit);


--
-- Name: idx_prove_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_prove_2 ON prove USING btree (prov_codemp, prov_codigo);


--
-- Name: idx_ptovta_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_ptovta_1 ON ptovta USING btree (ptv_codemp, ptv_codigo);


--
-- Name: idx_requeb_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_requeb_1 ON requeb USING btree (rb_idrh);


--
-- Name: idx_requeb_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_requeb_3 ON requeb USING btree (rb_estado, rb_articc);


--
-- Name: idx_requeh_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_requeh_1 ON requeh USING btree (rh_depto, rh_numero);


--
-- Name: idx_requeh_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_requeh_2 ON requeh USING btree (rh_estado, rh_depto, rh_numero);


--
-- Name: idx_retiros_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_retiros_1 ON retiros USING btree (ret_idopera, ret_idsitem, ret_id);


--
-- Name: idx_retiros_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retiros_2 ON retiros USING btree (ret_idopera);


--
-- Name: idx_retiros_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retiros_3 ON retiros USING btree (ret_idsitem);


--
-- Name: idx_retiros_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retiros_4 ON retiros USING btree (ret_idopera, ret_item, ret_id);


--
-- Name: idx_retirosd_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_retirosd_1 ON retirosd USING btree (retd_idopera, retd_idsitem, retd_id);


--
-- Name: idx_retirosd_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retirosd_2 ON retirosd USING btree (retd_idopera);


--
-- Name: idx_retirosd_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retirosd_3 ON retirosd USING btree (retd_idsitem);


--
-- Name: idx_retstock_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_retstock_1 ON retstock USING btree (rstk_idopera, rstk_idstk, rstk_id);


--
-- Name: idx_retstock_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retstock_2 ON retstock USING btree (rstk_idopera);


--
-- Name: idx_retstock_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retstock_3 ON retstock USING btree (rstk_idretd);


--
-- Name: idx_retstock_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_retstock_4 ON retstock USING btree (rstk_idstk);


--
-- Name: idx_rubros_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_rubros_1 ON rubros USING btree (rub_tipo, rub_codigo);


--
-- Name: idx_rubxprov_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_rubxprov_1 ON rubxprov USING btree (rxp_prove);


--
-- Name: idx_rubxprov_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_rubxprov_2 ON rubxprov USING btree (rxp_rubcomp);


--
-- Name: idx_rxoc_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_rxoc_1 ON rxoc USING btree (rxoc_idoch);


--
-- Name: idx_rxoc_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_rxoc_2 ON rxoc USING btree (rxoc_idrh);


--
-- Name: idx_stock_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_stock_1 ON stock USING btree (stk_idoper, stk_id);


--
-- Name: idx_stock_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_10 ON stock USING btree (stk_comptras);


--
-- Name: idx_stock_11; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_11 ON stock USING btree (stk_estado, stk_cliente);


--
-- Name: idx_stock_12; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_12 ON stock USING btree (stk_cliente);


--
-- Name: idx_stock_13; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_13 ON stock USING btree (stk_idsitem);


--
-- Name: idx_stock_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_2 ON stock USING btree (stk_estado, stk_idsitem);


--
-- Name: idx_stock_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_3 ON stock USING btree (stk_estado, stk_directo, stk_indirecto, stk_compbte, stk_artic);


--
-- Name: idx_stock_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_4 ON stock USING btree (stk_estado, stk_compbte);


--
-- Name: idx_stock_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_5 ON stock USING btree (stk_estado, stk_deposito);


--
-- Name: idx_stock_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_6 ON stock USING btree (stk_estado, stk_directo, stk_indirecto, stk_artic);


--
-- Name: idx_stock_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_7 ON stock USING btree (stk_estado, stk_indirecto);


--
-- Name: idx_stock_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_8 ON stock USING btree (stk_estado, stk_artic);


--
-- Name: idx_stock_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_stock_9 ON stock USING btree (stk_artic);


--
-- Name: idx_subd_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subd_1 ON subd USING btree (subd_codemp, subd_idptov);


--
-- Name: idx_subitem_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_subitem_1 ON subitem USING btree (sitem_idoper, sitem_id);


--
-- Name: idx_subitem_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_10 ON subitem USING btree (sitem_compbte);


--
-- Name: idx_subitem_11; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_11 ON subitem USING btree (sitem_estado, sitem_directo, sitem_indirecto, sitem_compbte);


--
-- Name: idx_subitem_12; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_12 ON subitem USING btree (sitem_deposito);


--
-- Name: idx_subitem_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_2 ON subitem USING btree (sitem_estado, sitem_id);


--
-- Name: idx_subitem_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_3 ON subitem USING btree (sitem_estado, sitem_directo, sitem_indirecto, sitem_compbte, sitem_artic);


--
-- Name: idx_subitem_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_5 ON subitem USING btree (sitem_estado, sitem_deposito);


--
-- Name: idx_subitem_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_6 ON subitem USING btree (sitem_estado, sitem_directo, sitem_indirecto, sitem_artic);


--
-- Name: idx_subitem_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_7 ON subitem USING btree (sitem_estado, sitem_indirecto);


--
-- Name: idx_subitem_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_8 ON subitem USING btree (sitem_estado, sitem_artic);


--
-- Name: idx_subitem_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitem_9 ON subitem USING btree (sitem_artic);


--
-- Name: idx_subitemd_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_subitemd_1 ON subitemd USING btree (sitemd_idoper, sitemd_id);


--
-- Name: idx_subitemd_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_10 ON subitemd USING btree (sitemd_comptras);


--
-- Name: idx_subitemd_11; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_11 ON subitemd USING btree (sitemd_estado, sitemd_cliente);


--
-- Name: idx_subitemd_12; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_12 ON subitemd USING btree (sitemd_cliente);


--
-- Name: idx_subitemd_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_2 ON subitemd USING btree (sitemd_estado, sitemd_id);


--
-- Name: idx_subitemd_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_3 ON subitemd USING btree (sitemd_estado, sitemd_directo, sitemd_indirecto, sitemd_compbte, sitemd_artic);


--
-- Name: idx_subitemd_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_4 ON subitemd USING btree (sitemd_estado, sitemd_compbte);


--
-- Name: idx_subitemd_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_5 ON subitemd USING btree (sitemd_estado, sitemd_deposito);


--
-- Name: idx_subitemd_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_6 ON subitemd USING btree (sitemd_estado, sitemd_directo, sitemd_indirecto, sitemd_artic);


--
-- Name: idx_subitemd_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_7 ON subitemd USING btree (sitemd_estado, sitemd_indirecto);


--
-- Name: idx_subitemd_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_8 ON subitemd USING btree (sitemd_estado, sitemd_artic);


--
-- Name: idx_subitemd_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subitemd_9 ON subitemd USING btree (sitemd_artic);


--
-- Name: idx_subrub_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_subrub_1 ON subrub USING btree (srb_rubro, srb_codigo);


--
-- Name: idx_talon_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_talon_1 ON talon USING btree (tal_idptov, tal_comprob);


--
-- Name: idx_telefon_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_telefon_1 ON telefon USING btree (tel_tipent, tel_codigo, tel_tiptel);


--
-- Name: idx_telefon_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_telefon_2 ON telefon USING btree (tel_dato);


--
-- Name: idx_telefon_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_telefon_3 ON telefon USING btree (tel_contact);


--
-- Name: idx_usuarios_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_usuarios_1 ON usuarios USING btree (usu_nrocuit);


--
-- Name: idx_usuarios_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_usuarios_2 ON usuarios USING btree (usu_tipusu, usu_codigo);


--
-- Name: idx_usuarios_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_usuarios_3 ON usuarios USING btree (usu_estado, usu_tipusu, usu_codigo);


--
-- Name: idx_volegr_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_volegr_1 ON volegr USING btree (vole_idoperi);


--
-- Name: idx_volegr_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_volegr_3 ON volegr USING btree (vole_idoperi, vole_fechaeg);


--
-- Name: idx_voling_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_voling_2 ON voling USING btree (vol_directo, vol_indirecto);


--
-- Name: idx_voling_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_voling_3 ON voling USING btree (vol_directo, vol_cliente);


--
-- Name: idx_voling_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_voling_4 ON voling USING btree (vol_directo, vol_cliente, vol_estado, vol_ultfac);


--
-- Name: idx_wnoticias_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wnoticias_2 ON wnoticias USING btree (wnot_estado, wnot_directo);


--
-- Name: idx_woperaciones_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_woperaciones_2 ON woperaciones USING btree (wop_directo, wop_indirecto);


--
-- Name: idx_woperaciones_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_woperaciones_3 ON woperaciones USING btree (wop_estado, wop_directo, wop_indirecto);


--
-- Name: idx_woperaciones_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_woperaciones_4 ON woperaciones USING btree (wop_directo, wop_indirecto, wop_tipoper, wop_estado);


--
-- Name: idx_wret2_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wret2_2 ON wret2 USING btree (wret2_idopera);


--
-- Name: idx_wret2_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wret2_3 ON wret2 USING btree (wret2_idsitem);


--
-- Name: idx_wret2_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wret2_4 ON wret2 USING btree (wret2_estado);


--
-- Name: idx_wretiros_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_wretiros_1 ON wretiros USING btree (wret_id);


--
-- Name: idx_wretiros_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wretiros_2 ON wretiros USING btree (wret_idsitem);


--
-- Name: idx_wretiros_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wretiros_3 ON wretiros USING btree (wret_compbte);


--
-- Name: idx_wsubitem_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX idx_wsubitem_1 ON wsubitem USING btree (wsitem_id);


--
-- Name: idx_wsubitem_10; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_10 ON wsubitem USING btree (wsitem_directo, wsitem_indirecto, wsitem_artic);


--
-- Name: idx_wsubitem_11; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_11 ON wsubitem USING btree (wsitem_directo, wsitem_indirecto, wsitem_compbte, wsitem_artic);


--
-- Name: idx_wsubitem_12; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_12 ON wsubitem USING btree (wsitem_directo, wsitem_indirecto, wsitem_codart);


--
-- Name: idx_wsubitem_13; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_13 ON wsubitem USING btree (wsitem_directo, wsitem_indirecto, wsitem_idoper);


--
-- Name: idx_wsubitem_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_2 ON wsubitem USING btree (wsitem_directo, wsitem_indirecto);


--
-- Name: idx_wsubitem_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_3 ON wsubitem USING btree (wsitem_compbte);


--
-- Name: idx_wsubitem_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_4 ON wsubitem USING btree (wsitem_comptrans);


--
-- Name: idx_wsubitem_5; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_5 ON wsubitem USING btree (wsitem_codart);


--
-- Name: idx_wsubitem_6; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_6 ON wsubitem USING btree (wsitem_directo, wsitem_indirecto, wsitem_consig);


--
-- Name: idx_wsubitem_7; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_7 ON wsubitem USING btree (wsitem_directo, wsitem_consig);


--
-- Name: idx_wsubitem_8; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_8 ON wsubitem USING btree (wsitem_indirecto, wsitem_codart);


--
-- Name: idx_wsubitem_9; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX idx_wsubitem_9 ON wsubitem USING btree (wsitem_directo, wsitem_indirecto, wsitem_compbte);


--
-- Name: indicador1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX indicador1 ON indicador USING btree (ind_tipo, ind_anio, ind_mes);


--
-- Name: inicio_idx2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX inicio_idx2 ON controlop USING btree (ctp_inicio, ctp_estado);


--
-- Name: iolfecin; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX iolfecin ON inoutliv USING btree (iol_fecin);


--
-- Name: iolfecout; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX iolfecout ON inoutliv USING btree (iol_fecout);


--
-- Name: let_estado; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX let_estado ON lecting USING btree (let_estado, let_placa, let_barrera);


--
-- Name: livianos_1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX livianos_1 ON livianos USING btree (lv_id, lv_patente);


--
-- Name: livianos_2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX livianos_2 ON livianos USING btree (lv_id, lv_patente, lv_estado);


--
-- Name: livianos_3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX livianos_3 ON livianos USING btree (lv_patente, lv_estado);


--
-- Name: m_astoctas1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX m_astoctas1 ON m_astoctas USING btree (idastoh);


--
-- Name: m_astoctas2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX m_astoctas2 ON m_astoctas USING btree (idptov, comprob, numero);


--
-- Name: m_astoctas3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX m_astoctas3 ON m_astoctas USING btree (idastoc);


--
-- Name: m_astoctas4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX m_astoctas4 ON m_astoctas USING btree (idastoh, orden);


--
-- Name: mctacte; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX mctacte ON m_ctacte USING btree (tip, codigo, numero);


--
-- Name: mcteash; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX mcteash ON m_ctacte USING btree (idastoh);


--
-- Name: modo_idx3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX modo_idx3 ON controlop USING btree (ctp_modo, ctp_inicio, ctp_estado);


--
-- Name: mpctacte; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX mpctacte ON m_pctacte USING btree (tip, codigo, numero);


--
-- Name: mpcteash; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX mpcteash ON m_pctacte USING btree (idastoh);


--
-- Name: nombreg; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX nombreg ON gente USING btree (gte_nombre);


--
-- Name: objxplan1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX objxplan1 ON objxplan USING btree (obj_idhalla);


--
-- Name: objxplan2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX objxplan2 ON objxplan USING btree (obj_idpacch);


--
-- Name: operador_idx1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX operador_idx1 ON controlop USING btree (ctp_operadori, ctp_inicio);


--
-- Name: operador_idx2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX operador_idx2 ON controlop USING btree (ctp_operadorf, ctp_inicio);


--
-- Name: operest1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX operest1 ON operest USING btree (opr_estado, opr_compbte, opr_idoper);


--
-- Name: paccb1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX paccb1 ON paccb USING btree (pab_idhalla);


--
-- Name: paccb2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX paccb2 ON paccb USING btree (pab_idpacch);


--
-- Name: pacch1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX pacch1 ON pacch USING btree (pah_anio);


--
-- Name: patente; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX patente ON livianos USING btree (lv_patente);


--
-- Name: periodo; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX periodo ON facturacion USING btree (fac_codemp, fac_ptov, fac_cliente, fac_anio, fac_mes);


--
-- Name: respxacc1; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX respxacc1 ON respxacc USING btree (rxa_idhalla);


--
-- Name: respxacc2; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX respxacc2 ON respxacc USING btree (rxa_idpacch);


--
-- Name: respxacc3; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX respxacc3 ON respxacc USING btree (rxa_idoxp);


--
-- Name: subitem_4; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX subitem_4 ON subitem USING btree (sitem_estado, sitem_compbte);


--
-- Name: subt_contrato; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX subt_contrato ON subtcontrat USING btree (subt_idtipc, subt_codigo);


--
-- Name: tarjet; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX tarjet ON gente USING btree (gte_estado, gte_tarjeta);


--
-- Name: tarjetas; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX tarjetas ON gente USING btree (gte_tarjeta, gte_estado);


--
-- Name: tip_contrato; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX tip_contrato ON tipcontrat USING btree (tipc_codigo);


--
-- Name: verificacion; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE INDEX verificacion ON opervehi USING btree (opv_verif);


--
-- Name: xpkdesdes; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX xpkdesdes ON subitem USING btree (sitem_id);


--
-- Name: xpkmercaestad; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX xpkmercaestad ON mercaestad USING btree (mestad_codigo);


--
-- Name: xpkoperacion; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX xpkoperacion ON operaciones USING btree (op_id);


--
-- Name: xpktipmovim; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX xpktipmovim ON tipoper USING btree (top_codigo);


--
-- Name: xpkvolegr; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX xpkvolegr ON volegr USING btree (vole_idoper, vole_idoperi);


--
-- Name: xpkvoling; Type: INDEX; Schema: public; Owner: zona; Tablespace: 
--

CREATE UNIQUE INDEX xpkvoling ON voling USING btree (vol_idoper);


--
-- Name: ad_retiros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ad_retiros AFTER DELETE ON retiros FOR EACH ROW EXECUTE PROCEDURE f_ad_retiros();


--
-- Name: ad_seguros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ad_seguros AFTER DELETE ON seguros FOR EACH ROW EXECUTE PROCEDURE f_ad_seguros();


--
-- Name: ad_subitem; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ad_subitem AFTER DELETE ON subitem FOR EACH ROW EXECUTE PROCEDURE f_ad_subitem();


--
-- Name: ad_volegr; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ad_volegr AFTER DELETE ON volegr FOR EACH ROW EXECUTE PROCEDURE f_ad_volegr();


--
-- Name: ad_wret2; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ad_wret2 AFTER DELETE ON wret2 FOR EACH ROW EXECUTE PROCEDURE f_ad_wret2();


--
-- Name: ai_artseg; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_artseg AFTER INSERT ON artseg FOR EACH ROW EXECUTE PROCEDURE f_ai_artseg();


--
-- Name: ai_astoctas; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_astoctas AFTER INSERT ON astoctas FOR EACH ROW EXECUTE PROCEDURE f_ai_astoctas();


--
-- Name: ai_clientes; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_clientes AFTER INSERT ON clientes FOR EACH ROW EXECUTE PROCEDURE f_ai_clientes();


--
-- Name: ai_contratos; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_contratos AFTER INSERT ON contratos FOR EACH ROW EXECUTE PROCEDURE f_ai_contratos();


--
-- Name: ai_hijcble; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_hijcble AFTER INSERT ON hijcble FOR EACH ROW EXECUTE PROCEDURE f_ai_hijcble();


--
-- Name: ai_item; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_item AFTER INSERT ON item FOR EACH ROW EXECUTE PROCEDURE f_ai_item();


--
-- Name: ai_operaciones; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_operaciones AFTER INSERT ON operaciones FOR EACH ROW EXECUTE PROCEDURE f_ai_operaciones();


--
-- Name: ai_prove; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_prove AFTER INSERT ON prove FOR EACH ROW EXECUTE PROCEDURE f_ai_prove();


--
-- Name: ai_retiros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_retiros AFTER INSERT ON retiros FOR EACH ROW EXECUTE PROCEDURE f_ai_retiros();


--
-- Name: ai_seguros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_seguros AFTER INSERT ON seguros FOR EACH ROW EXECUTE PROCEDURE f_ai_seguros();


--
-- Name: ai_usuarios; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_usuarios AFTER INSERT ON usuarios FOR EACH ROW EXECUTE PROCEDURE f_ai_usuarios();


--
-- Name: ai_wret2; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER ai_wret2 AFTER INSERT ON wret2 FOR EACH ROW EXECUTE PROCEDURE f_ai_wret2();


--
-- Name: au_artseg; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_artseg AFTER UPDATE ON artseg FOR EACH ROW EXECUTE PROCEDURE f_au_artseg();


--
-- Name: au_astoctas; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_astoctas AFTER UPDATE ON astoctas FOR EACH ROW EXECUTE PROCEDURE f_au_astoctas();


--
-- Name: au_astoh; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_astoh AFTER UPDATE ON astoh FOR EACH ROW EXECUTE PROCEDURE f_au_astoh();


--
-- Name: au_clientes; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_clientes AFTER UPDATE ON clientes FOR EACH ROW EXECUTE PROCEDURE f_au_clientes();


--
-- Name: au_compra; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_compra AFTER UPDATE ON compra FOR EACH ROW EXECUTE PROCEDURE f_au_compra();


--
-- Name: au_consig; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_consig AFTER UPDATE ON consig FOR EACH ROW EXECUTE PROCEDURE f_au_consig();


--
-- Name: au_contratos; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_contratos AFTER UPDATE ON contratos FOR EACH ROW EXECUTE PROCEDURE f_au_contratos();


--
-- Name: au_emiti; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_emiti AFTER UPDATE ON emiti FOR EACH ROW EXECUTE PROCEDURE f_au_emiti();


--
-- Name: au_feccontra; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_feccontra AFTER UPDATE ON feccontra FOR EACH ROW EXECUTE PROCEDURE f_au_feccontra();


--
-- Name: au_gente; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_gente AFTER UPDATE ON gente FOR EACH ROW EXECUTE PROCEDURE f_au_gente();


--
-- Name: au_inout; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_inout AFTER UPDATE ON "inout" FOR EACH ROW EXECUTE PROCEDURE f_au_inout();


--
-- Name: au_item; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_item BEFORE UPDATE ON item FOR EACH ROW EXECUTE PROCEDURE f_au_item();


--
-- Name: au_och; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_och AFTER UPDATE ON och FOR EACH ROW EXECUTE PROCEDURE f_au_och();


--
-- Name: au_operaciones; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_operaciones AFTER UPDATE ON operaciones FOR EACH ROW EXECUTE PROCEDURE f_au_operaciones();


--
-- Name: au_opervehi; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_opervehi AFTER UPDATE ON opervehi FOR EACH ROW EXECUTE PROCEDURE f_au_opervehi();


--
-- Name: au_proganualsh; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_proganualsh AFTER UPDATE ON proganualsh FOR EACH ROW EXECUTE PROCEDURE f_au_proganualsh();


--
-- Name: au_prove; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_prove AFTER UPDATE ON prove FOR EACH ROW EXECUTE PROCEDURE f_au_prove();


--
-- Name: au_requeh; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_requeh AFTER UPDATE ON requeh FOR EACH ROW EXECUTE PROCEDURE f_au_requeh();


--
-- Name: au_retiros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_retiros AFTER UPDATE ON retiros FOR EACH ROW EXECUTE PROCEDURE f_au_retiros();


--
-- Name: au_seguros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_seguros AFTER UPDATE ON seguros FOR EACH ROW EXECUTE PROCEDURE f_au_seguros();


--
-- Name: au_unifun; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_unifun AFTER UPDATE ON unifun FOR EACH ROW EXECUTE PROCEDURE f_au_unifun();


--
-- Name: au_usuarios; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_usuarios AFTER UPDATE ON usuarios FOR EACH ROW EXECUTE PROCEDURE f_au_usuarios();


--
-- Name: au_volegr; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_volegr AFTER UPDATE ON volegr FOR EACH ROW EXECUTE PROCEDURE f_au_volegr();


--
-- Name: au_voling; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_voling AFTER UPDATE ON voling FOR EACH ROW EXECUTE PROCEDURE f_au_voling();


--
-- Name: au_woperaciones; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_woperaciones AFTER UPDATE ON woperaciones FOR EACH ROW EXECUTE PROCEDURE f_au_woperaciones();


--
-- Name: au_wret2; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER au_wret2 AFTER UPDATE ON wret2 FOR EACH ROW EXECUTE PROCEDURE f_au_wret2();


--
-- Name: bd_astoctas; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_astoctas BEFORE DELETE ON astoctas FOR EACH ROW EXECUTE PROCEDURE f_bd_astoctas();


--
-- Name: bd_astoh; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_astoh BEFORE DELETE ON astoh FOR EACH ROW EXECUTE PROCEDURE f_bd_astoh();


--
-- Name: bd_emiti; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_emiti BEFORE DELETE ON emiti FOR EACH ROW EXECUTE PROCEDURE f_bd_emiti();


--
-- Name: bd_evxprov; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_evxprov BEFORE DELETE ON evxprov FOR EACH ROW EXECUTE PROCEDURE f_bd_evxprov();


--
-- Name: bd_hijcble; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_hijcble BEFORE DELETE ON hijcble FOR EACH ROW EXECUTE PROCEDURE f_bd_hijcble();


--
-- Name: bd_juzgprov; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_juzgprov BEFORE DELETE ON juzgprov FOR EACH ROW EXECUTE PROCEDURE f_bd_juzgprov();


--
-- Name: bd_och; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_och BEFORE DELETE ON och FOR EACH ROW EXECUTE PROCEDURE f_bd_och();


--
-- Name: bd_requeh; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_requeh BEFORE DELETE ON requeh FOR EACH ROW EXECUTE PROCEDURE f_bd_requeh();


--
-- Name: bd_subitem; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bd_subitem BEFORE DELETE ON subitem FOR EACH ROW EXECUTE PROCEDURE f_bd_subitem();


--
-- Name: bi_contratos; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bi_contratos BEFORE INSERT ON contratos FOR EACH ROW EXECUTE PROCEDURE f_bi_contratos();


--
-- Name: bi_item; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bi_item BEFORE INSERT ON item FOR EACH ROW EXECUTE PROCEDURE f_bi_item();


--
-- Name: bi_lecting; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bi_lecting BEFORE INSERT ON lecting FOR EACH ROW EXECUTE PROCEDURE f_bi_lecting();


--
-- Name: bi_puertos; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bi_puertos BEFORE INSERT ON puertos FOR EACH ROW EXECUTE PROCEDURE f_bi_puertos();


--
-- Name: bi_retiros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bi_retiros BEFORE INSERT ON retiros FOR EACH ROW EXECUTE PROCEDURE f_bi_retiros();


--
-- Name: bi_subitem; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bi_subitem BEFORE INSERT ON subitem FOR EACH ROW EXECUTE PROCEDURE f_bi_subitem();


--
-- Name: bu_astoh; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_astoh BEFORE UPDATE ON astoh FOR EACH ROW EXECUTE PROCEDURE f_bu_astoh();


--
-- Name: bu_caratula; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_caratula BEFORE UPDATE ON caratula FOR EACH ROW EXECUTE PROCEDURE f_bu_caratula();


--
-- Name: bu_cheques; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_cheques BEFORE UPDATE ON cheques FOR EACH ROW EXECUTE PROCEDURE f_bu_cheques();


--
-- Name: bu_operaciones; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_operaciones BEFORE UPDATE ON operaciones FOR EACH ROW EXECUTE PROCEDURE f_bu_operaciones();


--
-- Name: bu_retiros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_retiros BEFORE UPDATE ON retiros FOR EACH ROW EXECUTE PROCEDURE f_bu_retiros();


--
-- Name: bu_seguros; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_seguros BEFORE UPDATE ON seguros FOR EACH ROW EXECUTE PROCEDURE f_bu_seguros();


--
-- Name: bu_subitem; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_subitem BEFORE UPDATE ON subitem FOR EACH ROW EXECUTE PROCEDURE f_bu_subitem();


--
-- Name: bu_volegr; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_volegr BEFORE UPDATE ON volegr FOR EACH ROW EXECUTE PROCEDURE f_bu_volegr();


--
-- Name: bu_voling; Type: TRIGGER; Schema: public; Owner: zona
--

CREATE TRIGGER bu_voling BEFORE UPDATE ON voling FOR EACH ROW EXECUTE PROCEDURE f_bu_voling();


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY talon
    ADD CONSTRAINT "$1" FOREIGN KEY (tal_codemp) REFERENCES empresa(emp_codigo);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inhabilit
    ADD CONSTRAINT "$1" FOREIGN KEY (inh_usuario) REFERENCES usuarios(usu_codigo);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY proceso
    ADD CONSTRAINT "$1" FOREIGN KEY (ps_modulo) REFERENCES modsgc(msc_codigo);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rubxprov
    ADD CONSTRAINT "$1" FOREIGN KEY (rxp_prove) REFERENCES prove(prov_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY histcamb
    ADD CONSTRAINT "$1" FOREIGN KEY (hc_operadr) REFERENCES operadores(operad_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY evxprov
    ADD CONSTRAINT "$1" FOREIGN KEY (evxp_prove) REFERENCES prove(prov_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cixprov
    ADD CONSTRAINT "$1" FOREIGN KEY (cixp_prove) REFERENCES prove(prov_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY mpxprov
    ADD CONSTRAINT "$1" FOREIGN KEY (mpxp_prove) REFERENCES prove(prov_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY articc
    ADD CONSTRAINT "$1" FOREIGN KEY (artc_rubcomp) REFERENCES rubcomp(rcp_codigo);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY formulario
    ADD CONSTRAINT "$1" FOREIGN KEY (fm_operadal) REFERENCES operadores(operad_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY requeh
    ADD CONSTRAINT "$1" FOREIGN KEY (rh_operadal) REFERENCES operadores(operad_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY requeb
    ADD CONSTRAINT "$1" FOREIGN KEY (rb_idrh) REFERENCES requeh(rh_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY och
    ADD CONSTRAINT "$1" FOREIGN KEY (och_operadal) REFERENCES operadores(operad_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ocb
    ADD CONSTRAINT "$1" FOREIGN KEY (ocb_idoch) REFERENCES och(och_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rxoc
    ADD CONSTRAINT "$1" FOREIGN KEY (rxoc_idoch) REFERENCES och(och_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY autorizaciones
    ADD CONSTRAINT "$1" FOREIGN KEY (au_idfm) REFERENCES formulario(fm_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY adjuntos
    ADD CONSTRAINT "$1" FOREIGN KEY (adj_idfm) REFERENCES formulario(fm_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pagooc
    ADD CONSTRAINT "$1" FOREIGN KEY (po_idoch) REFERENCES och(och_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY firmxform
    ADD CONSTRAINT "$1" FOREIGN KEY (ff_idform) REFERENCES formulario(fm_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY firmdedepto
    ADD CONSTRAINT "$1" FOREIGN KEY (fd_idoperad) REFERENCES operadores(operad_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY aspectoseval
    ADD CONSTRAINT "$1" FOREIGN KEY (ape_idfm) REFERENCES formulario(fm_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY categoriaseval
    ADD CONSTRAINT "$1" FOREIGN KEY (cat_idaspecto) REFERENCES aspectoseval(ape_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY opcioncategoria
    ADD CONSTRAINT "$1" FOREIGN KEY (opc_idcategoria) REFERENCES categoriaseval(cat_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY evalxprove
    ADD CONSTRAINT "$1" FOREIGN KEY (exp_idprov) REFERENCES prove(prov_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY juzgprov
    ADD CONSTRAINT "$1" FOREIGN KEY (jp_ideval) REFERENCES evxprov(evxp_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY evaluacion
    ADD CONSTRAINT "$1" FOREIGN KEY (eval_idcategoria) REFERENCES categoriaseval(cat_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY obsindic
    ADD CONSTRAINT "$1" FOREIGN KEY (obi_idfm) REFERENCES formulario(fm_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY indicador
    ADD CONSTRAINT "$1" FOREIGN KEY (ind_tipo) REFERENCES tipind(tin_codigo);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY asistencia
    ADD CONSTRAINT "$1" FOREIGN KEY (a_idemple) REFERENCES empleados(e_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY novemple
    ADD CONSTRAINT "$1" FOREIGN KEY (nv_idemple) REFERENCES empleados(e_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY hallazgos
    ADD CONSTRAINT "$1" FOREIGN KEY (h_depto) REFERENCES deptos(dep_codigo);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pacch
    ADD CONSTRAINT "$1" FOREIGN KEY (pah_operad) REFERENCES operadores(operad_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY respxacc
    ADD CONSTRAINT "$1" FOREIGN KEY (rxa_respons) REFERENCES empleados(e_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cargopersonal
    ADD CONSTRAINT "$1" FOREIGN KEY (car_idemple) REFERENCES empleados(e_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY wretiros
    ADD CONSTRAINT "$1" FOREIGN KEY (wret_idsitem) REFERENCES wsubitem(wsitem_id);


--
-- Name: $1; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY wret2
    ADD CONSTRAINT "$1" FOREIGN KEY (wret2_idsitem) REFERENCES subitem(sitem_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inhabilit
    ADD CONSTRAINT "$2" FOREIGN KEY (inh_deposito) REFERENCES unifun(unif_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rubxprov
    ADD CONSTRAINT "$2" FOREIGN KEY (rxp_rubcomp) REFERENCES rubcomp(rcp_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY cixprov
    ADD CONSTRAINT "$2" FOREIGN KEY (cixp_codiso) REFERENCES codiso(cdi_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY mpxprov
    ADD CONSTRAINT "$2" FOREIGN KEY (mpxp_medpag) REFERENCES medpag(mpp_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY articc
    ADD CONSTRAINT "$2" FOREIGN KEY (artc_idcbl) REFERENCES ctacble(cbl_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY formulario
    ADD CONSTRAINT "$2" FOREIGN KEY (fm_modulo) REFERENCES modsgc(msc_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY requeh
    ADD CONSTRAINT "$2" FOREIGN KEY (rh_depto) REFERENCES deptos(dep_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY requeb
    ADD CONSTRAINT "$2" FOREIGN KEY (rb_articc) REFERENCES articc(artc_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY och
    ADD CONSTRAINT "$2" FOREIGN KEY (och_idfm) REFERENCES formulario(fm_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ocb
    ADD CONSTRAINT "$2" FOREIGN KEY (ocb_articc) REFERENCES articc(artc_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rxoc
    ADD CONSTRAINT "$2" FOREIGN KEY (rxoc_idrh) REFERENCES requeh(rh_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY autorizaciones
    ADD CONSTRAINT "$2" FOREIGN KEY (au_idoperad) REFERENCES operadores(operad_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY adjuntos
    ADD CONSTRAINT "$2" FOREIGN KEY (adj_idoperad) REFERENCES operadores(operad_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY pagooc
    ADD CONSTRAINT "$2" FOREIGN KEY (po_idpag) REFERENCES medpag(mpp_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY firmxform
    ADD CONSTRAINT "$2" FOREIGN KEY (ff_iddpto) REFERENCES deptos(dep_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY firmdedepto
    ADD CONSTRAINT "$2" FOREIGN KEY (fd_iddpto) REFERENCES deptos(dep_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY categoriaseval
    ADD CONSTRAINT "$2" FOREIGN KEY (cat_idfm) REFERENCES formulario(fm_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY opcioncategoria
    ADD CONSTRAINT "$2" FOREIGN KEY (opc_idfm) REFERENCES formulario(fm_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY evalxprove
    ADD CONSTRAINT "$2" FOREIGN KEY (exp_idoper) REFERENCES operadores(operad_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY juzgprov
    ADD CONSTRAINT "$2" FOREIGN KEY (jp_idfm) REFERENCES formulario(fm_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY evaluacion
    ADD CONSTRAINT "$2" FOREIGN KEY (eval_idoperad) REFERENCES operadores(operad_id);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY obsindic
    ADD CONSTRAINT "$2" FOREIGN KEY (obi_modsgc) REFERENCES modsgc(msc_codigo);


--
-- Name: $2; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY hallazgos
    ADD CONSTRAINT "$2" FOREIGN KEY (h_operad) REFERENCES operadores(operad_id);


--
-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inhabilit
    ADD CONSTRAINT "$3" FOREIGN KEY (inh_operadi) REFERENCES operadores(operad_id);


--
-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY formulario
    ADD CONSTRAINT "$3" FOREIGN KEY (fm_proceso) REFERENCES proceso(ps_id);


--
-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY och
    ADD CONSTRAINT "$3" FOREIGN KEY (och_prove) REFERENCES prove(prov_id);


--
-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rxoc
    ADD CONSTRAINT "$3" FOREIGN KEY (rxoc_idocb) REFERENCES ocb(ocb_id);


--
-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY juzgprov
    ADD CONSTRAINT "$3" FOREIGN KEY (jp_idoperad) REFERENCES operadores(operad_id);


--
-- Name: $3; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY evaluacion
    ADD CONSTRAINT "$3" FOREIGN KEY (eval_idjuzg) REFERENCES juzgprov(jp_id);


--
-- Name: $4; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY inhabilit
    ADD CONSTRAINT "$4" FOREIGN KEY (inh_operadh) REFERENCES operadores(operad_id);


--
-- Name: $4; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY rxoc
    ADD CONSTRAINT "$4" FOREIGN KEY (rxoc_idrb) REFERENCES requeb(rb_id);


--
-- Name: fecxinictr_fci_idini_fkey; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY fecxinictr
    ADD CONSTRAINT fecxinictr_fci_idini_fkey FOREIGN KEY (fci_idini) REFERENCES inicontr(ini_id);


--
-- Name: ufxinictr_ufi_idini_fkey; Type: FK CONSTRAINT; Schema: public; Owner: zona
--

ALTER TABLE ONLY ufxinictr
    ADD CONSTRAINT ufxinictr_ufi_idini_fkey FOREIGN KEY (ufi_idini) REFERENCES inicontr(ini_id);


--
-- Name: public; Type: ACL; Schema: -; Owner: postgres
--

REVOKE ALL ON SCHEMA public FROM PUBLIC;
REVOKE ALL ON SCHEMA public FROM postgres;
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO PUBLIC;


--
-- Name: abucble; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE abucble FROM PUBLIC;
REVOKE ALL ON TABLE abucble FROM zona;
GRANT ALL ON TABLE abucble TO zona;
GRANT ALL ON TABLE abucble TO nobody;


--
-- Name: abucble_ac_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE abucble_ac_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE abucble_ac_id_seq FROM zona;
GRANT ALL ON SEQUENCE abucble_ac_id_seq TO zona;
GRANT UPDATE ON SEQUENCE abucble_ac_id_seq TO nobody;


--
-- Name: accidentes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE accidentes FROM PUBLIC;
REVOKE ALL ON TABLE accidentes FROM zona;
GRANT ALL ON TABLE accidentes TO zona;
GRANT ALL ON TABLE accidentes TO nobody;


--
-- Name: accidentes_a_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE accidentes_a_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE accidentes_a_id_seq FROM zona;
GRANT ALL ON SEQUENCE accidentes_a_id_seq TO zona;
GRANT UPDATE ON SEQUENCE accidentes_a_id_seq TO nobody;


--
-- Name: accioncalidad; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE accioncalidad FROM PUBLIC;
REVOKE ALL ON TABLE accioncalidad FROM zona;
GRANT ALL ON TABLE accioncalidad TO zona;
GRANT ALL ON TABLE accioncalidad TO nobody;


--
-- Name: accioncalidad_a_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE accioncalidad_a_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE accioncalidad_a_id_seq FROM zona;
GRANT ALL ON SEQUENCE accioncalidad_a_id_seq TO zona;
GRANT UPDATE ON SEQUENCE accioncalidad_a_id_seq TO nobody;


--
-- Name: actas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE actas FROM PUBLIC;
REVOKE ALL ON TABLE actas FROM zona;
GRANT ALL ON TABLE actas TO zona;
GRANT ALL ON TABLE actas TO nobody;


--
-- Name: actas_acta_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE actas_acta_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE actas_acta_id_seq FROM zona;
GRANT ALL ON SEQUENCE actas_acta_id_seq TO zona;
GRANT UPDATE ON SEQUENCE actas_acta_id_seq TO nobody;


--
-- Name: activanualsh; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE activanualsh FROM PUBLIC;
REVOKE ALL ON TABLE activanualsh FROM zona;
GRANT ALL ON TABLE activanualsh TO zona;
GRANT ALL ON TABLE activanualsh TO nobody;


--
-- Name: activanualsh_act_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE activanualsh_act_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE activanualsh_act_id_seq FROM zona;
GRANT ALL ON SEQUENCE activanualsh_act_id_seq TO zona;
GRANT UPDATE ON SEQUENCE activanualsh_act_id_seq TO nobody;


--
-- Name: adjuntos_adj_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE adjuntos_adj_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE adjuntos_adj_id_seq FROM zona;
GRANT ALL ON SEQUENCE adjuntos_adj_id_seq TO zona;
GRANT UPDATE ON SEQUENCE adjuntos_adj_id_seq TO nobody;


--
-- Name: adjuntos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE adjuntos FROM PUBLIC;
REVOKE ALL ON TABLE adjuntos FROM zona;
GRANT ALL ON TABLE adjuntos TO zona;
GRANT ALL ON TABLE adjuntos TO nobody;


--
-- Name: aduanas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE aduanas FROM PUBLIC;
REVOKE ALL ON TABLE aduanas FROM zona;
GRANT ALL ON TABLE aduanas TO zona;
GRANT ALL ON TABLE aduanas TO nobody;


--
-- Name: almacen; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE almacen FROM PUBLIC;
REVOKE ALL ON TABLE almacen FROM zona;
GRANT ALL ON TABLE almacen TO zona;
GRANT ALL ON TABLE almacen TO nobody;


--
-- Name: almacen_alm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE almacen_alm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE almacen_alm_id_seq FROM zona;
GRANT ALL ON SEQUENCE almacen_alm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE almacen_alm_id_seq TO nobody;


--
-- Name: almacenaje; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE almacenaje FROM PUBLIC;
REVOKE ALL ON TABLE almacenaje FROM zona;
GRANT ALL ON TABLE almacenaje TO zona;
GRANT ALL ON TABLE almacenaje TO nobody;


--
-- Name: almacenaje_al_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE almacenaje_al_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE almacenaje_al_id_seq FROM zona;
GRANT ALL ON SEQUENCE almacenaje_al_id_seq TO zona;
GRANT UPDATE ON SEQUENCE almacenaje_al_id_seq TO nobody;


--
-- Name: articc_artc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE articc_artc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE articc_artc_id_seq FROM zona;
GRANT ALL ON SEQUENCE articc_artc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE articc_artc_id_seq TO nobody;


--
-- Name: articc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE articc FROM PUBLIC;
REVOKE ALL ON TABLE articc FROM zona;
GRANT ALL ON TABLE articc TO zona;
GRANT ALL ON TABLE articc TO nobody;


--
-- Name: articu; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE articu FROM PUBLIC;
REVOKE ALL ON TABLE articu FROM zona;
GRANT ALL ON TABLE articu TO zona;
GRANT ALL ON TABLE articu TO nobody;


--
-- Name: articu1; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE articu1 FROM PUBLIC;
REVOKE ALL ON TABLE articu1 FROM zona;
GRANT ALL ON TABLE articu1 TO zona;
GRANT ALL ON TABLE articu1 TO nobody;


--
-- Name: articu_artic_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE articu_artic_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE articu_artic_id_seq FROM zona;
GRANT ALL ON SEQUENCE articu_artic_id_seq TO zona;
GRANT UPDATE ON SEQUENCE articu_artic_id_seq TO nobody;


--
-- Name: articud; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE articud FROM PUBLIC;
REVOKE ALL ON TABLE articud FROM zona;
GRANT ALL ON TABLE articud TO zona;
GRANT ALL ON TABLE articud TO nobody;


--
-- Name: articud_articd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE articud_articd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE articud_articd_id_seq FROM zona;
GRANT ALL ON SEQUENCE articud_articd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE articud_articd_id_seq TO nobody;


--
-- Name: articud_articd_idartic_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE articud_articd_idartic_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE articud_articd_idartic_seq FROM zona;
GRANT ALL ON SEQUENCE articud_articd_idartic_seq TO zona;
GRANT UPDATE ON SEQUENCE articud_articd_idartic_seq TO nobody;


--
-- Name: articvta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE articvta FROM PUBLIC;
REVOKE ALL ON TABLE articvta FROM zona;
GRANT ALL ON TABLE articvta TO zona;
GRANT ALL ON TABLE articvta TO nobody;


--
-- Name: articvta_art_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE articvta_art_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE articvta_art_id_seq FROM zona;
GRANT ALL ON SEQUENCE articvta_art_id_seq TO zona;
GRANT UPDATE ON SEQUENCE articvta_art_id_seq TO nobody;


--
-- Name: artseg; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE artseg FROM PUBLIC;
REVOKE ALL ON TABLE artseg FROM zona;
GRANT ALL ON TABLE artseg TO zona;
GRANT ALL ON TABLE artseg TO nobody;


--
-- Name: artseg_as_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE artseg_as_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE artseg_as_id_seq FROM zona;
GRANT ALL ON SEQUENCE artseg_as_id_seq TO zona;
GRANT UPDATE ON SEQUENCE artseg_as_id_seq TO nobody;


--
-- Name: asistencia; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE asistencia FROM PUBLIC;
REVOKE ALL ON TABLE asistencia FROM zona;
GRANT ALL ON TABLE asistencia TO zona;
GRANT ALL ON TABLE asistencia TO nobody;


--
-- Name: asistencia_a_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE asistencia_a_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE asistencia_a_id_seq FROM zona;
GRANT ALL ON SEQUENCE asistencia_a_id_seq TO zona;
GRANT UPDATE ON SEQUENCE asistencia_a_id_seq TO nobody;


--
-- Name: asistxcapac; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE asistxcapac FROM PUBLIC;
REVOKE ALL ON TABLE asistxcapac FROM zona;
GRANT ALL ON TABLE asistxcapac TO zona;
GRANT ALL ON TABLE asistxcapac TO nobody;


--
-- Name: asistxcapac_a_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE asistxcapac_a_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE asistxcapac_a_id_seq FROM zona;
GRANT ALL ON SEQUENCE asistxcapac_a_id_seq TO zona;
GRANT UPDATE ON SEQUENCE asistxcapac_a_id_seq TO nobody;


--
-- Name: aspectoseval_ape_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE aspectoseval_ape_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE aspectoseval_ape_id_seq FROM zona;
GRANT ALL ON SEQUENCE aspectoseval_ape_id_seq TO zona;
GRANT UPDATE ON SEQUENCE aspectoseval_ape_id_seq TO nobody;


--
-- Name: aspectoseval; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE aspectoseval FROM PUBLIC;
REVOKE ALL ON TABLE aspectoseval FROM zona;
GRANT ALL ON TABLE aspectoseval TO zona;
GRANT ALL ON TABLE aspectoseval TO nobody;


--
-- Name: astoctas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE astoctas FROM PUBLIC;
REVOKE ALL ON TABLE astoctas FROM zona;
GRANT ALL ON TABLE astoctas TO zona;
GRANT ALL ON TABLE astoctas TO nobody;


--
-- Name: astoctas_astc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE astoctas_astc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE astoctas_astc_id_seq FROM zona;
GRANT ALL ON SEQUENCE astoctas_astc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE astoctas_astc_id_seq TO nobody;


--
-- Name: astoh; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE astoh FROM PUBLIC;
REVOKE ALL ON TABLE astoh FROM zona;
GRANT ALL ON TABLE astoh TO zona;
GRANT ALL ON TABLE astoh TO nobody;


--
-- Name: astoh_ash_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE astoh_ash_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE astoh_ash_id_seq FROM zona;
GRANT ALL ON SEQUENCE astoh_ash_id_seq TO zona;
GRANT UPDATE ON SEQUENCE astoh_ash_id_seq TO nobody;


--
-- Name: autorizaciones_au_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE autorizaciones_au_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE autorizaciones_au_id_seq FROM zona;
GRANT ALL ON SEQUENCE autorizaciones_au_id_seq TO zona;
GRANT UPDATE ON SEQUENCE autorizaciones_au_id_seq TO nobody;


--
-- Name: autorizaciones; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE autorizaciones FROM PUBLIC;
REVOKE ALL ON TABLE autorizaciones FROM zona;
GRANT ALL ON TABLE autorizaciones TO zona;
GRANT ALL ON TABLE autorizaciones TO nobody;


--
-- Name: autorizados; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE autorizados FROM PUBLIC;
REVOKE ALL ON TABLE autorizados FROM zona;
GRANT ALL ON TABLE autorizados TO zona;
GRANT ALL ON TABLE autorizados TO nobody;


--
-- Name: autorizados_aut_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE autorizados_aut_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE autorizados_aut_id_seq FROM zona;
GRANT ALL ON SEQUENCE autorizados_aut_id_seq TO zona;
GRANT UPDATE ON SEQUENCE autorizados_aut_id_seq TO nobody;


--
-- Name: auxfe; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE auxfe FROM PUBLIC;
REVOKE ALL ON TABLE auxfe FROM zona;
GRANT ALL ON TABLE auxfe TO zona;
GRANT ALL ON TABLE auxfe TO nobody;


--
-- Name: auxfe_fe_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE auxfe_fe_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE auxfe_fe_id_seq FROM zona;
GRANT ALL ON SEQUENCE auxfe_fe_id_seq TO zona;
GRANT UPDATE ON SEQUENCE auxfe_fe_id_seq TO nobody;


--
-- Name: auxoper; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE auxoper FROM PUBLIC;
REVOKE ALL ON TABLE auxoper FROM zona;
GRANT ALL ON TABLE auxoper TO zona;
GRANT ALL ON TABLE auxoper TO nobody;


--
-- Name: auxoperv; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE auxoperv FROM PUBLIC;
REVOKE ALL ON TABLE auxoperv FROM zona;
GRANT ALL ON TABLE auxoperv TO zona;
GRANT ALL ON TABLE auxoperv TO nobody;


--
-- Name: auxoperv_avh_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE auxoperv_avh_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE auxoperv_avh_id_seq FROM zona;
GRANT ALL ON SEQUENCE auxoperv_avh_id_seq TO zona;
GRANT UPDATE ON SEQUENCE auxoperv_avh_id_seq TO nobody;


--
-- Name: bancos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE bancos FROM PUBLIC;
REVOKE ALL ON TABLE bancos FROM zona;
GRANT ALL ON TABLE bancos TO zona;
GRANT ALL ON TABLE bancos TO nobody;


--
-- Name: bingoprueba; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE bingoprueba FROM PUBLIC;
REVOKE ALL ON TABLE bingoprueba FROM zona;
GRANT ALL ON TABLE bingoprueba TO zona;
GRANT ALL ON TABLE bingoprueba TO nobody;


--
-- Name: bingoprueba_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE bingoprueba_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE bingoprueba_id_seq FROM zona;
GRANT ALL ON SEQUENCE bingoprueba_id_seq TO zona;
GRANT UPDATE ON SEQUENCE bingoprueba_id_seq TO nobody;


--
-- Name: calforms; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE calforms FROM PUBLIC;
REVOKE ALL ON TABLE calforms FROM zona;
GRANT ALL ON TABLE calforms TO zona;
GRANT ALL ON TABLE calforms TO nobody;


--
-- Name: calforms_cal_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE calforms_cal_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE calforms_cal_id_seq FROM zona;
GRANT ALL ON SEQUENCE calforms_cal_id_seq TO zona;
GRANT UPDATE ON SEQUENCE calforms_cal_id_seq TO nobody;


--
-- Name: calpersb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE calpersb FROM PUBLIC;
REVOKE ALL ON TABLE calpersb FROM zona;
GRANT ALL ON TABLE calpersb TO zona;
GRANT ALL ON TABLE calpersb TO nobody;


--
-- Name: calpersb_cb_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE calpersb_cb_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE calpersb_cb_id_seq FROM zona;
GRANT ALL ON SEQUENCE calpersb_cb_id_seq TO zona;
GRANT UPDATE ON SEQUENCE calpersb_cb_id_seq TO nobody;


--
-- Name: calpersh; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE calpersh FROM PUBLIC;
REVOKE ALL ON TABLE calpersh FROM zona;
GRANT ALL ON TABLE calpersh TO zona;
GRANT ALL ON TABLE calpersh TO nobody;


--
-- Name: calpersh_ch_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE calpersh_ch_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE calpersh_ch_id_seq FROM zona;
GRANT ALL ON SEQUENCE calpersh_ch_id_seq TO zona;
GRANT UPDATE ON SEQUENCE calpersh_ch_id_seq TO nobody;


--
-- Name: capacitacion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE capacitacion FROM PUBLIC;
REVOKE ALL ON TABLE capacitacion FROM zona;
GRANT ALL ON TABLE capacitacion TO zona;
GRANT ALL ON TABLE capacitacion TO nobody;


--
-- Name: capacitacion_cp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE capacitacion_cp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE capacitacion_cp_id_seq FROM zona;
GRANT ALL ON SEQUENCE capacitacion_cp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE capacitacion_cp_id_seq TO nobody;


--
-- Name: caratula; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE caratula FROM PUBLIC;
REVOKE ALL ON TABLE caratula FROM zona;
GRANT ALL ON TABLE caratula TO zona;
GRANT ALL ON TABLE caratula TO nobody;


--
-- Name: caratula_car_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE caratula_car_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE caratula_car_id_seq FROM zona;
GRANT ALL ON SEQUENCE caratula_car_id_seq TO zona;
GRANT UPDATE ON SEQUENCE caratula_car_id_seq TO nobody;


--
-- Name: cargaydes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cargaydes FROM PUBLIC;
REVOKE ALL ON TABLE cargaydes FROM zona;
GRANT ALL ON TABLE cargaydes TO zona;
GRANT ALL ON TABLE cargaydes TO nobody;


--
-- Name: cargaydes_c_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE cargaydes_c_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE cargaydes_c_id_seq FROM zona;
GRANT ALL ON SEQUENCE cargaydes_c_id_seq TO zona;
GRANT UPDATE ON SEQUENCE cargaydes_c_id_seq TO nobody;


--
-- Name: cargopersonal; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cargopersonal FROM PUBLIC;
REVOKE ALL ON TABLE cargopersonal FROM zona;
GRANT ALL ON TABLE cargopersonal TO zona;
GRANT ALL ON TABLE cargopersonal TO nobody;


--
-- Name: cargopersonal_car_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE cargopersonal_car_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE cargopersonal_car_id_seq FROM zona;
GRANT ALL ON SEQUENCE cargopersonal_car_id_seq TO zona;
GRANT UPDATE ON SEQUENCE cargopersonal_car_id_seq TO nobody;


--
-- Name: cargos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cargos FROM PUBLIC;
REVOKE ALL ON TABLE cargos FROM zona;
GRANT ALL ON TABLE cargos TO zona;
GRANT ALL ON TABLE cargos TO nobody;


--
-- Name: cargos_car_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE cargos_car_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE cargos_car_id_seq FROM zona;
GRANT ALL ON SEQUENCE cargos_car_id_seq TO zona;
GRANT UPDATE ON SEQUENCE cargos_car_id_seq TO nobody;


--
-- Name: carvis; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE carvis FROM PUBLIC;
REVOKE ALL ON TABLE carvis FROM zona;
GRANT ALL ON TABLE carvis TO zona;
GRANT ALL ON TABLE carvis TO nobody;


--
-- Name: carvis_cvt_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE carvis_cvt_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE carvis_cvt_id_seq FROM zona;
GRANT ALL ON SEQUENCE carvis_cvt_id_seq TO zona;
GRANT UPDATE ON SEQUENCE carvis_cvt_id_seq TO nobody;


--
-- Name: catego; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE catego FROM PUBLIC;
REVOKE ALL ON TABLE catego FROM zona;
GRANT ALL ON TABLE catego TO zona;
GRANT ALL ON TABLE catego TO nobody;


--
-- Name: catego_cat_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE catego_cat_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE catego_cat_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE catego_cat_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE catego_cat_codigo_seq TO nobody;


--
-- Name: categoriaseval_cat_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE categoriaseval_cat_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE categoriaseval_cat_id_seq FROM zona;
GRANT ALL ON SEQUENCE categoriaseval_cat_id_seq TO zona;
GRANT UPDATE ON SEQUENCE categoriaseval_cat_id_seq TO nobody;


--
-- Name: categoriaseval; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE categoriaseval FROM PUBLIC;
REVOKE ALL ON TABLE categoriaseval FROM zona;
GRANT ALL ON TABLE categoriaseval TO zona;
GRANT ALL ON TABLE categoriaseval TO nobody;


--
-- Name: catimo; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE catimo FROM PUBLIC;
REVOKE ALL ON TABLE catimo FROM zona;
GRANT ALL ON TABLE catimo TO zona;
GRANT ALL ON TABLE catimo TO nobody;


--
-- Name: cauditado; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cauditado FROM PUBLIC;
REVOKE ALL ON TABLE cauditado FROM zona;
GRANT ALL ON TABLE cauditado TO zona;
GRANT ALL ON TABLE cauditado TO nobody;


--
-- Name: cauditado_c_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE cauditado_c_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE cauditado_c_id_seq FROM zona;
GRANT ALL ON SEQUENCE cauditado_c_id_seq TO zona;
GRANT UPDATE ON SEQUENCE cauditado_c_id_seq TO nobody;


--
-- Name: centroc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE centroc FROM PUBLIC;
REVOKE ALL ON TABLE centroc FROM zona;
GRANT ALL ON TABLE centroc TO zona;
GRANT ALL ON TABLE centroc TO nobody;


--
-- Name: centroc_cco_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE centroc_cco_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE centroc_cco_id_seq FROM zona;
GRANT ALL ON SEQUENCE centroc_cco_id_seq TO zona;
GRANT UPDATE ON SEQUENCE centroc_cco_id_seq TO nobody;


--
-- Name: certificados; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE certificados FROM PUBLIC;
REVOKE ALL ON TABLE certificados FROM zona;
GRANT ALL ON TABLE certificados TO zona;
GRANT ALL ON TABLE certificados TO nobody;


--
-- Name: certificados_cert_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE certificados_cert_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE certificados_cert_id_seq FROM zona;
GRANT ALL ON SEQUENCE certificados_cert_id_seq TO zona;
GRANT UPDATE ON SEQUENCE certificados_cert_id_seq TO nobody;


--
-- Name: cheques; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cheques FROM PUBLIC;
REVOKE ALL ON TABLE cheques FROM zona;
GRANT ALL ON TABLE cheques TO zona;
GRANT ALL ON TABLE cheques TO nobody;


--
-- Name: cheques_chq_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE cheques_chq_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE cheques_chq_id_seq FROM zona;
GRANT ALL ON SEQUENCE cheques_chq_id_seq TO zona;
GRANT UPDATE ON SEQUENCE cheques_chq_id_seq TO nobody;


--
-- Name: chkcontr; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE chkcontr FROM PUBLIC;
REVOKE ALL ON TABLE chkcontr FROM zona;
GRANT ALL ON TABLE chkcontr TO zona;
GRANT ALL ON TABLE chkcontr TO nobody;


--
-- Name: chkcontr_ce_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE chkcontr_ce_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE chkcontr_ce_id_seq FROM zona;
GRANT ALL ON SEQUENCE chkcontr_ce_id_seq TO zona;
GRANT UPDATE ON SEQUENCE chkcontr_ce_id_seq TO nobody;


--
-- Name: chklemp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE chklemp FROM PUBLIC;
REVOKE ALL ON TABLE chklemp FROM zona;
GRANT ALL ON TABLE chklemp TO zona;
GRANT ALL ON TABLE chklemp TO nobody;


--
-- Name: chklemp_ce_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE chklemp_ce_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE chklemp_ce_id_seq FROM zona;
GRANT ALL ON SEQUENCE chklemp_ce_id_seq TO zona;
GRANT UPDATE ON SEQUENCE chklemp_ce_id_seq TO nobody;


--
-- Name: chqrech; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE chqrech FROM PUBLIC;
REVOKE ALL ON TABLE chqrech FROM zona;
GRANT ALL ON TABLE chqrech TO zona;
GRANT ALL ON TABLE chqrech TO nobody;


--
-- Name: chqrech_chqr_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE chqrech_chqr_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE chqrech_chqr_id_seq FROM zona;
GRANT ALL ON SEQUENCE chqrech_chqr_id_seq TO zona;
GRANT UPDATE ON SEQUENCE chqrech_chqr_id_seq TO nobody;


--
-- Name: ciaseg; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ciaseg FROM PUBLIC;
REVOKE ALL ON TABLE ciaseg FROM zona;
GRANT ALL ON TABLE ciaseg TO zona;
GRANT ALL ON TABLE ciaseg TO nobody;


--
-- Name: ciaseg_cs_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ciaseg_cs_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ciaseg_cs_id_seq FROM zona;
GRANT ALL ON SEQUENCE ciaseg_cs_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ciaseg_cs_id_seq TO nobody;


--
-- Name: cixprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cixprov FROM PUBLIC;
REVOKE ALL ON TABLE cixprov FROM zona;
GRANT ALL ON TABLE cixprov TO zona;
GRANT ALL ON TABLE cixprov TO nobody;


--
-- Name: clacont; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE clacont FROM PUBLIC;
REVOKE ALL ON TABLE clacont FROM zona;
GRANT ALL ON TABLE clacont TO zona;
GRANT ALL ON TABLE clacont TO nobody;


--
-- Name: clacont_clac_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE clacont_clac_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE clacont_clac_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE clacont_clac_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE clacont_clac_codigo_seq TO nobody;


--
-- Name: clientes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE clientes FROM PUBLIC;
REVOKE ALL ON TABLE clientes FROM zona;
GRANT ALL ON TABLE clientes TO zona;
GRANT ALL ON TABLE clientes TO nobody;


--
-- Name: clientes_cli_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE clientes_cli_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE clientes_cli_id_seq FROM zona;
GRANT ALL ON SEQUENCE clientes_cli_id_seq TO zona;
GRANT UPDATE ON SEQUENCE clientes_cli_id_seq TO nobody;


--
-- Name: codiso; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE codiso FROM PUBLIC;
REVOKE ALL ON TABLE codiso FROM zona;
GRANT ALL ON TABLE codiso TO zona;
GRANT ALL ON TABLE codiso TO nobody;


--
-- Name: codobje; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE codobje FROM PUBLIC;
REVOKE ALL ON TABLE codobje FROM zona;
GRANT ALL ON TABLE codobje TO zona;
GRANT ALL ON TABLE codobje TO nobody;


--
-- Name: codobje_cob_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE codobje_cob_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE codobje_cob_id_seq FROM zona;
GRANT ALL ON SEQUENCE codobje_cob_id_seq TO zona;
GRANT UPDATE ON SEQUENCE codobje_cob_id_seq TO nobody;


--
-- Name: codobji; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE codobji FROM PUBLIC;
REVOKE ALL ON TABLE codobji FROM zona;
GRANT ALL ON TABLE codobji TO zona;
GRANT ALL ON TABLE codobji TO nobody;


--
-- Name: codobji_cob_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE codobji_cob_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE codobji_cob_id_seq FROM zona;
GRANT ALL ON SEQUENCE codobji_cob_id_seq TO zona;
GRANT UPDATE ON SEQUENCE codobji_cob_id_seq TO nobody;


--
-- Name: codsgc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE codsgc FROM PUBLIC;
REVOKE ALL ON TABLE codsgc FROM zona;
GRANT ALL ON TABLE codsgc TO zona;
GRANT ALL ON TABLE codsgc TO nobody;


--
-- Name: codsgc_cs_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE codsgc_cs_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE codsgc_cs_id_seq FROM zona;
GRANT ALL ON SEQUENCE codsgc_cs_id_seq TO zona;
GRANT UPDATE ON SEQUENCE codsgc_cs_id_seq TO nobody;


--
-- Name: combustible; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE combustible FROM PUBLIC;
REVOKE ALL ON TABLE combustible FROM zona;
GRANT ALL ON TABLE combustible TO zona;
GRANT ALL ON TABLE combustible TO nobody;


--
-- Name: combustible_cm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE combustible_cm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE combustible_cm_id_seq FROM zona;
GRANT ALL ON SEQUENCE combustible_cm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE combustible_cm_id_seq TO nobody;


--
-- Name: comis; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE comis FROM PUBLIC;
REVOKE ALL ON TABLE comis FROM zona;
GRANT ALL ON TABLE comis TO zona;
GRANT ALL ON TABLE comis TO nobody;


--
-- Name: comis_com_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE comis_com_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE comis_com_id_seq FROM zona;
GRANT ALL ON SEQUENCE comis_com_id_seq TO zona;
GRANT UPDATE ON SEQUENCE comis_com_id_seq TO nobody;


--
-- Name: compadu; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE compadu FROM PUBLIC;
REVOKE ALL ON TABLE compadu FROM zona;
GRANT ALL ON TABLE compadu TO zona;
GRANT ALL ON TABLE compadu TO nobody;


--
-- Name: complfac; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE complfac FROM PUBLIC;
REVOKE ALL ON TABLE complfac FROM zona;
GRANT ALL ON TABLE complfac TO zona;
GRANT ALL ON TABLE complfac TO nobody;


--
-- Name: complfac_cfac_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE complfac_cfac_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE complfac_cfac_id_seq FROM zona;
GRANT ALL ON SEQUENCE complfac_cfac_id_seq TO zona;
GRANT UPDATE ON SEQUENCE complfac_cfac_id_seq TO nobody;


--
-- Name: compra; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE compra FROM PUBLIC;
REVOKE ALL ON TABLE compra FROM zona;
GRANT ALL ON TABLE compra TO zona;
GRANT ALL ON TABLE compra TO nobody;


--
-- Name: compra_cpra_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE compra_cpra_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE compra_cpra_id_seq FROM zona;
GRANT ALL ON SEQUENCE compra_cpra_id_seq TO zona;
GRANT UPDATE ON SEQUENCE compra_cpra_id_seq TO nobody;


--
-- Name: comprob; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE comprob FROM PUBLIC;
REVOKE ALL ON TABLE comprob FROM zona;
GRANT ALL ON TABLE comprob TO zona;
GRANT ALL ON TABLE comprob TO nobody;


--
-- Name: comprob_comp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE comprob_comp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE comprob_comp_id_seq FROM zona;
GRANT ALL ON SEQUENCE comprob_comp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE comprob_comp_id_seq TO nobody;


--
-- Name: confactur; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE confactur FROM PUBLIC;
REVOKE ALL ON TABLE confactur FROM zona;
GRANT ALL ON TABLE confactur TO zona;
GRANT ALL ON TABLE confactur TO nobody;


--
-- Name: confactur1; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE confactur1 FROM PUBLIC;
REVOKE ALL ON TABLE confactur1 FROM zona;
GRANT ALL ON TABLE confactur1 TO zona;
GRANT ALL ON TABLE confactur1 TO nobody;


--
-- Name: confactur1_cfc1_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE confactur1_cfc1_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE confactur1_cfc1_id_seq FROM zona;
GRANT ALL ON SEQUENCE confactur1_cfc1_id_seq TO zona;
GRANT UPDATE ON SEQUENCE confactur1_cfc1_id_seq TO nobody;


--
-- Name: confactur_cfc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE confactur_cfc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE confactur_cfc_id_seq FROM zona;
GRANT ALL ON SEQUENCE confactur_cfc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE confactur_cfc_id_seq TO nobody;


--
-- Name: coniva; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE coniva FROM PUBLIC;
REVOKE ALL ON TABLE coniva FROM zona;
GRANT ALL ON TABLE coniva TO zona;
GRANT ALL ON TABLE coniva TO nobody;


--
-- Name: conpag; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE conpag FROM PUBLIC;
REVOKE ALL ON TABLE conpag FROM zona;
GRANT ALL ON TABLE conpag TO zona;
GRANT ALL ON TABLE conpag TO nobody;


--
-- Name: conpag_cdp_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE conpag_cdp_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE conpag_cdp_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE conpag_cdp_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE conpag_cdp_codigo_seq TO nobody;


--
-- Name: consig; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE consig FROM PUBLIC;
REVOKE ALL ON TABLE consig FROM zona;
GRANT ALL ON TABLE consig TO zona;
GRANT ALL ON TABLE consig TO nobody;


--
-- Name: consig_csg_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE consig_csg_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE consig_csg_id_seq FROM zona;
GRANT ALL ON SEQUENCE consig_csg_id_seq TO zona;
GRANT UPDATE ON SEQUENCE consig_csg_id_seq TO nobody;


--
-- Name: consumos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE consumos FROM PUBLIC;
REVOKE ALL ON TABLE consumos FROM zona;
GRANT ALL ON TABLE consumos TO zona;
GRANT ALL ON TABLE consumos TO nobody;


--
-- Name: consumos_cm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE consumos_cm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE consumos_cm_id_seq FROM zona;
GRANT ALL ON SEQUENCE consumos_cm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE consumos_cm_id_seq TO nobody;


--
-- Name: contene; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE contene FROM PUBLIC;
REVOKE ALL ON TABLE contene FROM zona;
GRANT ALL ON TABLE contene TO zona;
GRANT ALL ON TABLE contene TO nobody;


--
-- Name: conteven; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE conteven FROM PUBLIC;
REVOKE ALL ON TABLE conteven FROM zona;
GRANT ALL ON TABLE conteven TO zona;
GRANT ALL ON TABLE conteven TO nobody;


--
-- Name: conteven_contev_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE conteven_contev_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE conteven_contev_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE conteven_contev_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE conteven_contev_codigo_seq TO nobody;


--
-- Name: contratos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE contratos FROM PUBLIC;
REVOKE ALL ON TABLE contratos FROM zona;
GRANT ALL ON TABLE contratos TO zona;
GRANT ALL ON TABLE contratos TO nobody;


--
-- Name: contratos_contr_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE contratos_contr_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE contratos_contr_id_seq FROM zona;
GRANT ALL ON SEQUENCE contratos_contr_id_seq TO zona;
GRANT UPDATE ON SEQUENCE contratos_contr_id_seq TO nobody;


--
-- Name: controldoc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE controldoc FROM PUBLIC;
REVOKE ALL ON TABLE controldoc FROM zona;
GRANT ALL ON TABLE controldoc TO zona;
GRANT ALL ON TABLE controldoc TO nobody;


--
-- Name: controldoc_cd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE controldoc_cd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE controldoc_cd_id_seq FROM zona;
GRANT ALL ON SEQUENCE controldoc_cd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE controldoc_cd_id_seq TO nobody;


--
-- Name: controlext; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE controlext FROM PUBLIC;
REVOKE ALL ON TABLE controlext FROM zona;
GRANT ALL ON TABLE controlext TO zona;
GRANT ALL ON TABLE controlext TO nobody;


--
-- Name: controlext_ex_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE controlext_ex_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE controlext_ex_id_seq FROM zona;
GRANT ALL ON SEQUENCE controlext_ex_id_seq TO zona;
GRANT UPDATE ON SEQUENCE controlext_ex_id_seq TO nobody;


--
-- Name: controlop; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE controlop FROM PUBLIC;
REVOKE ALL ON TABLE controlop FROM zona;
GRANT ALL ON TABLE controlop TO zona;
GRANT ALL ON TABLE controlop TO nobody;


--
-- Name: controlop_ctp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE controlop_ctp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE controlop_ctp_id_seq FROM zona;
GRANT ALL ON SEQUENCE controlop_ctp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE controlop_ctp_id_seq TO nobody;


--
-- Name: contrprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE contrprov FROM PUBLIC;
REVOKE ALL ON TABLE contrprov FROM zona;
GRANT ALL ON TABLE contrprov TO zona;
GRANT ALL ON TABLE contrprov TO nobody;


--
-- Name: contrprov_cp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE contrprov_cp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE contrprov_cp_id_seq FROM zona;
GRANT ALL ON SEQUENCE contrprov_cp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE contrprov_cp_id_seq TO nobody;


--
-- Name: copia_astoctas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE copia_astoctas FROM PUBLIC;
REVOKE ALL ON TABLE copia_astoctas FROM zona;
GRANT ALL ON TABLE copia_astoctas TO zona;
GRANT ALL ON TABLE copia_astoctas TO nobody;


--
-- Name: copia_astoctas_astc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE copia_astoctas_astc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE copia_astoctas_astc_id_seq FROM zona;
GRANT ALL ON SEQUENCE copia_astoctas_astc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE copia_astoctas_astc_id_seq TO nobody;


--
-- Name: cotiza; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cotiza FROM PUBLIC;
REVOKE ALL ON TABLE cotiza FROM zona;
GRANT ALL ON TABLE cotiza TO zona;
GRANT ALL ON TABLE cotiza TO nobody;


--
-- Name: criticprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE criticprov FROM PUBLIC;
REVOKE ALL ON TABLE criticprov FROM zona;
GRANT ALL ON TABLE criticprov TO zona;
GRANT ALL ON TABLE criticprov TO nobody;


--
-- Name: criticprov_cp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE criticprov_cp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE criticprov_cp_id_seq FROM zona;
GRANT ALL ON SEQUENCE criticprov_cp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE criticprov_cp_id_seq TO nobody;


--
-- Name: csgxuf; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE csgxuf FROM PUBLIC;
REVOKE ALL ON TABLE csgxuf FROM zona;
GRANT ALL ON TABLE csgxuf TO zona;
GRANT ALL ON TABLE csgxuf TO nobody;


--
-- Name: csgxuf_cxu_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE csgxuf_cxu_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE csgxuf_cxu_id_seq FROM zona;
GRANT ALL ON SEQUENCE csgxuf_cxu_id_seq TO zona;
GRANT UPDATE ON SEQUENCE csgxuf_cxu_id_seq TO nobody;


--
-- Name: ctacble; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ctacble FROM PUBLIC;
REVOKE ALL ON TABLE ctacble FROM zona;
GRANT ALL ON TABLE ctacble TO zona;
GRANT ALL ON TABLE ctacble TO nobody;


--
-- Name: ctacble_cbl_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ctacble_cbl_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ctacble_cbl_id_seq FROM zona;
GRANT ALL ON SEQUENCE ctacble_cbl_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ctacble_cbl_id_seq TO nobody;


--
-- Name: ctes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ctes FROM PUBLIC;
REVOKE ALL ON TABLE ctes FROM zona;
GRANT ALL ON TABLE ctes TO zona;
GRANT ALL ON TABLE ctes TO nobody;


--
-- Name: ctes_cte_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ctes_cte_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ctes_cte_id_seq FROM zona;
GRANT ALL ON SEQUENCE ctes_cte_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ctes_cte_id_seq TO nobody;


--
-- Name: cumplinfo; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE cumplinfo FROM PUBLIC;
REVOKE ALL ON TABLE cumplinfo FROM zona;
GRANT ALL ON TABLE cumplinfo TO zona;
GRANT ALL ON TABLE cumplinfo TO nobody;


--
-- Name: cumplinfo_cm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE cumplinfo_cm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE cumplinfo_cm_id_seq FROM zona;
GRANT ALL ON SEQUENCE cumplinfo_cm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE cumplinfo_cm_id_seq TO nobody;


--
-- Name: deadop; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE deadop FROM PUBLIC;
REVOKE ALL ON TABLE deadop FROM zona;
GRANT ALL ON TABLE deadop TO zona;
GRANT ALL ON TABLE deadop TO nobody;


--
-- Name: deadop_dd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE deadop_dd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE deadop_dd_id_seq FROM zona;
GRANT ALL ON SEQUENCE deadop_dd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE deadop_dd_id_seq TO nobody;


--
-- Name: deptos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE deptos FROM PUBLIC;
REVOKE ALL ON TABLE deptos FROM zona;
GRANT ALL ON TABLE deptos TO zona;
GRANT ALL ON TABLE deptos TO nobody;


--
-- Name: despach; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE despach FROM PUBLIC;
REVOKE ALL ON TABLE despach FROM zona;
GRANT ALL ON TABLE despach TO zona;
GRANT ALL ON TABLE despach TO nobody;


--
-- Name: despach_desp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE despach_desp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE despach_desp_id_seq FROM zona;
GRANT ALL ON SEQUENCE despach_desp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE despach_desp_id_seq TO nobody;


--
-- Name: difcta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE difcta FROM PUBLIC;
REVOKE ALL ON TABLE difcta FROM zona;
GRANT ALL ON TABLE difcta TO zona;
GRANT ALL ON TABLE difcta TO nobody;


--
-- Name: difcta_dc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE difcta_dc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE difcta_dc_id_seq FROM zona;
GRANT ALL ON SEQUENCE difcta_dc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE difcta_dc_id_seq TO nobody;


--
-- Name: division; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE division FROM PUBLIC;
REVOKE ALL ON TABLE division FROM zona;
GRANT ALL ON TABLE division TO zona;
GRANT ALL ON TABLE division TO nobody;


--
-- Name: division_div_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE division_div_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE division_div_id_seq FROM zona;
GRANT ALL ON SEQUENCE division_div_id_seq TO zona;
GRANT UPDATE ON SEQUENCE division_div_id_seq TO nobody;


--
-- Name: docexterno; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE docexterno FROM PUBLIC;
REVOKE ALL ON TABLE docexterno FROM zona;
GRANT ALL ON TABLE docexterno TO zona;
GRANT ALL ON TABLE docexterno TO nobody;


--
-- Name: docexterno_de_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE docexterno_de_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE docexterno_de_id_seq FROM zona;
GRANT ALL ON SEQUENCE docexterno_de_id_seq TO zona;
GRANT UPDATE ON SEQUENCE docexterno_de_id_seq TO nobody;


--
-- Name: docum; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE docum FROM PUBLIC;
REVOKE ALL ON TABLE docum FROM zona;
GRANT ALL ON TABLE docum TO zona;
GRANT ALL ON TABLE docum TO nobody;


--
-- Name: docum_doc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE docum_doc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE docum_doc_id_seq FROM zona;
GRANT ALL ON SEQUENCE docum_doc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE docum_doc_id_seq TO nobody;


--
-- Name: documentacion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE documentacion FROM PUBLIC;
REVOKE ALL ON TABLE documentacion FROM zona;
GRANT ALL ON TABLE documentacion TO zona;
GRANT ALL ON TABLE documentacion TO nobody;


--
-- Name: documentacion_d_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE documentacion_d_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE documentacion_d_id_seq FROM zona;
GRANT ALL ON SEQUENCE documentacion_d_id_seq TO zona;
GRANT UPDATE ON SEQUENCE documentacion_d_id_seq TO nobody;


--
-- Name: dow; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE dow FROM PUBLIC;
REVOKE ALL ON TABLE dow FROM zona;
GRANT ALL ON TABLE dow TO zona;
GRANT ALL ON TABLE dow TO nobody;


--
-- Name: dow_d_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE dow_d_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE dow_d_id_seq FROM zona;
GRANT ALL ON SEQUENCE dow_d_id_seq TO zona;
GRANT UPDATE ON SEQUENCE dow_d_id_seq TO nobody;


--
-- Name: egretot; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE egretot FROM PUBLIC;
REVOKE ALL ON TABLE egretot FROM zona;
GRANT ALL ON TABLE egretot TO zona;
GRANT ALL ON TABLE egretot TO nobody;


--
-- Name: egretot_egt_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE egretot_egt_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE egretot_egt_id_seq FROM zona;
GRANT ALL ON SEQUENCE egretot_egt_id_seq TO zona;
GRANT UPDATE ON SEQUENCE egretot_egt_id_seq TO nobody;


--
-- Name: embalajes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE embalajes FROM PUBLIC;
REVOKE ALL ON TABLE embalajes FROM zona;
GRANT ALL ON TABLE embalajes TO zona;
GRANT ALL ON TABLE embalajes TO nobody;


--
-- Name: emergencias; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE emergencias FROM PUBLIC;
REVOKE ALL ON TABLE emergencias FROM zona;
GRANT ALL ON TABLE emergencias TO zona;
GRANT ALL ON TABLE emergencias TO nobody;


--
-- Name: emergencias_e_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE emergencias_e_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE emergencias_e_id_seq FROM zona;
GRANT ALL ON SEQUENCE emergencias_e_id_seq TO zona;
GRANT UPDATE ON SEQUENCE emergencias_e_id_seq TO nobody;


--
-- Name: emiti; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE emiti FROM PUBLIC;
REVOKE ALL ON TABLE emiti FROM zona;
GRANT ALL ON TABLE emiti TO zona;
GRANT ALL ON TABLE emiti TO nobody;


--
-- Name: emiti_emi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE emiti_emi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE emiti_emi_id_seq FROM zona;
GRANT ALL ON SEQUENCE emiti_emi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE emiti_emi_id_seq TO nobody;


--
-- Name: empleados; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE empleados FROM PUBLIC;
REVOKE ALL ON TABLE empleados FROM zona;
GRANT ALL ON TABLE empleados TO zona;
GRANT ALL ON TABLE empleados TO nobody;


--
-- Name: empleados_e_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE empleados_e_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE empleados_e_id_seq FROM zona;
GRANT ALL ON SEQUENCE empleados_e_id_seq TO zona;
GRANT UPDATE ON SEQUENCE empleados_e_id_seq TO nobody;


--
-- Name: empresa; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE empresa FROM PUBLIC;
REVOKE ALL ON TABLE empresa FROM zona;
GRANT ALL ON TABLE empresa TO zona;
GRANT ALL ON TABLE empresa TO nobody;


--
-- Name: encuesta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE encuesta FROM PUBLIC;
REVOKE ALL ON TABLE encuesta FROM zona;
GRANT ALL ON TABLE encuesta TO zona;
GRANT ALL ON TABLE encuesta TO nobody;


--
-- Name: encuesta_e_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE encuesta_e_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE encuesta_e_id_seq FROM zona;
GRANT ALL ON SEQUENCE encuesta_e_id_seq TO zona;
GRANT UPDATE ON SEQUENCE encuesta_e_id_seq TO nobody;


--
-- Name: entidad; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE entidad FROM PUBLIC;
REVOKE ALL ON TABLE entidad FROM zona;
GRANT ALL ON TABLE entidad TO zona;
GRANT ALL ON TABLE entidad TO nobody;


--
-- Name: entidad_ent_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE entidad_ent_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE entidad_ent_id_seq FROM zona;
GRANT ALL ON SEQUENCE entidad_ent_id_seq TO zona;
GRANT UPDATE ON SEQUENCE entidad_ent_id_seq TO nobody;


--
-- Name: esclisp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE esclisp FROM PUBLIC;
REVOKE ALL ON TABLE esclisp FROM zona;
GRANT ALL ON TABLE esclisp TO zona;
GRANT ALL ON TABLE esclisp TO nobody;


--
-- Name: escvalcont; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE escvalcont FROM PUBLIC;
REVOKE ALL ON TABLE escvalcont FROM zona;
GRANT ALL ON TABLE escvalcont TO zona;
GRANT ALL ON TABLE escvalcont TO nobody;


--
-- Name: estaccid; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE estaccid FROM PUBLIC;
REVOKE ALL ON TABLE estaccid FROM zona;
GRANT ALL ON TABLE estaccid TO zona;
GRANT ALL ON TABLE estaccid TO nobody;


--
-- Name: estaccid_e_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE estaccid_e_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE estaccid_e_id_seq FROM zona;
GRANT ALL ON SEQUENCE estaccid_e_id_seq TO zona;
GRANT UPDATE ON SEQUENCE estaccid_e_id_seq TO nobody;


--
-- Name: estcivil; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE estcivil FROM PUBLIC;
REVOKE ALL ON TABLE estcivil FROM zona;
GRANT ALL ON TABLE estcivil TO zona;
GRANT ALL ON TABLE estcivil TO nobody;


--
-- Name: estcivil_ec_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE estcivil_ec_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE estcivil_ec_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE estcivil_ec_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE estcivil_ec_codigo_seq TO nobody;


--
-- Name: estiba; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE estiba FROM PUBLIC;
REVOKE ALL ON TABLE estiba FROM zona;
GRANT ALL ON TABLE estiba TO zona;
GRANT ALL ON TABLE estiba TO nobody;


--
-- Name: estiba_est_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE estiba_est_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE estiba_est_id_seq FROM zona;
GRANT ALL ON SEQUENCE estiba_est_id_seq TO zona;
GRANT UPDATE ON SEQUENCE estiba_est_id_seq TO nobody;


--
-- Name: estjurid; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE estjurid FROM PUBLIC;
REVOKE ALL ON TABLE estjurid FROM zona;
GRANT ALL ON TABLE estjurid TO zona;
GRANT ALL ON TABLE estjurid TO nobody;


--
-- Name: estjurid_ej_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE estjurid_ej_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE estjurid_ej_id_seq FROM zona;
GRANT ALL ON SEQUENCE estjurid_ej_id_seq TO zona;
GRANT UPDATE ON SEQUENCE estjurid_ej_id_seq TO nobody;


--
-- Name: estoper; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE estoper FROM PUBLIC;
REVOKE ALL ON TABLE estoper FROM zona;
GRANT ALL ON TABLE estoper TO zona;
GRANT ALL ON TABLE estoper TO nobody;


--
-- Name: estunif; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE estunif FROM PUBLIC;
REVOKE ALL ON TABLE estunif FROM zona;
GRANT ALL ON TABLE estunif TO zona;
GRANT ALL ON TABLE estunif TO nobody;


--
-- Name: estusu; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE estusu FROM PUBLIC;
REVOKE ALL ON TABLE estusu FROM zona;
GRANT ALL ON TABLE estusu TO zona;
GRANT ALL ON TABLE estusu TO nobody;


--
-- Name: evaluacion_eval_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE evaluacion_eval_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE evaluacion_eval_id_seq FROM zona;
GRANT ALL ON SEQUENCE evaluacion_eval_id_seq TO zona;
GRANT UPDATE ON SEQUENCE evaluacion_eval_id_seq TO nobody;


--
-- Name: evaluacion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE evaluacion FROM PUBLIC;
REVOKE ALL ON TABLE evaluacion FROM zona;
GRANT ALL ON TABLE evaluacion TO zona;
GRANT ALL ON TABLE evaluacion TO nobody;


--
-- Name: evalxprove_exp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE evalxprove_exp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE evalxprove_exp_id_seq FROM zona;
GRANT ALL ON SEQUENCE evalxprove_exp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE evalxprove_exp_id_seq TO nobody;


--
-- Name: evalxprove; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE evalxprove FROM PUBLIC;
REVOKE ALL ON TABLE evalxprove FROM zona;
GRANT ALL ON TABLE evalxprove TO zona;
GRANT ALL ON TABLE evalxprove TO nobody;


--
-- Name: eventos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE eventos FROM PUBLIC;
REVOKE ALL ON TABLE eventos FROM zona;
GRANT ALL ON TABLE eventos TO zona;
GRANT ALL ON TABLE eventos TO nobody;


--
-- Name: evindi; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE evindi FROM PUBLIC;
REVOKE ALL ON TABLE evindi FROM zona;
GRANT ALL ON TABLE evindi TO zona;
GRANT ALL ON TABLE evindi TO nobody;


--
-- Name: evxprov_evxp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE evxprov_evxp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE evxprov_evxp_id_seq FROM zona;
GRANT ALL ON SEQUENCE evxprov_evxp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE evxprov_evxp_id_seq TO nobody;


--
-- Name: evxprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE evxprov FROM PUBLIC;
REVOKE ALL ON TABLE evxprov FROM zona;
GRANT ALL ON TABLE evxprov TO zona;
GRANT ALL ON TABLE evxprov TO nobody;


--
-- Name: facturacion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE facturacion FROM PUBLIC;
REVOKE ALL ON TABLE facturacion FROM zona;
GRANT ALL ON TABLE facturacion TO zona;
GRANT ALL ON TABLE facturacion TO nobody;


--
-- Name: facturacion_fac_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE facturacion_fac_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE facturacion_fac_id_seq FROM zona;
GRANT ALL ON SEQUENCE facturacion_fac_id_seq TO zona;
GRANT UPDATE ON SEQUENCE facturacion_fac_id_seq TO nobody;


--
-- Name: fcxinv; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE fcxinv FROM PUBLIC;
REVOKE ALL ON TABLE fcxinv FROM zona;
GRANT ALL ON TABLE fcxinv TO zona;
GRANT ALL ON TABLE fcxinv TO nobody;


--
-- Name: fcxinv_fxi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE fcxinv_fxi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE fcxinv_fxi_id_seq FROM zona;
GRANT ALL ON SEQUENCE fcxinv_fxi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE fcxinv_fxi_id_seq TO nobody;


--
-- Name: feccontra; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE feccontra FROM PUBLIC;
REVOKE ALL ON TABLE feccontra FROM zona;
GRANT ALL ON TABLE feccontra TO zona;
GRANT ALL ON TABLE feccontra TO nobody;


--
-- Name: fecxcapac; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE fecxcapac FROM PUBLIC;
REVOKE ALL ON TABLE fecxcapac FROM zona;
GRANT ALL ON TABLE fecxcapac TO zona;
GRANT ALL ON TABLE fecxcapac TO nobody;


--
-- Name: fecxcapac_fc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE fecxcapac_fc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE fecxcapac_fc_id_seq FROM zona;
GRANT ALL ON SEQUENCE fecxcapac_fc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE fecxcapac_fc_id_seq TO nobody;


--
-- Name: fecxinictr; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE fecxinictr FROM PUBLIC;
REVOKE ALL ON TABLE fecxinictr FROM zona;
GRANT ALL ON TABLE fecxinictr TO zona;
GRANT ALL ON TABLE fecxinictr TO nobody;


--
-- Name: fecxinictr_fci_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE fecxinictr_fci_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE fecxinictr_fci_id_seq FROM zona;
GRANT ALL ON SEQUENCE fecxinictr_fci_id_seq TO zona;
GRANT UPDATE ON SEQUENCE fecxinictr_fci_id_seq TO nobody;


--
-- Name: feriados; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE feriados FROM PUBLIC;
REVOKE ALL ON TABLE feriados FROM zona;
GRANT ALL ON TABLE feriados TO zona;
GRANT ALL ON TABLE feriados TO nobody;


--
-- Name: feriados_f_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE feriados_f_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE feriados_f_id_seq FROM zona;
GRANT ALL ON SEQUENCE feriados_f_id_seq TO zona;
GRANT UPDATE ON SEQUENCE feriados_f_id_seq TO nobody;


--
-- Name: firman; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE firman FROM PUBLIC;
REVOKE ALL ON TABLE firman FROM zona;
GRANT ALL ON TABLE firman TO zona;
GRANT ALL ON TABLE firman TO nobody;


--
-- Name: firman_fir_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE firman_fir_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE firman_fir_id_seq FROM zona;
GRANT ALL ON SEQUENCE firman_fir_id_seq TO zona;
GRANT UPDATE ON SEQUENCE firman_fir_id_seq TO nobody;


--
-- Name: firmdedepto_fd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE firmdedepto_fd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE firmdedepto_fd_id_seq FROM zona;
GRANT ALL ON SEQUENCE firmdedepto_fd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE firmdedepto_fd_id_seq TO nobody;


--
-- Name: firmdedepto; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE firmdedepto FROM PUBLIC;
REVOKE ALL ON TABLE firmdedepto FROM zona;
GRANT ALL ON TABLE firmdedepto TO zona;
GRANT ALL ON TABLE firmdedepto TO nobody;


--
-- Name: firmxform_ff_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE firmxform_ff_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE firmxform_ff_id_seq FROM zona;
GRANT ALL ON SEQUENCE firmxform_ff_id_seq TO zona;
GRANT UPDATE ON SEQUENCE firmxform_ff_id_seq TO nobody;


--
-- Name: firmxform; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE firmxform FROM PUBLIC;
REVOKE ALL ON TABLE firmxform FROM zona;
GRANT ALL ON TABLE firmxform TO zona;
GRANT ALL ON TABLE firmxform TO nobody;


--
-- Name: foda; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE foda FROM PUBLIC;
REVOKE ALL ON TABLE foda FROM zona;
GRANT ALL ON TABLE foda TO zona;
GRANT ALL ON TABLE foda TO nobody;


--
-- Name: foda_f_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE foda_f_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE foda_f_id_seq FROM zona;
GRANT ALL ON SEQUENCE foda_f_id_seq TO zona;
GRANT UPDATE ON SEQUENCE foda_f_id_seq TO nobody;


--
-- Name: formulario_fm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE formulario_fm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE formulario_fm_id_seq FROM zona;
GRANT ALL ON SEQUENCE formulario_fm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE formulario_fm_id_seq TO nobody;


--
-- Name: formulario; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE formulario FROM PUBLIC;
REVOKE ALL ON TABLE formulario FROM zona;
GRANT ALL ON TABLE formulario TO zona;
GRANT ALL ON TABLE formulario TO nobody;


--
-- Name: fueros; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE fueros FROM PUBLIC;
REVOKE ALL ON TABLE fueros FROM zona;
GRANT ALL ON TABLE fueros TO zona;
GRANT ALL ON TABLE fueros TO nobody;


--
-- Name: fueros_f_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE fueros_f_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE fueros_f_id_seq FROM zona;
GRANT ALL ON SEQUENCE fueros_f_id_seq TO zona;
GRANT UPDATE ON SEQUENCE fueros_f_id_seq TO nobody;


--
-- Name: gente; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE gente FROM PUBLIC;
REVOKE ALL ON TABLE gente FROM zona;
GRANT ALL ON TABLE gente TO zona;
GRANT ALL ON TABLE gente TO nobody;


--
-- Name: gente_gte_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE gente_gte_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE gente_gte_id_seq FROM zona;
GRANT ALL ON SEQUENCE gente_gte_id_seq TO zona;
GRANT UPDATE ON SEQUENCE gente_gte_id_seq TO nobody;


--
-- Name: grupos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE grupos FROM PUBLIC;
REVOKE ALL ON TABLE grupos FROM zona;
GRANT ALL ON TABLE grupos TO zona;
GRANT ALL ON TABLE grupos TO nobody;


--
-- Name: grupos_gpo_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE grupos_gpo_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE grupos_gpo_id_seq FROM zona;
GRANT ALL ON SEQUENCE grupos_gpo_id_seq TO zona;
GRANT UPDATE ON SEQUENCE grupos_gpo_id_seq TO nobody;


--
-- Name: gtexcapac; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE gtexcapac FROM PUBLIC;
REVOKE ALL ON TABLE gtexcapac FROM zona;
GRANT ALL ON TABLE gtexcapac TO zona;
GRANT ALL ON TABLE gtexcapac TO nobody;


--
-- Name: gtexcapac_gc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE gtexcapac_gc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE gtexcapac_gc_id_seq FROM zona;
GRANT ALL ON SEQUENCE gtexcapac_gc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE gtexcapac_gc_id_seq TO nobody;


--
-- Name: hallazgos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE hallazgos FROM PUBLIC;
REVOKE ALL ON TABLE hallazgos FROM zona;
GRANT ALL ON TABLE hallazgos TO zona;
GRANT ALL ON TABLE hallazgos TO nobody;


--
-- Name: hallazgos_h_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE hallazgos_h_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE hallazgos_h_id_seq FROM zona;
GRANT ALL ON SEQUENCE hallazgos_h_id_seq TO zona;
GRANT UPDATE ON SEQUENCE hallazgos_h_id_seq TO nobody;


--
-- Name: hijcble; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE hijcble FROM PUBLIC;
REVOKE ALL ON TABLE hijcble FROM zona;
GRANT ALL ON TABLE hijcble TO zona;
GRANT ALL ON TABLE hijcble TO nobody;


--
-- Name: hijcble_hc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE hijcble_hc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE hijcble_hc_id_seq FROM zona;
GRANT ALL ON SEQUENCE hijcble_hc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE hijcble_hc_id_seq TO nobody;


--
-- Name: histarifas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE histarifas FROM PUBLIC;
REVOKE ALL ON TABLE histarifas FROM zona;
GRANT ALL ON TABLE histarifas TO zona;
GRANT ALL ON TABLE histarifas TO nobody;


--
-- Name: histcamb_hc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE histcamb_hc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE histcamb_hc_id_seq FROM zona;
GRANT ALL ON SEQUENCE histcamb_hc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE histcamb_hc_id_seq TO nobody;


--
-- Name: histcamb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE histcamb FROM PUBLIC;
REVOKE ALL ON TABLE histcamb FROM zona;
GRANT ALL ON TABLE histcamb TO zona;
GRANT ALL ON TABLE histcamb TO nobody;


--
-- Name: impresiones; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE impresiones FROM PUBLIC;
REVOKE ALL ON TABLE impresiones FROM zona;
GRANT ALL ON TABLE impresiones TO zona;
GRANT ALL ON TABLE impresiones TO nobody;


--
-- Name: indgestion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE indgestion FROM PUBLIC;
REVOKE ALL ON TABLE indgestion FROM zona;
GRANT ALL ON TABLE indgestion TO zona;
GRANT ALL ON TABLE indgestion TO nobody;


--
-- Name: indgestion_ind_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE indgestion_ind_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE indgestion_ind_id_seq FROM zona;
GRANT ALL ON SEQUENCE indgestion_ind_id_seq TO zona;
GRANT UPDATE ON SEQUENCE indgestion_ind_id_seq TO nobody;


--
-- Name: indicador; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE indicador FROM PUBLIC;
REVOKE ALL ON TABLE indicador FROM zona;
GRANT ALL ON TABLE indicador TO zona;
GRANT ALL ON TABLE indicador TO nobody;


--
-- Name: indicador_ind_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE indicador_ind_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE indicador_ind_id_seq FROM zona;
GRANT ALL ON SEQUENCE indicador_ind_id_seq TO zona;
GRANT UPDATE ON SEQUENCE indicador_ind_id_seq TO nobody;


--
-- Name: indices; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE indices FROM PUBLIC;
REVOKE ALL ON TABLE indices FROM zona;
GRANT ALL ON TABLE indices TO zona;
GRANT ALL ON TABLE indices TO nobody;


--
-- Name: inflacion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE inflacion FROM PUBLIC;
REVOKE ALL ON TABLE inflacion FROM zona;
GRANT ALL ON TABLE inflacion TO zona;
GRANT ALL ON TABLE inflacion TO nobody;


--
-- Name: inflacion_inf_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inflacion_inf_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inflacion_inf_id_seq FROM zona;
GRANT ALL ON SEQUENCE inflacion_inf_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inflacion_inf_id_seq TO nobody;


--
-- Name: ingxl; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ingxl FROM PUBLIC;
REVOKE ALL ON TABLE ingxl FROM zona;
GRANT ALL ON TABLE ingxl TO zona;
GRANT ALL ON TABLE ingxl TO nobody;


--
-- Name: inhabilit; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE inhabilit FROM PUBLIC;
REVOKE ALL ON TABLE inhabilit FROM zona;
GRANT ALL ON TABLE inhabilit TO zona;
GRANT ALL ON TABLE inhabilit TO nobody;


--
-- Name: inhabilit_inh_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inhabilit_inh_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inhabilit_inh_id_seq FROM zona;
GRANT ALL ON SEQUENCE inhabilit_inh_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inhabilit_inh_id_seq TO nobody;


--
-- Name: inichk; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE inichk FROM PUBLIC;
REVOKE ALL ON TABLE inichk FROM zona;
GRANT ALL ON TABLE inichk TO zona;
GRANT ALL ON TABLE inichk TO nobody;


--
-- Name: inichk_ic_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inichk_ic_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inichk_ic_id_seq FROM zona;
GRANT ALL ON SEQUENCE inichk_ic_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inichk_ic_id_seq TO nobody;


--
-- Name: inicontr; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE inicontr FROM PUBLIC;
REVOKE ALL ON TABLE inicontr FROM zona;
GRANT ALL ON TABLE inicontr TO zona;
GRANT ALL ON TABLE inicontr TO nobody;


--
-- Name: inicontr_ini_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inicontr_ini_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inicontr_ini_id_seq FROM zona;
GRANT ALL ON SEQUENCE inicontr_ini_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inicontr_ini_id_seq TO nobody;


--
-- Name: inout; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE "inout" FROM PUBLIC;
REVOKE ALL ON TABLE "inout" FROM zona;
GRANT ALL ON TABLE "inout" TO zona;
GRANT ALL ON TABLE "inout" TO nobody;


--
-- Name: inout_io_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inout_io_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inout_io_id_seq FROM zona;
GRANT ALL ON SEQUENCE inout_io_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inout_io_id_seq TO nobody;


--
-- Name: inoutliv; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE inoutliv FROM PUBLIC;
REVOKE ALL ON TABLE inoutliv FROM zona;
GRANT ALL ON TABLE inoutliv TO zona;
GRANT ALL ON TABLE inoutliv TO nobody;


--
-- Name: inoutliv_iol_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inoutliv_iol_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inoutliv_iol_id_seq FROM zona;
GRANT ALL ON SEQUENCE inoutliv_iol_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inoutliv_iol_id_seq TO nobody;


--
-- Name: instrumentos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE instrumentos FROM PUBLIC;
REVOKE ALL ON TABLE instrumentos FROM zona;
GRANT ALL ON TABLE instrumentos TO zona;
GRANT ALL ON TABLE instrumentos TO nobody;


--
-- Name: instrumentos_i_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE instrumentos_i_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE instrumentos_i_id_seq FROM zona;
GRANT ALL ON SEQUENCE instrumentos_i_id_seq TO zona;
GRANT UPDATE ON SEQUENCE instrumentos_i_id_seq TO nobody;


--
-- Name: integrsoc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE integrsoc FROM PUBLIC;
REVOKE ALL ON TABLE integrsoc FROM zona;
GRANT ALL ON TABLE integrsoc TO zona;
GRANT ALL ON TABLE integrsoc TO nobody;


--
-- Name: integrsoc_is_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE integrsoc_is_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE integrsoc_is_id_seq FROM zona;
GRANT ALL ON SEQUENCE integrsoc_is_id_seq TO zona;
GRANT UPDATE ON SEQUENCE integrsoc_is_id_seq TO nobody;


--
-- Name: interes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE interes FROM PUBLIC;
REVOKE ALL ON TABLE interes FROM zona;
GRANT ALL ON TABLE interes TO zona;
GRANT ALL ON TABLE interes TO nobody;


--
-- Name: intotal; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE intotal FROM PUBLIC;
REVOKE ALL ON TABLE intotal FROM zona;
GRANT ALL ON TABLE intotal TO zona;
GRANT ALL ON TABLE intotal TO nobody;


--
-- Name: intotal_int_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE intotal_int_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE intotal_int_id_seq FROM zona;
GRANT ALL ON SEQUENCE intotal_int_id_seq TO zona;
GRANT UPDATE ON SEQUENCE intotal_int_id_seq TO nobody;


--
-- Name: inventario; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE inventario FROM PUBLIC;
REVOKE ALL ON TABLE inventario FROM zona;
GRANT ALL ON TABLE inventario TO zona;
GRANT ALL ON TABLE inventario TO nobody;


--
-- Name: inventario_inv_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inventario_inv_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inventario_inv_id_seq FROM zona;
GRANT ALL ON SEQUENCE inventario_inv_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inventario_inv_id_seq TO nobody;


--
-- Name: inversiones; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE inversiones FROM PUBLIC;
REVOKE ALL ON TABLE inversiones FROM zona;
GRANT ALL ON TABLE inversiones TO zona;
GRANT ALL ON TABLE inversiones TO nobody;


--
-- Name: inversiones_iv_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE inversiones_iv_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE inversiones_iv_id_seq FROM zona;
GRANT ALL ON SEQUENCE inversiones_iv_id_seq TO zona;
GRANT UPDATE ON SEQUENCE inversiones_iv_id_seq TO nobody;


--
-- Name: invsistemas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE invsistemas FROM PUBLIC;
REVOKE ALL ON TABLE invsistemas FROM zona;
GRANT ALL ON TABLE invsistemas TO zona;
GRANT ALL ON TABLE invsistemas TO nobody;


--
-- Name: invsistemas_is_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE invsistemas_is_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE invsistemas_is_id_seq FROM zona;
GRANT ALL ON SEQUENCE invsistemas_is_id_seq TO zona;
GRANT UPDATE ON SEQUENCE invsistemas_is_id_seq TO nobody;


--
-- Name: item; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE item FROM PUBLIC;
REVOKE ALL ON TABLE item FROM zona;
GRANT ALL ON TABLE item TO zona;
GRANT ALL ON TABLE item TO nobody;


--
-- Name: item_item_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE item_item_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE item_item_id_seq FROM zona;
GRANT ALL ON SEQUENCE item_item_id_seq TO zona;
GRANT UPDATE ON SEQUENCE item_item_id_seq TO nobody;


--
-- Name: itemcarga; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE itemcarga FROM PUBLIC;
REVOKE ALL ON TABLE itemcarga FROM zona;
GRANT ALL ON TABLE itemcarga TO zona;
GRANT ALL ON TABLE itemcarga TO nobody;


--
-- Name: itemcarga_ic_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE itemcarga_ic_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE itemcarga_ic_id_seq FROM zona;
GRANT ALL ON SEQUENCE itemcarga_ic_id_seq TO zona;
GRANT UPDATE ON SEQUENCE itemcarga_ic_id_seq TO nobody;


--
-- Name: itemencuesta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE itemencuesta FROM PUBLIC;
REVOKE ALL ON TABLE itemencuesta FROM zona;
GRANT ALL ON TABLE itemencuesta TO zona;
GRANT ALL ON TABLE itemencuesta TO nobody;


--
-- Name: itemencuesta_ie_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE itemencuesta_ie_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE itemencuesta_ie_id_seq FROM zona;
GRANT ALL ON SEQUENCE itemencuesta_ie_id_seq TO zona;
GRANT UPDATE ON SEQUENCE itemencuesta_ie_id_seq TO nobody;


--
-- Name: items; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE items FROM PUBLIC;
REVOKE ALL ON TABLE items FROM zona;
GRANT ALL ON TABLE items TO zona;
GRANT ALL ON TABLE items TO nobody;


--
-- Name: items_items_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE items_items_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE items_items_id_seq FROM zona;
GRANT ALL ON SEQUENCE items_items_id_seq TO zona;
GRANT UPDATE ON SEQUENCE items_items_id_seq TO nobody;


--
-- Name: itemstock; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE itemstock FROM PUBLIC;
REVOKE ALL ON TABLE itemstock FROM zona;
GRANT ALL ON TABLE itemstock TO zona;
GRANT ALL ON TABLE itemstock TO nobody;


--
-- Name: itemstock_is_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE itemstock_is_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE itemstock_is_id_seq FROM zona;
GRANT ALL ON SEQUENCE itemstock_is_id_seq TO zona;
GRANT UPDATE ON SEQUENCE itemstock_is_id_seq TO nobody;


--
-- Name: juicios; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE juicios FROM PUBLIC;
REVOKE ALL ON TABLE juicios FROM zona;
GRANT ALL ON TABLE juicios TO zona;
GRANT ALL ON TABLE juicios TO nobody;


--
-- Name: juicios_j_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE juicios_j_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE juicios_j_id_seq FROM zona;
GRANT ALL ON SEQUENCE juicios_j_id_seq TO zona;
GRANT UPDATE ON SEQUENCE juicios_j_id_seq TO nobody;


--
-- Name: juzgados; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE juzgados FROM PUBLIC;
REVOKE ALL ON TABLE juzgados FROM zona;
GRANT ALL ON TABLE juzgados TO zona;
GRANT ALL ON TABLE juzgados TO nobody;


--
-- Name: juzgados_j_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE juzgados_j_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE juzgados_j_id_seq FROM zona;
GRANT ALL ON SEQUENCE juzgados_j_id_seq TO zona;
GRANT UPDATE ON SEQUENCE juzgados_j_id_seq TO nobody;


--
-- Name: juzgprov_jp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE juzgprov_jp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE juzgprov_jp_id_seq FROM zona;
GRANT ALL ON SEQUENCE juzgprov_jp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE juzgprov_jp_id_seq TO nobody;


--
-- Name: juzgprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE juzgprov FROM PUBLIC;
REVOKE ALL ON TABLE juzgprov FROM zona;
GRANT ALL ON TABLE juzgprov TO zona;
GRANT ALL ON TABLE juzgprov TO nobody;


--
-- Name: lecting; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE lecting FROM PUBLIC;
REVOKE ALL ON TABLE lecting FROM zona;
GRANT ALL ON TABLE lecting TO zona;
GRANT ALL ON TABLE lecting TO nobody;


--
-- Name: lecting_fallas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE lecting_fallas FROM PUBLIC;
REVOKE ALL ON TABLE lecting_fallas FROM zona;
GRANT ALL ON TABLE lecting_fallas TO zona;
GRANT ALL ON TABLE lecting_fallas TO nobody;


--
-- Name: lecting_fallas_let_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE lecting_fallas_let_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE lecting_fallas_let_id_seq FROM zona;
GRANT ALL ON SEQUENCE lecting_fallas_let_id_seq TO zona;
GRANT UPDATE ON SEQUENCE lecting_fallas_let_id_seq TO nobody;


--
-- Name: lecting_let_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE lecting_let_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE lecting_let_id_seq FROM zona;
GRANT ALL ON SEQUENCE lecting_let_id_seq TO zona;
GRANT UPDATE ON SEQUENCE lecting_let_id_seq TO nobody;


--
-- Name: leyenrexp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE leyenrexp FROM PUBLIC;
REVOKE ALL ON TABLE leyenrexp FROM zona;
GRANT ALL ON TABLE leyenrexp TO zona;
GRANT ALL ON TABLE leyenrexp TO nobody;


--
-- Name: leyenrexp_leyr_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE leyenrexp_leyr_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE leyenrexp_leyr_id_seq FROM zona;
GRANT ALL ON SEQUENCE leyenrexp_leyr_id_seq TO zona;
GRANT UPDATE ON SEQUENCE leyenrexp_leyr_id_seq TO nobody;


--
-- Name: limpbal; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE limpbal FROM PUBLIC;
REVOKE ALL ON TABLE limpbal FROM zona;
GRANT ALL ON TABLE limpbal TO zona;
GRANT ALL ON TABLE limpbal TO nobody;


--
-- Name: limpbal_lb_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE limpbal_lb_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE limpbal_lb_id_seq FROM zona;
GRANT ALL ON SEQUENCE limpbal_lb_id_seq TO zona;
GRANT UPDATE ON SEQUENCE limpbal_lb_id_seq TO nobody;


--
-- Name: listpre; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE listpre FROM PUBLIC;
REVOKE ALL ON TABLE listpre FROM zona;
GRANT ALL ON TABLE listpre TO zona;
GRANT ALL ON TABLE listpre TO nobody;


--
-- Name: listpre_ltp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE listpre_ltp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE listpre_ltp_id_seq FROM zona;
GRANT ALL ON SEQUENCE listpre_ltp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE listpre_ltp_id_seq TO nobody;


--
-- Name: livianos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE livianos FROM PUBLIC;
REVOKE ALL ON TABLE livianos FROM zona;
GRANT ALL ON TABLE livianos TO zona;
GRANT ALL ON TABLE livianos TO nobody;


--
-- Name: livianos_lv_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE livianos_lv_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE livianos_lv_id_seq FROM zona;
GRANT ALL ON SEQUENCE livianos_lv_id_seq TO zona;
GRANT UPDATE ON SEQUENCE livianos_lv_id_seq TO nobody;


--
-- Name: llamada_llam_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE llamada_llam_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE llamada_llam_id_seq FROM zona;
GRANT ALL ON SEQUENCE llamada_llam_id_seq TO zona;
GRANT UPDATE ON SEQUENCE llamada_llam_id_seq TO nobody;


--
-- Name: llamada; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE llamada FROM PUBLIC;
REVOKE ALL ON TABLE llamada FROM zona;
GRANT ALL ON TABLE llamada TO zona;
GRANT ALL ON TABLE llamada TO nobody;


--
-- Name: loginattempt; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE loginattempt FROM PUBLIC;
REVOKE ALL ON TABLE loginattempt FROM zona;
GRANT ALL ON TABLE loginattempt TO zona;
GRANT ALL ON TABLE loginattempt TO nobody;


--
-- Name: loginattempt_lg_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE loginattempt_lg_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE loginattempt_lg_id_seq FROM zona;
GRANT ALL ON SEQUENCE loginattempt_lg_id_seq TO zona;
GRANT UPDATE ON SEQUENCE loginattempt_lg_id_seq TO nobody;


--
-- Name: lotes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE lotes FROM PUBLIC;
REVOKE ALL ON TABLE lotes FROM zona;
GRANT ALL ON TABLE lotes TO zona;
GRANT ALL ON TABLE lotes TO nobody;


--
-- Name: lotes1; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE lotes1 FROM PUBLIC;
REVOKE ALL ON TABLE lotes1 FROM zona;
GRANT ALL ON TABLE lotes1 TO zona;
GRANT ALL ON TABLE lotes1 TO nobody;


--
-- Name: lotes1_lot1_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE lotes1_lot1_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE lotes1_lot1_id_seq FROM zona;
GRANT ALL ON SEQUENCE lotes1_lot1_id_seq TO zona;
GRANT UPDATE ON SEQUENCE lotes1_lot1_id_seq TO nobody;


--
-- Name: lotes_lot_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE lotes_lot_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE lotes_lot_id_seq FROM zona;
GRANT ALL ON SEQUENCE lotes_lot_id_seq TO zona;
GRANT UPDATE ON SEQUENCE lotes_lot_id_seq TO nobody;


--
-- Name: m_ctacte; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE m_ctacte FROM PUBLIC;
REVOKE ALL ON TABLE m_ctacte FROM zona;
GRANT ALL ON TABLE m_ctacte TO zona;
GRANT ALL ON TABLE m_ctacte TO nobody;


--
-- Name: m_difer; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE m_difer FROM PUBLIC;
REVOKE ALL ON TABLE m_difer FROM zona;
GRANT ALL ON TABLE m_difer TO zona;
GRANT ALL ON TABLE m_difer TO nobody;


--
-- Name: m_pctacte; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE m_pctacte FROM PUBLIC;
REVOKE ALL ON TABLE m_pctacte FROM zona;
GRANT ALL ON TABLE m_pctacte TO zona;
GRANT ALL ON TABLE m_pctacte TO nobody;


--
-- Name: manzana; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE manzana FROM PUBLIC;
REVOKE ALL ON TABLE manzana FROM zona;
GRANT ALL ON TABLE manzana TO zona;
GRANT ALL ON TABLE manzana TO nobody;


--
-- Name: marauto; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE marauto FROM PUBLIC;
REVOKE ALL ON TABLE marauto FROM zona;
GRANT ALL ON TABLE marauto TO zona;
GRANT ALL ON TABLE marauto TO nobody;


--
-- Name: marcont; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE marcont FROM PUBLIC;
REVOKE ALL ON TABLE marcont FROM zona;
GRANT ALL ON TABLE marcont TO zona;
GRANT ALL ON TABLE marcont TO nobody;


--
-- Name: marcont_marc_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE marcont_marc_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE marcont_marc_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE marcont_marc_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE marcont_marc_codigo_seq TO nobody;


--
-- Name: medinst; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE medinst FROM PUBLIC;
REVOKE ALL ON TABLE medinst FROM zona;
GRANT ALL ON TABLE medinst TO zona;
GRANT ALL ON TABLE medinst TO nobody;


--
-- Name: medinst_mi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE medinst_mi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE medinst_mi_id_seq FROM zona;
GRANT ALL ON SEQUENCE medinst_mi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE medinst_mi_id_seq TO nobody;


--
-- Name: medpag; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE medpag FROM PUBLIC;
REVOKE ALL ON TABLE medpag FROM zona;
GRANT ALL ON TABLE medpag TO zona;
GRANT ALL ON TABLE medpag TO nobody;


--
-- Name: medpagprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE medpagprov FROM PUBLIC;
REVOKE ALL ON TABLE medpagprov FROM zona;
GRANT ALL ON TABLE medpagprov TO zona;
GRANT ALL ON TABLE medpagprov TO nobody;


--
-- Name: medpagprov_mp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE medpagprov_mp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE medpagprov_mp_id_seq FROM zona;
GRANT ALL ON SEQUENCE medpagprov_mp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE medpagprov_mp_id_seq TO nobody;


--
-- Name: menues; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE menues FROM PUBLIC;
REVOKE ALL ON TABLE menues FROM zona;
GRANT ALL ON TABLE menues TO zona;
GRANT ALL ON TABLE menues TO nobody;


--
-- Name: menues_men_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE menues_men_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE menues_men_id_seq FROM zona;
GRANT ALL ON SEQUENCE menues_men_id_seq TO zona;
GRANT UPDATE ON SEQUENCE menues_men_id_seq TO nobody;


--
-- Name: mercaestad; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE mercaestad FROM PUBLIC;
REVOKE ALL ON TABLE mercaestad FROM zona;
GRANT ALL ON TABLE mercaestad TO zona;
GRANT ALL ON TABLE mercaestad TO nobody;


--
-- Name: meses; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE meses FROM PUBLIC;
REVOKE ALL ON TABLE meses FROM zona;
GRANT ALL ON TABLE meses TO zona;
GRANT ALL ON TABLE meses TO nobody;


--
-- Name: meses_m_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE meses_m_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE meses_m_id_seq FROM zona;
GRANT ALL ON SEQUENCE meses_m_id_seq TO zona;
GRANT UPDATE ON SEQUENCE meses_m_id_seq TO nobody;


--
-- Name: minutareunion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE minutareunion FROM PUBLIC;
REVOKE ALL ON TABLE minutareunion FROM zona;
GRANT ALL ON TABLE minutareunion TO zona;
GRANT ALL ON TABLE minutareunion TO nobody;


--
-- Name: minutareunion_m_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE minutareunion_m_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE minutareunion_m_id_seq FROM zona;
GRANT ALL ON SEQUENCE minutareunion_m_id_seq TO zona;
GRANT UPDATE ON SEQUENCE minutareunion_m_id_seq TO nobody;


--
-- Name: modauto; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE modauto FROM PUBLIC;
REVOKE ALL ON TABLE modauto FROM zona;
GRANT ALL ON TABLE modauto TO zona;
GRANT ALL ON TABLE modauto TO nobody;


--
-- Name: modauto_mod_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE modauto_mod_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE modauto_mod_id_seq FROM zona;
GRANT ALL ON SEQUENCE modauto_mod_id_seq TO zona;
GRANT UPDATE ON SEQUENCE modauto_mod_id_seq TO nobody;


--
-- Name: modlogs; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE modlogs FROM PUBLIC;
REVOKE ALL ON TABLE modlogs FROM zona;
GRANT ALL ON TABLE modlogs TO zona;
GRANT ALL ON TABLE modlogs TO nobody;


--
-- Name: modlogs_log_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE modlogs_log_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE modlogs_log_id_seq FROM zona;
GRANT ALL ON SEQUENCE modlogs_log_id_seq TO zona;
GRANT UPDATE ON SEQUENCE modlogs_log_id_seq TO nobody;


--
-- Name: modopub; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE modopub FROM PUBLIC;
REVOKE ALL ON TABLE modopub FROM zona;
GRANT ALL ON TABLE modopub TO zona;
GRANT ALL ON TABLE modopub TO nobody;


--
-- Name: modopub_mod_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE modopub_mod_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE modopub_mod_id_seq FROM zona;
GRANT ALL ON SEQUENCE modopub_mod_id_seq TO zona;
GRANT UPDATE ON SEQUENCE modopub_mod_id_seq TO nobody;


--
-- Name: modsgc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE modsgc FROM PUBLIC;
REVOKE ALL ON TABLE modsgc FROM zona;
GRANT ALL ON TABLE modsgc TO zona;
GRANT ALL ON TABLE modsgc TO nobody;


--
-- Name: moneda; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE moneda FROM PUBLIC;
REVOKE ALL ON TABLE moneda FROM zona;
GRANT ALL ON TABLE moneda TO zona;
GRANT ALL ON TABLE moneda TO nobody;


--
-- Name: monex; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE monex FROM PUBLIC;
REVOKE ALL ON TABLE monex FROM zona;
GRANT ALL ON TABLE monex TO zona;
GRANT ALL ON TABLE monex TO nobody;


--
-- Name: monex_mne_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE monex_mne_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE monex_mne_id_seq FROM zona;
GRANT ALL ON SEQUENCE monex_mne_id_seq TO zona;
GRANT UPDATE ON SEQUENCE monex_mne_id_seq TO nobody;


--
-- Name: movssgc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE movssgc FROM PUBLIC;
REVOKE ALL ON TABLE movssgc FROM zona;
GRANT ALL ON TABLE movssgc TO zona;
GRANT ALL ON TABLE movssgc TO nobody;


--
-- Name: movssgc_ms_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE movssgc_ms_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE movssgc_ms_id_seq FROM zona;
GRANT ALL ON SEQUENCE movssgc_ms_id_seq TO zona;
GRANT UPDATE ON SEQUENCE movssgc_ms_id_seq TO nobody;


--
-- Name: movsto; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE movsto FROM PUBLIC;
REVOKE ALL ON TABLE movsto FROM zona;
GRANT ALL ON TABLE movsto TO zona;
GRANT ALL ON TABLE movsto TO nobody;


--
-- Name: movsto_movs_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE movsto_movs_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE movsto_movs_id_seq FROM zona;
GRANT ALL ON SEQUENCE movsto_movs_id_seq TO zona;
GRANT UPDATE ON SEQUENCE movsto_movs_id_seq TO nobody;


--
-- Name: movstoc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE movstoc FROM PUBLIC;
REVOKE ALL ON TABLE movstoc FROM zona;
GRANT ALL ON TABLE movstoc TO zona;
GRANT ALL ON TABLE movstoc TO nobody;


--
-- Name: movstoc_movc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE movstoc_movc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE movstoc_movc_id_seq FROM zona;
GRANT ALL ON SEQUENCE movstoc_movc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE movstoc_movc_id_seq TO nobody;


--
-- Name: mpxprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE mpxprov FROM PUBLIC;
REVOKE ALL ON TABLE mpxprov FROM zona;
GRANT ALL ON TABLE mpxprov TO zona;
GRANT ALL ON TABLE mpxprov TO nobody;


--
-- Name: notdeb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE notdeb FROM PUBLIC;
REVOKE ALL ON TABLE notdeb FROM zona;
GRANT ALL ON TABLE notdeb TO zona;
GRANT ALL ON TABLE notdeb TO nobody;


--
-- Name: notdeb_nd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE notdeb_nd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE notdeb_nd_id_seq FROM zona;
GRANT ALL ON SEQUENCE notdeb_nd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE notdeb_nd_id_seq TO nobody;


--
-- Name: noticias; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE noticias FROM PUBLIC;
REVOKE ALL ON TABLE noticias FROM zona;
GRANT ALL ON TABLE noticias TO zona;
GRANT ALL ON TABLE noticias TO nobody;


--
-- Name: noticias_not_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE noticias_not_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE noticias_not_id_seq FROM zona;
GRANT ALL ON SEQUENCE noticias_not_id_seq TO zona;
GRANT UPDATE ON SEQUENCE noticias_not_id_seq TO nobody;


--
-- Name: notifdpzf; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE notifdpzf FROM PUBLIC;
REVOKE ALL ON TABLE notifdpzf FROM zona;
GRANT ALL ON TABLE notifdpzf TO zona;
GRANT ALL ON TABLE notifdpzf TO nobody;


--
-- Name: notifdpzf_nd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE notifdpzf_nd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE notifdpzf_nd_id_seq FROM zona;
GRANT ALL ON SEQUENCE notifdpzf_nd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE notifdpzf_nd_id_seq TO nobody;


--
-- Name: notresp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE notresp FROM PUBLIC;
REVOKE ALL ON TABLE notresp FROM zona;
GRANT ALL ON TABLE notresp TO zona;
GRANT ALL ON TABLE notresp TO nobody;


--
-- Name: notresp_nr_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE notresp_nr_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE notresp_nr_id_seq FROM zona;
GRANT ALL ON SEQUENCE notresp_nr_id_seq TO zona;
GRANT UPDATE ON SEQUENCE notresp_nr_id_seq TO nobody;


--
-- Name: novemple; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE novemple FROM PUBLIC;
REVOKE ALL ON TABLE novemple FROM zona;
GRANT ALL ON TABLE novemple TO zona;
GRANT ALL ON TABLE novemple TO nobody;


--
-- Name: novemple_nv_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE novemple_nv_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE novemple_nv_id_seq FROM zona;
GRANT ALL ON SEQUENCE novemple_nv_id_seq TO zona;
GRANT UPDATE ON SEQUENCE novemple_nv_id_seq TO nobody;


--
-- Name: novfact; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE novfact FROM PUBLIC;
REVOKE ALL ON TABLE novfact FROM zona;
GRANT ALL ON TABLE novfact TO zona;
GRANT ALL ON TABLE novfact TO nobody;


--
-- Name: novfact_nf_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE novfact_nf_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE novfact_nf_id_seq FROM zona;
GRANT ALL ON SEQUENCE novfact_nf_id_seq TO zona;
GRANT UPDATE ON SEQUENCE novfact_nf_id_seq TO nobody;


--
-- Name: objcalidad; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE objcalidad FROM PUBLIC;
REVOKE ALL ON TABLE objcalidad FROM zona;
GRANT ALL ON TABLE objcalidad TO zona;
GRANT ALL ON TABLE objcalidad TO nobody;


--
-- Name: objcalidad_o_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE objcalidad_o_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE objcalidad_o_id_seq FROM zona;
GRANT ALL ON SEQUENCE objcalidad_o_id_seq TO zona;
GRANT UPDATE ON SEQUENCE objcalidad_o_id_seq TO nobody;


--
-- Name: objecion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE objecion FROM PUBLIC;
REVOKE ALL ON TABLE objecion FROM zona;
GRANT ALL ON TABLE objecion TO zona;
GRANT ALL ON TABLE objecion TO nobody;


--
-- Name: objecion_obj_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE objecion_obj_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE objecion_obj_id_seq FROM zona;
GRANT ALL ON SEQUENCE objecion_obj_id_seq TO zona;
GRANT UPDATE ON SEQUENCE objecion_obj_id_seq TO nobody;


--
-- Name: objxacc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE objxacc FROM PUBLIC;
REVOKE ALL ON TABLE objxacc FROM zona;
GRANT ALL ON TABLE objxacc TO zona;
GRANT ALL ON TABLE objxacc TO nobody;


--
-- Name: objxacc_oa_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE objxacc_oa_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE objxacc_oa_id_seq FROM zona;
GRANT ALL ON SEQUENCE objxacc_oa_id_seq TO zona;
GRANT UPDATE ON SEQUENCE objxacc_oa_id_seq TO nobody;


--
-- Name: objxplan; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE objxplan FROM PUBLIC;
REVOKE ALL ON TABLE objxplan FROM zona;
GRANT ALL ON TABLE objxplan TO zona;
GRANT ALL ON TABLE objxplan TO nobody;


--
-- Name: objxplan_obj_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE objxplan_obj_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE objxplan_obj_id_seq FROM zona;
GRANT ALL ON SEQUENCE objxplan_obj_id_seq TO zona;
GRANT UPDATE ON SEQUENCE objxplan_obj_id_seq TO nobody;


--
-- Name: obsencuesta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE obsencuesta FROM PUBLIC;
REVOKE ALL ON TABLE obsencuesta FROM zona;
GRANT ALL ON TABLE obsencuesta TO zona;
GRANT ALL ON TABLE obsencuesta TO nobody;


--
-- Name: obsencuesta_oe_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE obsencuesta_oe_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE obsencuesta_oe_id_seq FROM zona;
GRANT ALL ON SEQUENCE obsencuesta_oe_id_seq TO zona;
GRANT UPDATE ON SEQUENCE obsencuesta_oe_id_seq TO nobody;


--
-- Name: obsindic_obi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE obsindic_obi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE obsindic_obi_id_seq FROM zona;
GRANT ALL ON SEQUENCE obsindic_obi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE obsindic_obi_id_seq TO nobody;


--
-- Name: obsindic; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE obsindic FROM PUBLIC;
REVOKE ALL ON TABLE obsindic FROM zona;
GRANT ALL ON TABLE obsindic TO zona;
GRANT ALL ON TABLE obsindic TO nobody;


--
-- Name: ocb_ocb_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ocb_ocb_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ocb_ocb_id_seq FROM zona;
GRANT ALL ON SEQUENCE ocb_ocb_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ocb_ocb_id_seq TO nobody;


--
-- Name: ocb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ocb FROM PUBLIC;
REVOKE ALL ON TABLE ocb FROM zona;
GRANT ALL ON TABLE ocb TO zona;
GRANT ALL ON TABLE ocb TO nobody;


--
-- Name: och_och_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE och_och_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE och_och_id_seq FROM zona;
GRANT ALL ON SEQUENCE och_och_id_seq TO zona;
GRANT UPDATE ON SEQUENCE och_och_id_seq TO nobody;


--
-- Name: och; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE och FROM PUBLIC;
REVOKE ALL ON TABLE och FROM zona;
GRANT ALL ON TABLE och TO zona;
GRANT ALL ON TABLE och TO nobody;


--
-- Name: opcioncategoria_opc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE opcioncategoria_opc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE opcioncategoria_opc_id_seq FROM zona;
GRANT ALL ON SEQUENCE opcioncategoria_opc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE opcioncategoria_opc_id_seq TO nobody;


--
-- Name: opcioncategoria; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE opcioncategoria FROM PUBLIC;
REVOKE ALL ON TABLE opcioncategoria FROM zona;
GRANT ALL ON TABLE opcioncategoria TO zona;
GRANT ALL ON TABLE opcioncategoria TO nobody;


--
-- Name: operaciones; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE operaciones FROM PUBLIC;
REVOKE ALL ON TABLE operaciones FROM zona;
GRANT ALL ON TABLE operaciones TO zona;
GRANT ALL ON TABLE operaciones TO nobody;


--
-- Name: operaciones_op_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE operaciones_op_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE operaciones_op_id_seq FROM zona;
GRANT ALL ON SEQUENCE operaciones_op_id_seq TO zona;
GRANT UPDATE ON SEQUENCE operaciones_op_id_seq TO nobody;


--
-- Name: operadores; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE operadores FROM PUBLIC;
REVOKE ALL ON TABLE operadores FROM zona;
GRANT ALL ON TABLE operadores TO zona;
GRANT ALL ON TABLE operadores TO nobody;


--
-- Name: operadores_operad_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE operadores_operad_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE operadores_operad_id_seq FROM zona;
GRANT ALL ON SEQUENCE operadores_operad_id_seq TO zona;
GRANT UPDATE ON SEQUENCE operadores_operad_id_seq TO nobody;


--
-- Name: operest; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE operest FROM PUBLIC;
REVOKE ALL ON TABLE operest FROM zona;
GRANT ALL ON TABLE operest TO zona;
GRANT ALL ON TABLE operest TO nobody;


--
-- Name: opervehi; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE opervehi FROM PUBLIC;
REVOKE ALL ON TABLE opervehi FROM zona;
GRANT ALL ON TABLE opervehi TO zona;
GRANT ALL ON TABLE opervehi TO nobody;


--
-- Name: opervehi_opv_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE opervehi_opv_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE opervehi_opv_id_seq FROM zona;
GRANT ALL ON SEQUENCE opervehi_opv_id_seq TO zona;
GRANT UPDATE ON SEQUENCE opervehi_opv_id_seq TO nobody;


--
-- Name: ordenpag; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ordenpag FROM PUBLIC;
REVOKE ALL ON TABLE ordenpag FROM zona;
GRANT ALL ON TABLE ordenpag TO zona;
GRANT ALL ON TABLE ordenpag TO nobody;


--
-- Name: outgxl; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE outgxl FROM PUBLIC;
REVOKE ALL ON TABLE outgxl FROM zona;
GRANT ALL ON TABLE outgxl TO zona;
GRANT ALL ON TABLE outgxl TO nobody;


--
-- Name: paccb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE paccb FROM PUBLIC;
REVOKE ALL ON TABLE paccb FROM zona;
GRANT ALL ON TABLE paccb TO zona;
GRANT ALL ON TABLE paccb TO nobody;


--
-- Name: paccb_pab_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE paccb_pab_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE paccb_pab_id_seq FROM zona;
GRANT ALL ON SEQUENCE paccb_pab_id_seq TO zona;
GRANT UPDATE ON SEQUENCE paccb_pab_id_seq TO nobody;


--
-- Name: pacch; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE pacch FROM PUBLIC;
REVOKE ALL ON TABLE pacch FROM zona;
GRANT ALL ON TABLE pacch TO zona;
GRANT ALL ON TABLE pacch TO nobody;


--
-- Name: pacch_pah_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE pacch_pah_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE pacch_pah_id_seq FROM zona;
GRANT ALL ON SEQUENCE pacch_pah_id_seq TO zona;
GRANT UPDATE ON SEQUENCE pacch_pah_id_seq TO nobody;


--
-- Name: padcble; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE padcble FROM PUBLIC;
REVOKE ALL ON TABLE padcble FROM zona;
GRANT ALL ON TABLE padcble TO zona;
GRANT ALL ON TABLE padcble TO nobody;


--
-- Name: padcble_pc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE padcble_pc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE padcble_pc_id_seq FROM zona;
GRANT ALL ON SEQUENCE padcble_pc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE padcble_pc_id_seq TO nobody;


--
-- Name: pagooc_po_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE pagooc_po_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE pagooc_po_id_seq FROM zona;
GRANT ALL ON SEQUENCE pagooc_po_id_seq TO zona;
GRANT UPDATE ON SEQUENCE pagooc_po_id_seq TO nobody;


--
-- Name: pagooc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE pagooc FROM PUBLIC;
REVOKE ALL ON TABLE pagooc FROM zona;
GRANT ALL ON TABLE pagooc TO zona;
GRANT ALL ON TABLE pagooc TO nobody;


--
-- Name: pais; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE pais FROM PUBLIC;
REVOKE ALL ON TABLE pais FROM zona;
GRANT ALL ON TABLE pais TO zona;
GRANT ALL ON TABLE pais TO nobody;


--
-- Name: partesinteresadas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE partesinteresadas FROM PUBLIC;
REVOKE ALL ON TABLE partesinteresadas FROM zona;
GRANT ALL ON TABLE partesinteresadas TO zona;
GRANT ALL ON TABLE partesinteresadas TO nobody;


--
-- Name: partesinteresadas_pi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE partesinteresadas_pi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE partesinteresadas_pi_id_seq FROM zona;
GRANT ALL ON SEQUENCE partesinteresadas_pi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE partesinteresadas_pi_id_seq TO nobody;


--
-- Name: participmr; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE participmr FROM PUBLIC;
REVOKE ALL ON TABLE participmr FROM zona;
GRANT ALL ON TABLE participmr TO zona;
GRANT ALL ON TABLE participmr TO nobody;


--
-- Name: participmr_pm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE participmr_pm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE participmr_pm_id_seq FROM zona;
GRANT ALL ON SEQUENCE participmr_pm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE participmr_pm_id_seq TO nobody;


--
-- Name: pasto; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE pasto FROM PUBLIC;
REVOKE ALL ON TABLE pasto FROM zona;
GRANT ALL ON TABLE pasto TO zona;
GRANT ALL ON TABLE pasto TO nobody;


--
-- Name: pasto_p_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE pasto_p_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE pasto_p_id_seq FROM zona;
GRANT ALL ON SEQUENCE pasto_p_id_seq TO zona;
GRANT UPDATE ON SEQUENCE pasto_p_id_seq TO nobody;


--
-- Name: pauditado; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE pauditado FROM PUBLIC;
REVOKE ALL ON TABLE pauditado FROM zona;
GRANT ALL ON TABLE pauditado TO zona;
GRANT ALL ON TABLE pauditado TO nobody;


--
-- Name: pauditado_p_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE pauditado_p_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE pauditado_p_id_seq FROM zona;
GRANT ALL ON SEQUENCE pauditado_p_id_seq TO zona;
GRANT UPDATE ON SEQUENCE pauditado_p_id_seq TO nobody;


--
-- Name: pdfcontratos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE pdfcontratos FROM PUBLIC;
REVOKE ALL ON TABLE pdfcontratos FROM zona;
GRANT ALL ON TABLE pdfcontratos TO zona;
GRANT ALL ON TABLE pdfcontratos TO nobody;


--
-- Name: pdfcontratos_pc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE pdfcontratos_pc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE pdfcontratos_pc_id_seq FROM zona;
GRANT ALL ON SEQUENCE pdfcontratos_pc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE pdfcontratos_pc_id_seq TO nobody;


--
-- Name: planauditoria; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE planauditoria FROM PUBLIC;
REVOKE ALL ON TABLE planauditoria FROM zona;
GRANT ALL ON TABLE planauditoria TO zona;
GRANT ALL ON TABLE planauditoria TO nobody;


--
-- Name: planauditoria_pa_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE planauditoria_pa_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE planauditoria_pa_id_seq FROM zona;
GRANT ALL ON SEQUENCE planauditoria_pa_id_seq TO zona;
GRANT UPDATE ON SEQUENCE planauditoria_pa_id_seq TO nobody;


--
-- Name: poderes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE poderes FROM PUBLIC;
REVOKE ALL ON TABLE poderes FROM zona;
GRANT ALL ON TABLE poderes TO zona;
GRANT ALL ON TABLE poderes TO nobody;


--
-- Name: poderes_p_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE poderes_p_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE poderes_p_id_seq FROM zona;
GRANT ALL ON SEQUENCE poderes_p_id_seq TO zona;
GRANT UPDATE ON SEQUENCE poderes_p_id_seq TO nobody;


--
-- Name: posaran; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE posaran FROM PUBLIC;
REVOKE ALL ON TABLE posaran FROM zona;
GRANT ALL ON TABLE posaran TO zona;
GRANT ALL ON TABLE posaran TO nobody;


--
-- Name: posarest; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE posarest FROM PUBLIC;
REVOKE ALL ON TABLE posarest FROM zona;
GRANT ALL ON TABLE posarest TO zona;
GRANT ALL ON TABLE posarest TO nobody;


--
-- Name: ppuestob; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ppuestob FROM PUBLIC;
REVOKE ALL ON TABLE ppuestob FROM zona;
GRANT ALL ON TABLE ppuestob TO zona;
GRANT ALL ON TABLE ppuestob TO nobody;


--
-- Name: ppuestob_pp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ppuestob_pp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ppuestob_pp_id_seq FROM zona;
GRANT ALL ON SEQUENCE ppuestob_pp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ppuestob_pp_id_seq TO nobody;


--
-- Name: ppuestoc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ppuestoc FROM PUBLIC;
REVOKE ALL ON TABLE ppuestoc FROM zona;
GRANT ALL ON TABLE ppuestoc TO zona;
GRANT ALL ON TABLE ppuestoc TO nobody;


--
-- Name: ppuestoc_pp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ppuestoc_pp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ppuestoc_pp_id_seq FROM zona;
GRANT ALL ON SEQUENCE ppuestoc_pp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ppuestoc_pp_id_seq TO nobody;


--
-- Name: presup; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE presup FROM PUBLIC;
REVOKE ALL ON TABLE presup FROM zona;
GRANT ALL ON TABLE presup TO zona;
GRANT ALL ON TABLE presup TO nobody;


--
-- Name: presup_p_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE presup_p_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE presup_p_id_seq FROM zona;
GRANT ALL ON SEQUENCE presup_p_id_seq TO zona;
GRANT UPDATE ON SEQUENCE presup_p_id_seq TO nobody;


--
-- Name: problimp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE problimp FROM PUBLIC;
REVOKE ALL ON TABLE problimp FROM zona;
GRANT ALL ON TABLE problimp TO zona;
GRANT ALL ON TABLE problimp TO nobody;


--
-- Name: problimp_pim_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE problimp_pim_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE problimp_pim_id_seq FROM zona;
GRANT ALL ON SEQUENCE problimp_pim_id_seq TO zona;
GRANT UPDATE ON SEQUENCE problimp_pim_id_seq TO nobody;


--
-- Name: proceso_ps_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE proceso_ps_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE proceso_ps_id_seq FROM zona;
GRANT ALL ON SEQUENCE proceso_ps_id_seq TO zona;
GRANT UPDATE ON SEQUENCE proceso_ps_id_seq TO nobody;


--
-- Name: proceso; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE proceso FROM PUBLIC;
REVOKE ALL ON TABLE proceso FROM zona;
GRANT ALL ON TABLE proceso TO zona;
GRANT ALL ON TABLE proceso TO nobody;


--
-- Name: profxinv; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE profxinv FROM PUBLIC;
REVOKE ALL ON TABLE profxinv FROM zona;
GRANT ALL ON TABLE profxinv TO zona;
GRANT ALL ON TABLE profxinv TO nobody;


--
-- Name: profxinv_pxi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE profxinv_pxi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE profxinv_pxi_id_seq FROM zona;
GRANT ALL ON SEQUENCE profxinv_pxi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE profxinv_pxi_id_seq TO nobody;


--
-- Name: proganualsh; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE proganualsh FROM PUBLIC;
REVOKE ALL ON TABLE proganualsh FROM zona;
GRANT ALL ON TABLE proganualsh TO zona;
GRANT ALL ON TABLE proganualsh TO nobody;


--
-- Name: proganualsh_pa_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE proganualsh_pa_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE proganualsh_pa_id_seq FROM zona;
GRANT ALL ON SEQUENCE proganualsh_pa_id_seq TO zona;
GRANT UPDATE ON SEQUENCE proganualsh_pa_id_seq TO nobody;


--
-- Name: proginst; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE proginst FROM PUBLIC;
REVOKE ALL ON TABLE proginst FROM zona;
GRANT ALL ON TABLE proginst TO zona;
GRANT ALL ON TABLE proginst TO nobody;


--
-- Name: proginst_p_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE proginst_p_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE proginst_p_id_seq FROM zona;
GRANT ALL ON SEQUENCE proginst_p_id_seq TO zona;
GRANT UPDATE ON SEQUENCE proginst_p_id_seq TO nobody;


--
-- Name: prove; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE prove FROM PUBLIC;
REVOKE ALL ON TABLE prove FROM zona;
GRANT ALL ON TABLE prove TO zona;
GRANT ALL ON TABLE prove TO nobody;


--
-- Name: prove_prov_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE prove_prov_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE prove_prov_id_seq FROM zona;
GRANT ALL ON SEQUENCE prove_prov_id_seq TO zona;
GRANT UPDATE ON SEQUENCE prove_prov_id_seq TO nobody;


--
-- Name: provin; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE provin FROM PUBLIC;
REVOKE ALL ON TABLE provin FROM zona;
GRANT ALL ON TABLE provin TO zona;
GRANT ALL ON TABLE provin TO nobody;


--
-- Name: provin_pro_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE provin_pro_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE provin_pro_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE provin_pro_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE provin_pro_codigo_seq TO nobody;


--
-- Name: proyecto; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE proyecto FROM PUBLIC;
REVOKE ALL ON TABLE proyecto FROM zona;
GRANT ALL ON TABLE proyecto TO zona;
GRANT ALL ON TABLE proyecto TO nobody;


--
-- Name: proyecto_p_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE proyecto_p_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE proyecto_p_id_seq FROM zona;
GRANT ALL ON SEQUENCE proyecto_p_id_seq TO zona;
GRANT UPDATE ON SEQUENCE proyecto_p_id_seq TO nobody;


--
-- Name: ptovta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ptovta FROM PUBLIC;
REVOKE ALL ON TABLE ptovta FROM zona;
GRANT ALL ON TABLE ptovta TO zona;
GRANT ALL ON TABLE ptovta TO nobody;


--
-- Name: ptovta_ptv_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ptovta_ptv_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ptovta_ptv_id_seq FROM zona;
GRANT ALL ON SEQUENCE ptovta_ptv_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ptovta_ptv_id_seq TO nobody;


--
-- Name: puertos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE puertos FROM PUBLIC;
REVOKE ALL ON TABLE puertos FROM zona;
GRANT ALL ON TABLE puertos TO zona;
GRANT ALL ON TABLE puertos TO nobody;


--
-- Name: pwdxoper; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE pwdxoper FROM PUBLIC;
REVOKE ALL ON TABLE pwdxoper FROM zona;
GRANT ALL ON TABLE pwdxoper TO zona;
GRANT ALL ON TABLE pwdxoper TO nobody;


--
-- Name: pwdxoper_pxo_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE pwdxoper_pxo_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE pwdxoper_pxo_id_seq FROM zona;
GRANT ALL ON SEQUENCE pwdxoper_pxo_id_seq TO zona;
GRANT UPDATE ON SEQUENCE pwdxoper_pxo_id_seq TO nobody;


--
-- Name: recepcionoch_rch_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE recepcionoch_rch_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE recepcionoch_rch_id_seq FROM zona;
GRANT ALL ON SEQUENCE recepcionoch_rch_id_seq TO zona;
GRANT UPDATE ON SEQUENCE recepcionoch_rch_id_seq TO nobody;


--
-- Name: recepcionoch; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE recepcionoch FROM PUBLIC;
REVOKE ALL ON TABLE recepcionoch FROM zona;
GRANT ALL ON TABLE recepcionoch TO zona;
GRANT ALL ON TABLE recepcionoch TO nobody;


--
-- Name: reclamos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE reclamos FROM PUBLIC;
REVOKE ALL ON TABLE reclamos FROM zona;
GRANT ALL ON TABLE reclamos TO zona;
GRANT ALL ON TABLE reclamos TO nobody;


--
-- Name: reclamos_r_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE reclamos_r_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE reclamos_r_id_seq FROM zona;
GRANT ALL ON SEQUENCE reclamos_r_id_seq TO zona;
GRANT UPDATE ON SEQUENCE reclamos_r_id_seq TO nobody;


--
-- Name: reclamosclientes; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE reclamosclientes FROM PUBLIC;
REVOKE ALL ON TABLE reclamosclientes FROM zona;
GRANT ALL ON TABLE reclamosclientes TO zona;
GRANT ALL ON TABLE reclamosclientes TO nobody;


--
-- Name: reclamosclientes_r_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE reclamosclientes_r_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE reclamosclientes_r_id_seq FROM zona;
GRANT ALL ON SEQUENCE reclamosclientes_r_id_seq TO zona;
GRANT UPDATE ON SEQUENCE reclamosclientes_r_id_seq TO nobody;


--
-- Name: reclped; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE reclped FROM PUBLIC;
REVOKE ALL ON TABLE reclped FROM zona;
GRANT ALL ON TABLE reclped TO zona;
GRANT ALL ON TABLE reclped TO nobody;


--
-- Name: reclped_r_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE reclped_r_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE reclped_r_id_seq FROM zona;
GRANT ALL ON SEQUENCE reclped_r_id_seq TO zona;
GRANT UPDATE ON SEQUENCE reclped_r_id_seq TO nobody;


--
-- Name: regcam; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE regcam FROM PUBLIC;
REVOKE ALL ON TABLE regcam FROM zona;
GRANT ALL ON TABLE regcam TO zona;
GRANT ALL ON TABLE regcam TO nobody;


--
-- Name: regcam_rg_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE regcam_rg_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE regcam_rg_id_seq FROM zona;
GRANT ALL ON SEQUENCE regcam_rg_id_seq TO zona;
GRANT UPDATE ON SEQUENCE regcam_rg_id_seq TO nobody;


--
-- Name: regdoc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE regdoc FROM PUBLIC;
REVOKE ALL ON TABLE regdoc FROM zona;
GRANT ALL ON TABLE regdoc TO zona;
GRANT ALL ON TABLE regdoc TO nobody;


--
-- Name: regdoc_rd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE regdoc_rd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE regdoc_rd_id_seq FROM zona;
GRANT ALL ON SEQUENCE regdoc_rd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE regdoc_rd_id_seq TO nobody;


--
-- Name: regfirma; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE regfirma FROM PUBLIC;
REVOKE ALL ON TABLE regfirma FROM zona;
GRANT ALL ON TABLE regfirma TO zona;
GRANT ALL ON TABLE regfirma TO nobody;


--
-- Name: regfirma_rf_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE regfirma_rf_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE regfirma_rf_id_seq FROM zona;
GRANT ALL ON SEQUENCE regfirma_rf_id_seq TO zona;
GRANT UPDATE ON SEQUENCE regfirma_rf_id_seq TO nobody;


--
-- Name: reginf; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE reginf FROM PUBLIC;
REVOKE ALL ON TABLE reginf FROM zona;
GRANT ALL ON TABLE reginf TO zona;
GRANT ALL ON TABLE reginf TO nobody;


--
-- Name: reginf_reg_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE reginf_reg_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE reginf_reg_id_seq FROM zona;
GRANT ALL ON SEQUENCE reginf_reg_id_seq TO zona;
GRANT UPDATE ON SEQUENCE reginf_reg_id_seq TO nobody;


--
-- Name: regmantenim; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE regmantenim FROM PUBLIC;
REVOKE ALL ON TABLE regmantenim FROM zona;
GRANT ALL ON TABLE regmantenim TO zona;
GRANT ALL ON TABLE regmantenim TO nobody;


--
-- Name: regmantenim_rm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE regmantenim_rm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE regmantenim_rm_id_seq FROM zona;
GRANT ALL ON SEQUENCE regmantenim_rm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE regmantenim_rm_id_seq TO nobody;


--
-- Name: regmoddom; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE regmoddom FROM PUBLIC;
REVOKE ALL ON TABLE regmoddom FROM zona;
GRANT ALL ON TABLE regmoddom TO zona;
GRANT ALL ON TABLE regmoddom TO nobody;


--
-- Name: regmoddom_rmd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE regmoddom_rmd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE regmoddom_rmd_id_seq FROM zona;
GRANT ALL ON SEQUENCE regmoddom_rmd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE regmoddom_rmd_id_seq TO nobody;


--
-- Name: relmenu; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE relmenu FROM PUBLIC;
REVOKE ALL ON TABLE relmenu FROM zona;
GRANT ALL ON TABLE relmenu TO zona;
GRANT ALL ON TABLE relmenu TO nobody;


--
-- Name: relmenu_rmen_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE relmenu_rmen_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE relmenu_rmen_id_seq FROM zona;
GRANT ALL ON SEQUENCE relmenu_rmen_id_seq TO zona;
GRANT UPDATE ON SEQUENCE relmenu_rmen_id_seq TO nobody;


--
-- Name: requeb_rb_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE requeb_rb_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE requeb_rb_id_seq FROM zona;
GRANT ALL ON SEQUENCE requeb_rb_id_seq TO zona;
GRANT UPDATE ON SEQUENCE requeb_rb_id_seq TO nobody;


--
-- Name: requeb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE requeb FROM PUBLIC;
REVOKE ALL ON TABLE requeb FROM zona;
GRANT ALL ON TABLE requeb TO zona;
GRANT ALL ON TABLE requeb TO nobody;


--
-- Name: requeh_rh_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE requeh_rh_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE requeh_rh_id_seq FROM zona;
GRANT ALL ON SEQUENCE requeh_rh_id_seq TO zona;
GRANT UPDATE ON SEQUENCE requeh_rh_id_seq TO nobody;


--
-- Name: requeh; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE requeh FROM PUBLIC;
REVOKE ALL ON TABLE requeh FROM zona;
GRANT ALL ON TABLE requeh TO zona;
GRANT ALL ON TABLE requeh TO nobody;


--
-- Name: respxacc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE respxacc FROM PUBLIC;
REVOKE ALL ON TABLE respxacc FROM zona;
GRANT ALL ON TABLE respxacc TO zona;
GRANT ALL ON TABLE respxacc TO nobody;


--
-- Name: respxacc_rxa_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE respxacc_rxa_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE respxacc_rxa_id_seq FROM zona;
GRANT ALL ON SEQUENCE respxacc_rxa_id_seq TO zona;
GRANT UPDATE ON SEQUENCE respxacc_rxa_id_seq TO nobody;


--
-- Name: resultencuesta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE resultencuesta FROM PUBLIC;
REVOKE ALL ON TABLE resultencuesta FROM zona;
GRANT ALL ON TABLE resultencuesta TO zona;
GRANT ALL ON TABLE resultencuesta TO nobody;


--
-- Name: resultencuesta_re_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE resultencuesta_re_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE resultencuesta_re_id_seq FROM zona;
GRANT ALL ON SEQUENCE resultencuesta_re_id_seq TO zona;
GRANT UPDATE ON SEQUENCE resultencuesta_re_id_seq TO nobody;


--
-- Name: retiros; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE retiros FROM PUBLIC;
REVOKE ALL ON TABLE retiros FROM zona;
GRANT ALL ON TABLE retiros TO zona;
GRANT ALL ON TABLE retiros TO nobody;


--
-- Name: retiros_ret_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE retiros_ret_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE retiros_ret_id_seq FROM zona;
GRANT ALL ON SEQUENCE retiros_ret_id_seq TO zona;
GRANT UPDATE ON SEQUENCE retiros_ret_id_seq TO nobody;


--
-- Name: retirosd; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE retirosd FROM PUBLIC;
REVOKE ALL ON TABLE retirosd FROM zona;
GRANT ALL ON TABLE retirosd TO zona;
GRANT ALL ON TABLE retirosd TO nobody;


--
-- Name: retirosd_retd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE retirosd_retd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE retirosd_retd_id_seq FROM zona;
GRANT ALL ON SEQUENCE retirosd_retd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE retirosd_retd_id_seq TO nobody;


--
-- Name: retstock; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE retstock FROM PUBLIC;
REVOKE ALL ON TABLE retstock FROM zona;
GRANT ALL ON TABLE retstock TO zona;
GRANT ALL ON TABLE retstock TO nobody;


--
-- Name: retstock_rstk_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE retstock_rstk_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE retstock_rstk_id_seq FROM zona;
GRANT ALL ON SEQUENCE retstock_rstk_id_seq TO zona;
GRANT UPDATE ON SEQUENCE retstock_rstk_id_seq TO nobody;


--
-- Name: retstock_rstk_idretd_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE retstock_rstk_idretd_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE retstock_rstk_idretd_seq FROM zona;
GRANT ALL ON SEQUENCE retstock_rstk_idretd_seq TO zona;
GRANT UPDATE ON SEQUENCE retstock_rstk_idretd_seq TO nobody;


--
-- Name: reventos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE reventos FROM PUBLIC;
REVOKE ALL ON TABLE reventos FROM zona;
GRANT ALL ON TABLE reventos TO zona;
GRANT ALL ON TABLE reventos TO nobody;


--
-- Name: reventos_re_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE reventos_re_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE reventos_re_id_seq FROM zona;
GRANT ALL ON SEQUENCE reventos_re_id_seq TO zona;
GRANT UPDATE ON SEQUENCE reventos_re_id_seq TO nobody;


--
-- Name: rezago; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rezago FROM PUBLIC;
REVOKE ALL ON TABLE rezago FROM zona;
GRANT ALL ON TABLE rezago TO zona;
GRANT ALL ON TABLE rezago TO nobody;


--
-- Name: rezago_rz_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE rezago_rz_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE rezago_rz_id_seq FROM zona;
GRANT ALL ON SEQUENCE rezago_rz_id_seq TO zona;
GRANT UPDATE ON SEQUENCE rezago_rz_id_seq TO nobody;


--
-- Name: rfirma; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rfirma FROM PUBLIC;
REVOKE ALL ON TABLE rfirma FROM zona;
GRANT ALL ON TABLE rfirma TO zona;
GRANT ALL ON TABLE rfirma TO nobody;


--
-- Name: rfirma_rf_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE rfirma_rf_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE rfirma_rf_id_seq FROM zona;
GRANT ALL ON SEQUENCE rfirma_rf_id_seq TO zona;
GRANT UPDATE ON SEQUENCE rfirma_rf_id_seq TO nobody;


--
-- Name: riesgos; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE riesgos FROM PUBLIC;
REVOKE ALL ON TABLE riesgos FROM zona;
GRANT ALL ON TABLE riesgos TO zona;
GRANT ALL ON TABLE riesgos TO nobody;


--
-- Name: riesgos_r_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE riesgos_r_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE riesgos_r_id_seq FROM zona;
GRANT ALL ON SEQUENCE riesgos_r_id_seq TO zona;
GRANT UPDATE ON SEQUENCE riesgos_r_id_seq TO nobody;


--
-- Name: rrhhforms; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rrhhforms FROM PUBLIC;
REVOKE ALL ON TABLE rrhhforms FROM zona;
GRANT ALL ON TABLE rrhhforms TO zona;
GRANT ALL ON TABLE rrhhforms TO nobody;


--
-- Name: rrhhforms_rh_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE rrhhforms_rh_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE rrhhforms_rh_id_seq FROM zona;
GRANT ALL ON SEQUENCE rrhhforms_rh_id_seq TO zona;
GRANT UPDATE ON SEQUENCE rrhhforms_rh_id_seq TO nobody;


--
-- Name: rubcomp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rubcomp FROM PUBLIC;
REVOKE ALL ON TABLE rubcomp FROM zona;
GRANT ALL ON TABLE rubcomp TO zona;
GRANT ALL ON TABLE rubcomp TO nobody;


--
-- Name: rubpersonal; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rubpersonal FROM PUBLIC;
REVOKE ALL ON TABLE rubpersonal FROM zona;
GRANT ALL ON TABLE rubpersonal TO zona;
GRANT ALL ON TABLE rubpersonal TO nobody;


--
-- Name: rubpersonal_rp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE rubpersonal_rp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE rubpersonal_rp_id_seq FROM zona;
GRANT ALL ON SEQUENCE rubpersonal_rp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE rubpersonal_rp_id_seq TO nobody;


--
-- Name: rubros; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rubros FROM PUBLIC;
REVOKE ALL ON TABLE rubros FROM zona;
GRANT ALL ON TABLE rubros TO zona;
GRANT ALL ON TABLE rubros TO nobody;


--
-- Name: rubros_rub_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE rubros_rub_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE rubros_rub_id_seq FROM zona;
GRANT ALL ON SEQUENCE rubros_rub_id_seq TO zona;
GRANT UPDATE ON SEQUENCE rubros_rub_id_seq TO nobody;


--
-- Name: rubxprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rubxprov FROM PUBLIC;
REVOKE ALL ON TABLE rubxprov FROM zona;
GRANT ALL ON TABLE rubxprov TO zona;
GRANT ALL ON TABLE rubxprov TO nobody;


--
-- Name: rxoc_rxoc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE rxoc_rxoc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE rxoc_rxoc_id_seq FROM zona;
GRANT ALL ON SEQUENCE rxoc_rxoc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE rxoc_rxoc_id_seq TO nobody;


--
-- Name: rxoc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE rxoc FROM PUBLIC;
REVOKE ALL ON TABLE rxoc FROM zona;
GRANT ALL ON TABLE rxoc TO zona;
GRANT ALL ON TABLE rxoc TO nobody;


--
-- Name: salidares; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE salidares FROM PUBLIC;
REVOKE ALL ON TABLE salidares FROM zona;
GRANT ALL ON TABLE salidares TO zona;
GRANT ALL ON TABLE salidares TO nobody;


--
-- Name: salidares_sr_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE salidares_sr_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE salidares_sr_id_seq FROM zona;
GRANT ALL ON SEQUENCE salidares_sr_id_seq TO zona;
GRANT UPDATE ON SEQUENCE salidares_sr_id_seq TO nobody;


--
-- Name: sauditado; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE sauditado FROM PUBLIC;
REVOKE ALL ON TABLE sauditado FROM zona;
GRANT ALL ON TABLE sauditado TO zona;
GRANT ALL ON TABLE sauditado TO nobody;


--
-- Name: sauditado_s_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE sauditado_s_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE sauditado_s_id_seq FROM zona;
GRANT ALL ON SEQUENCE sauditado_s_id_seq TO zona;
GRANT UPDATE ON SEQUENCE sauditado_s_id_seq TO nobody;


--
-- Name: scanfa; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE scanfa FROM PUBLIC;
REVOKE ALL ON TABLE scanfa FROM zona;
GRANT ALL ON TABLE scanfa TO zona;
GRANT ALL ON TABLE scanfa TO nobody;


--
-- Name: seccion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE seccion FROM PUBLIC;
REVOKE ALL ON TABLE seccion FROM zona;
GRANT ALL ON TABLE seccion TO zona;
GRANT ALL ON TABLE seccion TO nobody;


--
-- Name: seguros; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE seguros FROM PUBLIC;
REVOKE ALL ON TABLE seguros FROM zona;
GRANT ALL ON TABLE seguros TO zona;
GRANT ALL ON TABLE seguros TO nobody;


--
-- Name: seq_logs; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE seq_logs FROM PUBLIC;
REVOKE ALL ON SEQUENCE seq_logs FROM zona;
GRANT ALL ON SEQUENCE seq_logs TO zona;
GRANT UPDATE ON SEQUENCE seq_logs TO nobody;


--
-- Name: seq_tipl; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE seq_tipl FROM PUBLIC;
REVOKE ALL ON SEQUENCE seq_tipl FROM zona;
GRANT ALL ON SEQUENCE seq_tipl TO zona;
GRANT UPDATE ON SEQUENCE seq_tipl TO nobody;


--
-- Name: sexo; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE sexo FROM PUBLIC;
REVOKE ALL ON TABLE sexo FROM zona;
GRANT ALL ON TABLE sexo TO zona;
GRANT ALL ON TABLE sexo TO nobody;


--
-- Name: sexo_sex_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE sexo_sex_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE sexo_sex_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE sexo_sex_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE sexo_sex_codigo_seq TO nobody;


--
-- Name: sgpasto; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE sgpasto FROM PUBLIC;
REVOKE ALL ON TABLE sgpasto FROM zona;
GRANT ALL ON TABLE sgpasto TO zona;
GRANT ALL ON TABLE sgpasto TO nobody;


--
-- Name: sgpasto_sg_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE sgpasto_sg_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE sgpasto_sg_id_seq FROM zona;
GRANT ALL ON SEQUENCE sgpasto_sg_id_seq TO zona;
GRANT UPDATE ON SEQUENCE sgpasto_sg_id_seq TO nobody;


--
-- Name: shforms; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE shforms FROM PUBLIC;
REVOKE ALL ON TABLE shforms FROM zona;
GRANT ALL ON TABLE shforms TO zona;
GRANT ALL ON TABLE shforms TO nobody;


--
-- Name: shforms_sh_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE shforms_sh_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE shforms_sh_id_seq FROM zona;
GRANT ALL ON SEQUENCE shforms_sh_id_seq TO zona;
GRANT UPDATE ON SEQUENCE shforms_sh_id_seq TO nobody;


--
-- Name: solserv; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE solserv FROM PUBLIC;
REVOKE ALL ON TABLE solserv FROM zona;
GRANT ALL ON TABLE solserv TO zona;
GRANT ALL ON TABLE solserv TO nobody;


--
-- Name: solserv_ss_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE solserv_ss_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE solserv_ss_id_seq FROM zona;
GRANT ALL ON SEQUENCE solserv_ss_id_seq TO zona;
GRANT UPDATE ON SEQUENCE solserv_ss_id_seq TO nobody;


--
-- Name: srubpersonal; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE srubpersonal FROM PUBLIC;
REVOKE ALL ON TABLE srubpersonal FROM zona;
GRANT ALL ON TABLE srubpersonal TO zona;
GRANT ALL ON TABLE srubpersonal TO nobody;


--
-- Name: srubpersonal_srp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE srubpersonal_srp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE srubpersonal_srp_id_seq FROM zona;
GRANT ALL ON SEQUENCE srubpersonal_srp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE srubpersonal_srp_id_seq TO nobody;


--
-- Name: stock; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE stock FROM PUBLIC;
REVOKE ALL ON TABLE stock FROM zona;
GRANT ALL ON TABLE stock TO zona;
GRANT ALL ON TABLE stock TO nobody;


--
-- Name: subitem; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE subitem FROM PUBLIC;
REVOKE ALL ON TABLE subitem FROM zona;
GRANT ALL ON TABLE subitem TO zona;
GRANT ALL ON TABLE subitem TO nobody;


--
-- Name: stock_stk_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE stock_stk_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE stock_stk_id_seq FROM zona;
GRANT ALL ON SEQUENCE stock_stk_id_seq TO zona;
GRANT UPDATE ON SEQUENCE stock_stk_id_seq TO nobody;


--
-- Name: subd; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE subd FROM PUBLIC;
REVOKE ALL ON TABLE subd FROM zona;
GRANT ALL ON TABLE subd TO zona;
GRANT ALL ON TABLE subd TO nobody;


--
-- Name: subd_subd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE subd_subd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE subd_subd_id_seq FROM zona;
GRANT ALL ON SEQUENCE subd_subd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE subd_subd_id_seq TO nobody;


--
-- Name: subitem_sitem_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE subitem_sitem_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE subitem_sitem_id_seq FROM zona;
GRANT ALL ON SEQUENCE subitem_sitem_id_seq TO zona;
GRANT UPDATE ON SEQUENCE subitem_sitem_id_seq TO nobody;


--
-- Name: subitemd; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE subitemd FROM PUBLIC;
REVOKE ALL ON TABLE subitemd FROM zona;
GRANT ALL ON TABLE subitemd TO zona;
GRANT ALL ON TABLE subitemd TO nobody;


--
-- Name: subitemd_sitemd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE subitemd_sitemd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE subitemd_sitemd_id_seq FROM zona;
GRANT ALL ON SEQUENCE subitemd_sitemd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE subitemd_sitemd_id_seq TO nobody;


--
-- Name: subrub; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE subrub FROM PUBLIC;
REVOKE ALL ON TABLE subrub FROM zona;
GRANT ALL ON TABLE subrub TO zona;
GRANT ALL ON TABLE subrub TO nobody;


--
-- Name: subrub_srb_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE subrub_srb_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE subrub_srb_id_seq FROM zona;
GRANT ALL ON SEQUENCE subrub_srb_id_seq TO zona;
GRANT UPDATE ON SEQUENCE subrub_srb_id_seq TO nobody;


--
-- Name: subtcontrat; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE subtcontrat FROM PUBLIC;
REVOKE ALL ON TABLE subtcontrat FROM zona;
GRANT ALL ON TABLE subtcontrat TO zona;
GRANT ALL ON TABLE subtcontrat TO nobody;


--
-- Name: subtcontrat_subt_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE subtcontrat_subt_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE subtcontrat_subt_id_seq FROM zona;
GRANT ALL ON SEQUENCE subtcontrat_subt_id_seq TO zona;
GRANT UPDATE ON SEQUENCE subtcontrat_subt_id_seq TO nobody;


--
-- Name: subxcomp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE subxcomp FROM PUBLIC;
REVOKE ALL ON TABLE subxcomp FROM zona;
GRANT ALL ON TABLE subxcomp TO zona;
GRANT ALL ON TABLE subxcomp TO nobody;


--
-- Name: sucursal; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE sucursal FROM PUBLIC;
REVOKE ALL ON TABLE sucursal FROM zona;
GRANT ALL ON TABLE sucursal TO zona;
GRANT ALL ON TABLE sucursal TO nobody;


--
-- Name: sucursales; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE sucursales FROM PUBLIC;
REVOKE ALL ON TABLE sucursales FROM zona;
GRANT ALL ON TABLE sucursales TO zona;
GRANT ALL ON TABLE sucursales TO nobody;


--
-- Name: talon; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE talon FROM PUBLIC;
REVOKE ALL ON TABLE talon FROM zona;
GRANT ALL ON TABLE talon TO zona;
GRANT ALL ON TABLE talon TO nobody;


--
-- Name: talon_tal_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE talon_tal_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE talon_tal_id_seq FROM zona;
GRANT ALL ON SEQUENCE talon_tal_id_seq TO zona;
GRANT UPDATE ON SEQUENCE talon_tal_id_seq TO nobody;


--
-- Name: talonop; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE talonop FROM PUBLIC;
REVOKE ALL ON TABLE talonop FROM zona;
GRANT ALL ON TABLE talonop TO zona;
GRANT ALL ON TABLE talonop TO nobody;


--
-- Name: tareasd; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tareasd FROM PUBLIC;
REVOKE ALL ON TABLE tareasd FROM zona;
GRANT ALL ON TABLE tareasd TO zona;
GRANT ALL ON TABLE tareasd TO nobody;


--
-- Name: tareasd_t_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tareasd_t_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tareasd_t_id_seq FROM zona;
GRANT ALL ON SEQUENCE tareasd_t_id_seq TO zona;
GRANT UPDATE ON SEQUENCE tareasd_t_id_seq TO nobody;


--
-- Name: tareasproy; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tareasproy FROM PUBLIC;
REVOKE ALL ON TABLE tareasproy FROM zona;
GRANT ALL ON TABLE tareasproy TO zona;
GRANT ALL ON TABLE tareasproy TO nobody;


--
-- Name: tareasproy_tp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tareasproy_tp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tareasproy_tp_id_seq FROM zona;
GRANT ALL ON SEQUENCE tareasproy_tp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE tareasproy_tp_id_seq TO nobody;


--
-- Name: tarifas; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tarifas FROM PUBLIC;
REVOKE ALL ON TABLE tarifas FROM zona;
GRANT ALL ON TABLE tarifas TO zona;
GRANT ALL ON TABLE tarifas TO nobody;


--
-- Name: tarjeta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tarjeta FROM PUBLIC;
REVOKE ALL ON TABLE tarjeta FROM zona;
GRANT ALL ON TABLE tarjeta TO zona;
GRANT ALL ON TABLE tarjeta TO nobody;


--
-- Name: tarjvisita; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tarjvisita FROM PUBLIC;
REVOKE ALL ON TABLE tarjvisita FROM zona;
GRANT ALL ON TABLE tarjvisita TO zona;
GRANT ALL ON TABLE tarjvisita TO nobody;


--
-- Name: tarjvisita_tj_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tarjvisita_tj_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tarjvisita_tj_id_seq FROM zona;
GRANT ALL ON SEQUENCE tarjvisita_tj_id_seq TO zona;
GRANT UPDATE ON SEQUENCE tarjvisita_tj_id_seq TO nobody;


--
-- Name: telefon; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE telefon FROM PUBLIC;
REVOKE ALL ON TABLE telefon FROM zona;
GRANT ALL ON TABLE telefon TO zona;
GRANT ALL ON TABLE telefon TO nobody;


--
-- Name: telefon_tel_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE telefon_tel_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE telefon_tel_id_seq FROM zona;
GRANT ALL ON SEQUENCE telefon_tel_id_seq TO zona;
GRANT UPDATE ON SEQUENCE telefon_tel_id_seq TO nobody;


--
-- Name: temasxminuta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE temasxminuta FROM PUBLIC;
REVOKE ALL ON TABLE temasxminuta FROM zona;
GRANT ALL ON TABLE temasxminuta TO zona;
GRANT ALL ON TABLE temasxminuta TO nobody;


--
-- Name: temasxminuta_tm_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE temasxminuta_tm_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE temasxminuta_tm_id_seq FROM zona;
GRANT ALL ON SEQUENCE temasxminuta_tm_id_seq TO zona;
GRANT UPDATE ON SEQUENCE temasxminuta_tm_id_seq TO nobody;


--
-- Name: temporalweb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE temporalweb FROM PUBLIC;
REVOKE ALL ON TABLE temporalweb FROM zona;
GRANT ALL ON TABLE temporalweb TO zona;
GRANT ALL ON TABLE temporalweb TO nobody;


--
-- Name: temporalweb_wtmp_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE temporalweb_wtmp_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE temporalweb_wtmp_id_seq FROM zona;
GRANT ALL ON SEQUENCE temporalweb_wtmp_id_seq TO zona;
GRANT UPDATE ON SEQUENCE temporalweb_wtmp_id_seq TO nobody;


--
-- Name: tipcar; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipcar FROM PUBLIC;
REVOKE ALL ON TABLE tipcar FROM zona;
GRANT ALL ON TABLE tipcar TO zona;
GRANT ALL ON TABLE tipcar TO nobody;


--
-- Name: tipcar_tc_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipcar_tc_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipcar_tc_id_seq FROM zona;
GRANT ALL ON SEQUENCE tipcar_tc_id_seq TO zona;
GRANT UPDATE ON SEQUENCE tipcar_tc_id_seq TO nobody;


--
-- Name: tipcontrat; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipcontrat FROM PUBLIC;
REVOKE ALL ON TABLE tipcontrat FROM zona;
GRANT ALL ON TABLE tipcontrat TO zona;
GRANT ALL ON TABLE tipcontrat TO nobody;


--
-- Name: tipcontrat_tipc_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipcontrat_tipc_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipcontrat_tipc_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE tipcontrat_tipc_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE tipcontrat_tipc_codigo_seq TO nobody;


--
-- Name: tipcta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipcta FROM PUBLIC;
REVOKE ALL ON TABLE tipcta FROM zona;
GRANT ALL ON TABLE tipcta TO zona;
GRANT ALL ON TABLE tipcta TO nobody;


--
-- Name: tipcta_tct_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipcta_tct_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipcta_tct_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE tipcta_tct_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE tipcta_tct_codigo_seq TO nobody;


--
-- Name: tipdocu; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipdocu FROM PUBLIC;
REVOKE ALL ON TABLE tipdocu FROM zona;
GRANT ALL ON TABLE tipdocu TO zona;
GRANT ALL ON TABLE tipdocu TO nobody;


--
-- Name: tipemp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipemp FROM PUBLIC;
REVOKE ALL ON TABLE tipemp FROM zona;
GRANT ALL ON TABLE tipemp TO zona;
GRANT ALL ON TABLE tipemp TO nobody;


--
-- Name: tipentid; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipentid FROM PUBLIC;
REVOKE ALL ON TABLE tipentid FROM zona;
GRANT ALL ON TABLE tipentid TO zona;
GRANT ALL ON TABLE tipentid TO nobody;


--
-- Name: tipentid_tet_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipentid_tet_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipentid_tet_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE tipentid_tet_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE tipentid_tet_codigo_seq TO nobody;


--
-- Name: tipgente; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipgente FROM PUBLIC;
REVOKE ALL ON TABLE tipgente FROM zona;
GRANT ALL ON TABLE tipgente TO zona;
GRANT ALL ON TABLE tipgente TO nobody;


--
-- Name: tipgente_tgte_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipgente_tgte_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipgente_tgte_id_seq FROM zona;
GRANT ALL ON SEQUENCE tipgente_tgte_id_seq TO zona;
GRANT UPDATE ON SEQUENCE tipgente_tgte_id_seq TO nobody;


--
-- Name: tipind; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipind FROM PUBLIC;
REVOKE ALL ON TABLE tipind FROM zona;
GRANT ALL ON TABLE tipind TO zona;
GRANT ALL ON TABLE tipind TO nobody;


--
-- Name: tiplog; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tiplog FROM PUBLIC;
REVOKE ALL ON TABLE tiplog FROM zona;
GRANT ALL ON TABLE tiplog TO zona;
GRANT ALL ON TABLE tiplog TO nobody;


--
-- Name: tipnot; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipnot FROM PUBLIC;
REVOKE ALL ON TABLE tipnot FROM zona;
GRANT ALL ON TABLE tipnot TO zona;
GRANT ALL ON TABLE tipnot TO nobody;


--
-- Name: tipnot_tn_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipnot_tn_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipnot_tn_id_seq FROM zona;
GRANT ALL ON SEQUENCE tipnot_tn_id_seq TO zona;
GRANT UPDATE ON SEQUENCE tipnot_tn_id_seq TO nobody;


--
-- Name: tipofoda; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipofoda FROM PUBLIC;
REVOKE ALL ON TABLE tipofoda FROM zona;
GRANT ALL ON TABLE tipofoda TO zona;
GRANT ALL ON TABLE tipofoda TO nobody;


--
-- Name: tipofoda_tf_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipofoda_tf_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipofoda_tf_id_seq FROM zona;
GRANT ALL ON SEQUENCE tipofoda_tf_id_seq TO zona;
GRANT UPDATE ON SEQUENCE tipofoda_tf_id_seq TO nobody;


--
-- Name: tipoper; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipoper FROM PUBLIC;
REVOKE ALL ON TABLE tipoper FROM zona;
GRANT ALL ON TABLE tipoper TO zona;
GRANT ALL ON TABLE tipoper TO nobody;


--
-- Name: tipoper_top_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipoper_top_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipoper_top_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE tipoper_top_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE tipoper_top_codigo_seq TO nobody;


--
-- Name: tipprod; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipprod FROM PUBLIC;
REVOKE ALL ON TABLE tipprod FROM zona;
GRANT ALL ON TABLE tipprod TO zona;
GRANT ALL ON TABLE tipprod TO nobody;


--
-- Name: tipprod_tip_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipprod_tip_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipprod_tip_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE tipprod_tip_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE tipprod_tip_codigo_seq TO nobody;


--
-- Name: tipprodint; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipprodint FROM PUBLIC;
REVOKE ALL ON TABLE tipprodint FROM zona;
GRANT ALL ON TABLE tipprodint TO zona;
GRANT ALL ON TABLE tipprodint TO nobody;


--
-- Name: tipprodint_tip_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tipprodint_tip_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tipprodint_tip_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE tipprodint_tip_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE tipprodint_tip_codigo_seq TO nobody;


--
-- Name: tippxunif; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tippxunif FROM PUBLIC;
REVOKE ALL ON TABLE tippxunif FROM zona;
GRANT ALL ON TABLE tippxunif TO zona;
GRANT ALL ON TABLE tippxunif TO nobody;


--
-- Name: tiptel; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tiptel FROM PUBLIC;
REVOKE ALL ON TABLE tiptel FROM zona;
GRANT ALL ON TABLE tiptel TO zona;
GRANT ALL ON TABLE tiptel TO nobody;


--
-- Name: tiptel_ttl_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE tiptel_ttl_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE tiptel_ttl_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE tiptel_ttl_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE tiptel_ttl_codigo_seq TO nobody;


--
-- Name: tipusu; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE tipusu FROM PUBLIC;
REVOKE ALL ON TABLE tipusu FROM zona;
GRANT ALL ON TABLE tipusu TO zona;
GRANT ALL ON TABLE tipusu TO nobody;


--
-- Name: titaudi; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE titaudi FROM PUBLIC;
REVOKE ALL ON TABLE titaudi FROM zona;
GRANT ALL ON TABLE titaudi TO zona;
GRANT ALL ON TABLE titaudi TO nobody;


--
-- Name: titaudi_tt_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE titaudi_tt_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE titaudi_tt_id_seq FROM zona;
GRANT ALL ON SEQUENCE titaudi_tt_id_seq TO zona;
GRANT UPDATE ON SEQUENCE titaudi_tt_id_seq TO nobody;


--
-- Name: trackprov; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE trackprov FROM PUBLIC;
REVOKE ALL ON TABLE trackprov FROM zona;
GRANT ALL ON TABLE trackprov TO zona;
GRANT ALL ON TABLE trackprov TO nobody;


--
-- Name: trackprov_tk_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE trackprov_tk_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE trackprov_tk_id_seq FROM zona;
GRANT ALL ON SEQUENCE trackprov_tk_id_seq TO zona;
GRANT UPDATE ON SEQUENCE trackprov_tk_id_seq TO nobody;


--
-- Name: ubicxdoc; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ubicxdoc FROM PUBLIC;
REVOKE ALL ON TABLE ubicxdoc FROM zona;
GRANT ALL ON TABLE ubicxdoc TO zona;
GRANT ALL ON TABLE ubicxdoc TO nobody;


--
-- Name: ubicxdoc_uxd_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ubicxdoc_uxd_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ubicxdoc_uxd_id_seq FROM zona;
GRANT ALL ON SEQUENCE ubicxdoc_uxd_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ubicxdoc_uxd_id_seq TO nobody;


--
-- Name: ufxinictr; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE ufxinictr FROM PUBLIC;
REVOKE ALL ON TABLE ufxinictr FROM zona;
GRANT ALL ON TABLE ufxinictr TO zona;
GRANT ALL ON TABLE ufxinictr TO nobody;


--
-- Name: ufxinictr_ufi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE ufxinictr_ufi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE ufxinictr_ufi_id_seq FROM zona;
GRANT ALL ON SEQUENCE ufxinictr_ufi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE ufxinictr_ufi_id_seq TO nobody;


--
-- Name: unifun; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE unifun FROM PUBLIC;
REVOKE ALL ON TABLE unifun FROM zona;
GRANT ALL ON TABLE unifun TO zona;
GRANT ALL ON TABLE unifun TO nobody;


--
-- Name: unilot; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE unilot FROM PUBLIC;
REVOKE ALL ON TABLE unilot FROM zona;
GRANT ALL ON TABLE unilot TO zona;
GRANT ALL ON TABLE unilot TO nobody;


--
-- Name: unilot1; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE unilot1 FROM PUBLIC;
REVOKE ALL ON TABLE unilot1 FROM zona;
GRANT ALL ON TABLE unilot1 TO zona;
GRANT ALL ON TABLE unilot1 TO nobody;


--
-- Name: unimed; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE unimed FROM PUBLIC;
REVOKE ALL ON TABLE unimed FROM zona;
GRANT ALL ON TABLE unimed TO zona;
GRANT ALL ON TABLE unimed TO nobody;


--
-- Name: usermenu; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE usermenu FROM PUBLIC;
REVOKE ALL ON TABLE usermenu FROM zona;
GRANT ALL ON TABLE usermenu TO zona;
GRANT ALL ON TABLE usermenu TO nobody;


--
-- Name: usermenu_umen_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE usermenu_umen_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE usermenu_umen_id_seq FROM zona;
GRANT ALL ON SEQUENCE usermenu_umen_id_seq TO zona;
GRANT UPDATE ON SEQUENCE usermenu_umen_id_seq TO nobody;


--
-- Name: usuarios; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE usuarios FROM PUBLIC;
REVOKE ALL ON TABLE usuarios FROM zona;
GRANT ALL ON TABLE usuarios TO zona;
GRANT ALL ON TABLE usuarios TO nobody;


--
-- Name: valorencuesta; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE valorencuesta FROM PUBLIC;
REVOKE ALL ON TABLE valorencuesta FROM zona;
GRANT ALL ON TABLE valorencuesta TO zona;
GRANT ALL ON TABLE valorencuesta TO nobody;


--
-- Name: valorencuesta_ve_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE valorencuesta_ve_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE valorencuesta_ve_id_seq FROM zona;
GRANT ALL ON SEQUENCE valorencuesta_ve_id_seq TO zona;
GRANT UPDATE ON SEQUENCE valorencuesta_ve_id_seq TO nobody;


--
-- Name: valorgestion; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE valorgestion FROM PUBLIC;
REVOKE ALL ON TABLE valorgestion FROM zona;
GRANT ALL ON TABLE valorgestion TO zona;
GRANT ALL ON TABLE valorgestion TO nobody;


--
-- Name: valorgestion_vi_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE valorgestion_vi_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE valorgestion_vi_id_seq FROM zona;
GRANT ALL ON SEQUENCE valorgestion_vi_id_seq TO zona;
GRANT UPDATE ON SEQUENCE valorgestion_vi_id_seq TO nobody;


--
-- Name: varamb; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE varamb FROM PUBLIC;
REVOKE ALL ON TABLE varamb FROM zona;
GRANT ALL ON TABLE varamb TO zona;
GRANT ALL ON TABLE varamb TO nobody;


--
-- Name: varambi; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE varambi FROM PUBLIC;
REVOKE ALL ON TABLE varambi FROM zona;
GRANT ALL ON TABLE varambi TO zona;
GRANT ALL ON TABLE varambi TO nobody;


--
-- Name: vendedor; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE vendedor FROM PUBLIC;
REVOKE ALL ON TABLE vendedor FROM zona;
GRANT ALL ON TABLE vendedor TO zona;
GRANT ALL ON TABLE vendedor TO nobody;


--
-- Name: vendedor_ven_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE vendedor_ven_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE vendedor_ven_id_seq FROM zona;
GRANT ALL ON SEQUENCE vendedor_ven_id_seq TO zona;
GRANT UPDATE ON SEQUENCE vendedor_ven_id_seq TO nobody;


--
-- Name: visinst; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE visinst FROM PUBLIC;
REVOKE ALL ON TABLE visinst FROM zona;
GRANT ALL ON TABLE visinst TO zona;
GRANT ALL ON TABLE visinst TO nobody;


--
-- Name: visinst_v_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE visinst_v_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE visinst_v_id_seq FROM zona;
GRANT ALL ON SEQUENCE visinst_v_id_seq TO zona;
GRANT UPDATE ON SEQUENCE visinst_v_id_seq TO nobody;


--
-- Name: visita; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE visita FROM PUBLIC;
REVOKE ALL ON TABLE visita FROM zona;
GRANT ALL ON TABLE visita TO zona;
GRANT ALL ON TABLE visita TO nobody;


--
-- Name: visita_vt_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE visita_vt_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE visita_vt_id_seq FROM zona;
GRANT ALL ON SEQUENCE visita_vt_id_seq TO zona;
GRANT UPDATE ON SEQUENCE visita_vt_id_seq TO nobody;


--
-- Name: visual; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE visual FROM PUBLIC;
REVOKE ALL ON TABLE visual FROM zona;
GRANT ALL ON TABLE visual TO zona;
GRANT ALL ON TABLE visual TO nobody;


--
-- Name: visual_v_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE visual_v_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE visual_v_id_seq FROM zona;
GRANT ALL ON SEQUENCE visual_v_id_seq TO zona;
GRANT UPDATE ON SEQUENCE visual_v_id_seq TO nobody;


--
-- Name: volegr; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE volegr FROM PUBLIC;
REVOKE ALL ON TABLE volegr FROM zona;
GRANT ALL ON TABLE volegr TO zona;
GRANT ALL ON TABLE volegr TO nobody;


--
-- Name: voling; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE voling FROM PUBLIC;
REVOKE ALL ON TABLE voling FROM zona;
GRANT ALL ON TABLE voling TO zona;
GRANT ALL ON TABLE voling TO nobody;


--
-- Name: wleyenrexp; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE wleyenrexp FROM PUBLIC;
REVOKE ALL ON TABLE wleyenrexp FROM zona;
GRANT ALL ON TABLE wleyenrexp TO zona;
GRANT ALL ON TABLE wleyenrexp TO nobody;


--
-- Name: wleyenrexp_wleyr_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE wleyenrexp_wleyr_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE wleyenrexp_wleyr_id_seq FROM zona;
GRANT ALL ON SEQUENCE wleyenrexp_wleyr_id_seq TO zona;
GRANT UPDATE ON SEQUENCE wleyenrexp_wleyr_id_seq TO nobody;


--
-- Name: wnoticias; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE wnoticias FROM PUBLIC;
REVOKE ALL ON TABLE wnoticias FROM zona;
GRANT ALL ON TABLE wnoticias TO zona;
GRANT ALL ON TABLE wnoticias TO nobody;


--
-- Name: wnoticias_wnot_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE wnoticias_wnot_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE wnoticias_wnot_id_seq FROM zona;
GRANT ALL ON SEQUENCE wnoticias_wnot_id_seq TO zona;
GRANT UPDATE ON SEQUENCE wnoticias_wnot_id_seq TO nobody;


--
-- Name: woperaciones; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE woperaciones FROM PUBLIC;
REVOKE ALL ON TABLE woperaciones FROM zona;
GRANT ALL ON TABLE woperaciones TO zona;
GRANT ALL ON TABLE woperaciones TO nobody;


--
-- Name: woperaciones_wop_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE woperaciones_wop_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE woperaciones_wop_id_seq FROM zona;
GRANT ALL ON SEQUENCE woperaciones_wop_id_seq TO zona;
GRANT UPDATE ON SEQUENCE woperaciones_wop_id_seq TO nobody;


--
-- Name: wret2; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE wret2 FROM PUBLIC;
REVOKE ALL ON TABLE wret2 FROM zona;
GRANT ALL ON TABLE wret2 TO zona;
GRANT ALL ON TABLE wret2 TO nobody;


--
-- Name: wret2_wret2_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE wret2_wret2_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE wret2_wret2_id_seq FROM zona;
GRANT ALL ON SEQUENCE wret2_wret2_id_seq TO zona;
GRANT UPDATE ON SEQUENCE wret2_wret2_id_seq TO nobody;


--
-- Name: wretiros; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE wretiros FROM PUBLIC;
REVOKE ALL ON TABLE wretiros FROM zona;
GRANT ALL ON TABLE wretiros TO zona;
GRANT ALL ON TABLE wretiros TO nobody;


--
-- Name: wretiros_wret_id_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE wretiros_wret_id_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE wretiros_wret_id_seq FROM zona;
GRANT ALL ON SEQUENCE wretiros_wret_id_seq TO zona;
GRANT UPDATE ON SEQUENCE wretiros_wret_id_seq TO nobody;


--
-- Name: wsubitem; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE wsubitem FROM PUBLIC;
REVOKE ALL ON TABLE wsubitem FROM zona;
GRANT ALL ON TABLE wsubitem TO zona;
GRANT ALL ON TABLE wsubitem TO nobody;


--
-- Name: zona; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON TABLE zona FROM PUBLIC;
REVOKE ALL ON TABLE zona FROM zona;
GRANT ALL ON TABLE zona TO zona;
GRANT ALL ON TABLE zona TO nobody;


--
-- Name: zona_zon_codigo_seq; Type: ACL; Schema: public; Owner: zona
--

REVOKE ALL ON SEQUENCE zona_zon_codigo_seq FROM PUBLIC;
REVOKE ALL ON SEQUENCE zona_zon_codigo_seq FROM zona;
GRANT ALL ON SEQUENCE zona_zon_codigo_seq TO zona;
GRANT UPDATE ON SEQUENCE zona_zon_codigo_seq TO nobody;


--
--

