From 13c4e305abe0693fea66eae50ec7c6e973a89d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20T=C3=A1mara=20Pati=C3=B1o?= Date: Tue, 12 Nov 2024 12:38:13 -0500 Subject: [PATCH] Actualiza --- Gemfile.lock | 14 +-- db/structure.sql | 288 +---------------------------------------------- 2 files changed, 9 insertions(+), 293 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index a4095ab..47fc70a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -33,7 +33,7 @@ GIT GIT remote: https://gitlab.com/pasosdeJesus/cor1440_gen.git - revision: 953f9fd0a5aa7772445fdc761ba9c5206ffa5072 + revision: 429921d75b14aa42474bbcab03d86258f1ee3d37 branch: v2.2 specs: cor1440_gen (2.2.0.beta7) @@ -46,7 +46,7 @@ GIT GIT remote: https://gitlab.com/pasosdeJesus/heb412_gen.git - revision: 478c77757536017e2ef4bfd217510805e06fbc12 + revision: 6386cd2262bc279ed81b852ba434ebb8748b36c3 branch: v2.2 specs: heb412_gen (2.2.0.beta7) @@ -57,14 +57,14 @@ GIT GIT remote: https://gitlab.com/pasosdeJesus/jos19.git - revision: b33b24b900ecf9d32caafd71e67ed9c4eabfd3b0 + revision: cda7c671ebde0335131f8a33102e5e85be623cba branch: v2.2 specs: jos19 (2.2.0.beta7) GIT remote: https://gitlab.com/pasosdeJesus/mr519_gen.git - revision: 2c6a15a787fa354e7fae3c029a7af8723ef37031 + revision: df224091f760587de2fd3ac5aed5b03e03ffaf53 branch: v2.2 specs: mr519_gen (2.2.0.beta7) @@ -73,7 +73,7 @@ GIT GIT remote: https://gitlab.com/pasosdeJesus/msip.git - revision: c59efb3e1642d0b13df2d8f19651d65b49cdaf0f + revision: 4ec173a448a8e82860b802fd17bce09f28180e3b branch: v2.2 specs: msip (2.2.0.beta7) @@ -93,7 +93,7 @@ GIT GIT remote: https://gitlab.com/pasosdeJesus/sivel2_gen.git - revision: 9cf97bf9706adbbf4ca4efec722c2530e02e26ac + revision: ede323174c7ac10cf20604eeb03682614f7b1c2c branch: v2.2 specs: sivel2_gen (2.2.0.beta7) @@ -595,4 +595,4 @@ DEPENDENCIES will_paginate BUNDLED WITH - 2.5.22 + 2.5.23 diff --git a/db/structure.sql b/db/structure.sql index 767de90..294cfd2 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -2876,36 +2876,6 @@ CREATE TABLE public.cor1440_gen_actividad_usuario ( ); --- --- Name: cor1440_gen_actividad_valorcampotind; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE public.cor1440_gen_actividad_valorcampotind ( - id bigint NOT NULL, - actividad_id integer, - valorcampotind_id integer -); - - --- --- Name: cor1440_gen_actividad_valorcampotind_id_seq; Type: SEQUENCE; Schema: public; Owner: - --- - -CREATE SEQUENCE public.cor1440_gen_actividad_valorcampotind_id_seq - START WITH 1 - INCREMENT BY 1 - NO MINVALUE - NO MAXVALUE - CACHE 1; - - --- --- Name: cor1440_gen_actividad_valorcampotind_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: - --- - -ALTER SEQUENCE public.cor1440_gen_actividad_valorcampotind_id_seq OWNED BY public.cor1440_gen_actividad_valorcampotind.id; - - -- -- Name: cor1440_gen_actividadarea; Type: TABLE; Schema: public; Owner: - -- @@ -3199,70 +3169,6 @@ CREATE TABLE public.cor1440_gen_beneficiariopf ( ); --- --- Name: cor1440_gen_campoact; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE public.cor1440_gen_campoact ( - id bigint NOT NULL, - actividadtipo_id integer, - nombrecampo character varying(128), - ayudauso character varying(1024), - tipo integer DEFAULT 1 -); - - --- --- Name: cor1440_gen_campoact_id_seq; Type: SEQUENCE; Schema: public; Owner: - --- - -CREATE SEQUENCE public.cor1440_gen_campoact_id_seq - START WITH 1 - INCREMENT BY 1 - NO MINVALUE - NO MAXVALUE - CACHE 1; - - --- --- Name: cor1440_gen_campoact_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: - --- - -ALTER SEQUENCE public.cor1440_gen_campoact_id_seq OWNED BY public.cor1440_gen_campoact.id; - - --- --- Name: cor1440_gen_campotind; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE public.cor1440_gen_campotind ( - id bigint NOT NULL, - tipoindicador_id integer NOT NULL, - nombrecampo character varying(128) NOT NULL, - ayudauso character varying(1024), - tipo integer DEFAULT 1 -); - - --- --- Name: cor1440_gen_campotind_id_seq; Type: SEQUENCE; Schema: public; Owner: - --- - -CREATE SEQUENCE public.cor1440_gen_campotind_id_seq - START WITH 1 - INCREMENT BY 1 - NO MINVALUE - NO MAXVALUE - CACHE 1; - - --- --- Name: cor1440_gen_campotind_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: - --- - -ALTER SEQUENCE public.cor1440_gen_campotind_id_seq OWNED BY public.cor1440_gen_campotind.id; - - -- -- Name: cor1440_gen_caracterizacionpersona; Type: TABLE; Schema: public; Owner: - -- @@ -4162,67 +4068,6 @@ CREATE SEQUENCE public.cor1440_gen_tipomoneda_id_seq ALTER SEQUENCE public.cor1440_gen_tipomoneda_id_seq OWNED BY public.cor1440_gen_tipomoneda.id; --- --- Name: cor1440_gen_valorcampoact; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE public.cor1440_gen_valorcampoact ( - id bigint NOT NULL, - actividad_id integer, - campoact_id integer, - valor character varying(5000) -); - - --- --- Name: cor1440_gen_valorcampoact_id_seq; Type: SEQUENCE; Schema: public; Owner: - --- - -CREATE SEQUENCE public.cor1440_gen_valorcampoact_id_seq - START WITH 1 - INCREMENT BY 1 - NO MINVALUE - NO MAXVALUE - CACHE 1; - - --- --- Name: cor1440_gen_valorcampoact_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: - --- - -ALTER SEQUENCE public.cor1440_gen_valorcampoact_id_seq OWNED BY public.cor1440_gen_valorcampoact.id; - - --- --- Name: cor1440_gen_valorcampotind; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE public.cor1440_gen_valorcampotind ( - id bigint NOT NULL, - campotind_id integer, - valor character varying(5000) -); - - --- --- Name: cor1440_gen_valorcampotind_id_seq; Type: SEQUENCE; Schema: public; Owner: - --- - -CREATE SEQUENCE public.cor1440_gen_valorcampotind_id_seq - START WITH 1 - INCREMENT BY 1 - NO MINVALUE - NO MAXVALUE - CACHE 1; - - --- --- Name: cor1440_gen_valorcampotind_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: - --- - -ALTER SEQUENCE public.cor1440_gen_valorcampotind_id_seq OWNED BY public.cor1440_gen_valorcampotind.id; - - -- -- Name: msip_departamento_id_seq; Type: SEQUENCE; Schema: public; Owner: - -- @@ -7877,13 +7722,6 @@ ALTER TABLE ONLY public.cor1440_gen_actividad_proyecto ALTER COLUMN id SET DEFAU ALTER TABLE ONLY public.cor1440_gen_actividad_rangoedadac ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_actividad_rangoedadac_id_seq'::regclass); --- --- Name: cor1440_gen_actividad_valorcampotind id; Type: DEFAULT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_actividad_valorcampotind ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_actividad_valorcampotind_id_seq'::regclass); - - -- -- Name: cor1440_gen_actividadarea id; Type: DEFAULT; Schema: public; Owner: - -- @@ -7926,20 +7764,6 @@ ALTER TABLE ONLY public.cor1440_gen_asistencia ALTER COLUMN id SET DEFAULT nextv ALTER TABLE ONLY public.cor1440_gen_asistencia_opcioncaracterizacion ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_asistencia_opcioncaracterizacion_id_seq'::regclass); --- --- Name: cor1440_gen_campoact id; Type: DEFAULT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_campoact ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_campoact_id_seq'::regclass); - - --- --- Name: cor1440_gen_campotind id; Type: DEFAULT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_campotind ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_campotind_id_seq'::regclass); - - -- -- Name: cor1440_gen_caracterizacionpersona id; Type: DEFAULT; Schema: public; Owner: - -- @@ -8094,20 +7918,6 @@ ALTER TABLE ONLY public.cor1440_gen_tipoindicador ALTER COLUMN id SET DEFAULT ne ALTER TABLE ONLY public.cor1440_gen_tipomoneda ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_tipomoneda_id_seq'::regclass); --- --- Name: cor1440_gen_valorcampoact id; Type: DEFAULT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_valorcampoact ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_valorcampoact_id_seq'::regclass); - - --- --- Name: cor1440_gen_valorcampotind id; Type: DEFAULT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_valorcampotind ALTER COLUMN id SET DEFAULT nextval('public.cor1440_gen_valorcampotind_id_seq'::regclass); - - -- -- Name: heb412_gen_campohc id; Type: DEFAULT; Schema: public; Owner: - -- @@ -8760,14 +8570,6 @@ ALTER TABLE ONLY public.cor1440_gen_actividad_rangoedadac ADD CONSTRAINT cor1440_gen_actividad_rangoedadac_unicos UNIQUE (actividad_id, rangoedadac_id); --- --- Name: cor1440_gen_actividad_valorcampotind cor1440_gen_actividad_valorcampotind_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_actividad_valorcampotind - ADD CONSTRAINT cor1440_gen_actividad_valorcampotind_pkey PRIMARY KEY (id); - - -- -- Name: cor1440_gen_actividadarea cor1440_gen_actividadarea_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -8824,22 +8626,6 @@ ALTER TABLE ONLY public.cor1440_gen_asistencia ADD CONSTRAINT cor1440_gen_asistencia_pkey PRIMARY KEY (id); --- --- Name: cor1440_gen_campoact cor1440_gen_campoact_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_campoact - ADD CONSTRAINT cor1440_gen_campoact_pkey PRIMARY KEY (id); - - --- --- Name: cor1440_gen_campotind cor1440_gen_campotind_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_campotind - ADD CONSTRAINT cor1440_gen_campotind_pkey PRIMARY KEY (id); - - -- -- Name: cor1440_gen_caracterizacionpersona cor1440_gen_caracterizacionpersona_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -9016,22 +8802,6 @@ ALTER TABLE ONLY public.cor1440_gen_tipomoneda ADD CONSTRAINT cor1440_gen_tipomoneda_pkey PRIMARY KEY (id); --- --- Name: cor1440_gen_valorcampoact cor1440_gen_valorcampoact_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_valorcampoact - ADD CONSTRAINT cor1440_gen_valorcampoact_pkey PRIMARY KEY (id); - - --- --- Name: cor1440_gen_valorcampotind cor1440_gen_valorcampotind_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_valorcampotind - ADD CONSTRAINT cor1440_gen_valorcampotind_pkey PRIMARY KEY (id); - - -- -- Name: sivel2_gen_caso_frontera frontera_caso_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -11409,14 +11179,6 @@ ALTER TABLE ONLY public.sivel2_gen_filiacion_victimacolectiva ADD CONSTRAINT filiacion_victimacolectiva_victimacolectiva_id_fkey1 FOREIGN KEY (victimacolectiva_id) REFERENCES public.sivel2_gen_victimacolectiva(id); --- --- Name: cor1440_gen_actividad_valorcampotind fk_rails_0104bf757c; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_actividad_valorcampotind - ADD CONSTRAINT fk_rails_0104bf757c FOREIGN KEY (valorcampotind_id) REFERENCES public.cor1440_gen_valorcampotind(id); - - -- -- Name: cor1440_gen_anexo_efecto fk_rails_037289a77c; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -11697,14 +11459,6 @@ ALTER TABLE ONLY public.cor1440_gen_anexo_proyectofinanciero ADD CONSTRAINT fk_rails_26e56f96f9 FOREIGN KEY (proyectofinanciero_id) REFERENCES public.cor1440_gen_proyectofinanciero(id); --- --- Name: cor1440_gen_campotind fk_rails_2770ce966d; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_campotind - ADD CONSTRAINT fk_rails_2770ce966d FOREIGN KEY (tipoindicador_id) REFERENCES public.cor1440_gen_tipoindicador(id); - - -- -- Name: cor1440_gen_informe fk_rails_294895347e; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -11769,14 +11523,6 @@ ALTER TABLE ONLY public.sivel2_gen_otraorga_victima ADD CONSTRAINT fk_rails_3029d2736a FOREIGN KEY (organizacion_id) REFERENCES public.sivel2_gen_organizacion(id); --- --- Name: cor1440_gen_valorcampoact fk_rails_3060a94455; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_valorcampoact - ADD CONSTRAINT fk_rails_3060a94455 FOREIGN KEY (campoact_id) REFERENCES public.cor1440_gen_campoact(id); - - -- -- Name: cor1440_gen_proyectofinanciero fk_rails_3792591d9e; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -11905,14 +11651,6 @@ ALTER TABLE ONLY public.cor1440_gen_efecto ADD CONSTRAINT fk_rails_4ebe8f74fc FOREIGN KEY (indicadorpf_id) REFERENCES public.cor1440_gen_indicadorpf(id); --- --- Name: cor1440_gen_valorcampotind fk_rails_4f2fc96457; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_valorcampotind - ADD CONSTRAINT fk_rails_4f2fc96457 FOREIGN KEY (campotind_id) REFERENCES public.cor1440_gen_campotind(id); - - -- -- Name: sivel2_gen_etnia_victimacolectiva fk_rails_4fafec807e; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -12649,14 +12387,6 @@ ALTER TABLE ONLY public.apo214_lugarpreliminar ADD CONSTRAINT fk_rails_cd4febda02 FOREIGN KEY (cobertura_id) REFERENCES public.apo214_cobertura(id); --- --- Name: cor1440_gen_campoact fk_rails_ceb6f1a7f0; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_campoact - ADD CONSTRAINT fk_rails_ceb6f1a7f0 FOREIGN KEY (actividadtipo_id) REFERENCES public.cor1440_gen_actividadtipo(id); - - -- -- Name: cor1440_gen_actividad_proyecto fk_rails_cf5d592625; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -12809,14 +12539,6 @@ ALTER TABLE ONLY public.sivel2_gen_combatiente ADD CONSTRAINT fk_rails_e2d01a5a99 FOREIGN KEY (sectorsocial_id) REFERENCES public.sivel2_gen_sectorsocial(id); --- --- Name: cor1440_gen_valorcampoact fk_rails_e36cf046d1; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_valorcampoact - ADD CONSTRAINT fk_rails_e36cf046d1 FOREIGN KEY (actividad_id) REFERENCES public.cor1440_gen_actividad(id); - - -- -- Name: aporte fk_rails_e6280314cc; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -12841,14 +12563,6 @@ ALTER TABLE ONLY public.cor1440_gen_beneficiariopf ADD CONSTRAINT fk_rails_e6ba73556e FOREIGN KEY (persona_id) REFERENCES public.msip_persona(id); --- --- Name: cor1440_gen_actividad_valorcampotind fk_rails_e8cd697f5d; Type: FK CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.cor1440_gen_actividad_valorcampotind - ADD CONSTRAINT fk_rails_e8cd697f5d FOREIGN KEY (actividad_id) REFERENCES public.cor1440_gen_actividad(id); - - -- -- Name: heb412_gen_carpetaexclusiva fk_rails_ea1add81e6; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -13480,6 +13194,8 @@ ALTER TABLE ONLY public.sivel2_gen_victimacolectiva_vinculoestado SET search_path TO "$user", public; INSERT INTO "schema_migrations" (version) VALUES +('20241106114858'), +('20241104072046'), ('20241006115708'), ('20241005013833'), ('20241005013800'),