From 5491fbb82cdc12f517891da3cde8e84fab72c058 Mon Sep 17 00:00:00 2001 From: Wilian Domingues Souza Date: Wed, 16 Oct 2024 15:53:06 -0300 Subject: [PATCH 1/4] =?UTF-8?q?Integra=C3=A7=C3=A3o=20API=20Revenue=20Geol?= =?UTF-8?q?oc=20-=20bug#AL-5017?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20241008_1520__AL-5017.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20241008_1520__AL-5017.sql diff --git a/pom.xml b/pom.xml index 35658f48c..ba882756c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.99.0 + 1.100.0 diff --git a/src/db/migration/V20241008_1520__AL-5017.sql b/src/db/migration/V20241008_1520__AL-5017.sql new file mode 100644 index 000000000..9cf3b821b --- /dev/null +++ b/src/db/migration/V20241008_1520__AL-5017.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE REVENUE_CONFIG ADD URL_GEOLOC VARCHAR(200)'; + exception when column_exists then null; +end; From c65750ec38e94812c18b08a90e11b3df04339368 Mon Sep 17 00:00:00 2001 From: Fernando Uc Date: Wed, 16 Oct 2024 13:29:54 -0600 Subject: [PATCH 2/4] =?UTF-8?q?Se=20agrega=20constante=20de=20link=20de=20?= =?UTF-8?q?aceptaci=C3=B3n=20de=20cotizaci=C3=B3n=20de=20expreso?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20241016_1249__AL-4550.sql | 31 ++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20241016_1249__AL-4550.sql diff --git a/pom.xml b/pom.xml index ba882756c..e9cdd393d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.100.0 + 1.100.1 diff --git a/src/db/migration/V20241016_1249__AL-4550.sql b/src/db/migration/V20241016_1249__AL-4550.sql new file mode 100644 index 000000000..e77025cfc --- /dev/null +++ b/src/db/migration/V20241016_1249__AL-4550.sql @@ -0,0 +1,31 @@ +-- INSERT / UPDATE +declare + dup_val_on_index exception; + except_02291 exception; + + pragma exception_init (dup_val_on_index , -00001); + pragma exception_init (except_02291 , -02291); +begin + execute immediate 'Insert into CONSTANTE ( + CONSTANTE_ID, + NOMBCONSTANTE, + DESCCONSTANTE, + INDTIPOCONSTANTE, + VALORCONSTANTE, + INDMANTENIMIENTOUSUARIO, + ACTIVO, + FECMODIF, + USUARIO_ID) + values ( + CONSTANTE_SEQ.NEXTVAL, + ''LINK_ACEPTAR_COTIZACION_EXPRESO'', + ''Link que se enviará en cuerpo de correo electrónico para aceptar cotización de Expreso.'', + null, + ''www.teste.com.br'', + null, + ''1'', + sysdate,''1'')'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file From b87bc7f7c591a448073d1eb62ff9434e0ede775f Mon Sep 17 00:00:00 2001 From: "wallace.henrique" Date: Thu, 17 Oct 2024 15:54:12 -0300 Subject: [PATCH 3/4] fixes bug#AL-4327 --- pom.xml | 2 +- src/db/backup/oracle/V20241017_1535__AL-4327.sql | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/db/backup/oracle/V20241017_1535__AL-4327.sql diff --git a/pom.xml b/pom.xml index e9cdd393d..5152e98aa 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.100.1 + 1.101.0 diff --git a/src/db/backup/oracle/V20241017_1535__AL-4327.sql b/src/db/backup/oracle/V20241017_1535__AL-4327.sql new file mode 100644 index 000000000..9ea981efd --- /dev/null +++ b/src/db/backup/oracle/V20241017_1535__AL-4327.sql @@ -0,0 +1,14 @@ +declare + dup_val_on_index exception; + except_02291 exception; + + pragma exception_init (dup_val_on_index , -00001); + pragma exception_init (except_02291 , -02291); +begin + execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID) + VALUES (FUNCION_SISTEMA_SEQ.nextval,''1'',''ADM > RELATORIOS> CETURB > MOVIMENTO MENSAL PASSAGEIRO'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.MOVIMENTOMENSALPASSAGEIROCETURB'',''1'',null,''2'')'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file From e0ef974ad67e4feab140a66b5e0b20c285681592 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Fri, 18 Oct 2024 10:24:25 -0300 Subject: [PATCH 4/4] =?UTF-8?q?Bolivariano=20-=20Impress=C3=A3o=20do=20bil?= =?UTF-8?q?hete=20na=20confirma=C3=A7=C3=A3o=20em=20aberto.=20feat=20bug#A?= =?UTF-8?q?L-5111?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20241016_0900__AL-5111.sql | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20241016_0900__AL-5111.sql diff --git a/pom.xml b/pom.xml index 5152e98aa..899db00d7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.101.0 + 1.102.0 diff --git a/src/db/migration/V20241016_0900__AL-5111.sql b/src/db/migration/V20241016_0900__AL-5111.sql new file mode 100644 index 000000000..9bdc6cc2d --- /dev/null +++ b/src/db/migration/V20241016_0900__AL-5111.sql @@ -0,0 +1,18 @@ +declare + object_exists exception; + except_02275 exception; + except_02270 exception; + except_02261 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_02275 , -02275); + pragma exception_init (except_02270 , -02270); + pragma exception_init (except_02261 , -02261); +begin + execute immediate 'ALTER TABLE EMPRESA ADD INDIMPRIMECONFABERTONBPE NUMBER(1,0)'; + exception + when object_exists then null; + when except_02275 then null; + when except_02270 then null; + when except_02261 then null; +end; \ No newline at end of file