From 54839dabd5aa7bca59cf075fc2df5f164378817a Mon Sep 17 00:00:00 2001 From: Fernando Abimael Alvarez Uc Date: Fri, 30 Aug 2024 12:44:48 -0600 Subject: [PATCH 1/4] Se actualiza longitud de campo DESCTRAYECTO en tabla TRAYECTOS_EXPRESOS. Fixes bug#AL-4549 --- pom.xml | 2 +- src/db/migration/V20240830_1237__AL-4549.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240830_1237__AL-4549.sql diff --git a/pom.xml b/pom.xml index 0a70e49da..6a31216d9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.89.0 + 1.89.1 diff --git a/src/db/migration/V20240830_1237__AL-4549.sql b/src/db/migration/V20240830_1237__AL-4549.sql new file mode 100644 index 000000000..e5388bcd2 --- /dev/null +++ b/src/db/migration/V20240830_1237__AL-4549.sql @@ -0,0 +1,12 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE TRAYECTOS_EXPRESOS MODIFY DESCTRAYECTO VARCHAR2(100 BYTE)'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file From 59c22bc56a1f1f941d14a36ea1010096fb77bfbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aristides=20dos=20Reis=20J=C3=BAnior?= Date: Mon, 2 Sep 2024 18:12:19 -0300 Subject: [PATCH 2/4] fixes bug#AL-4421 --- pom.xml | 2 +- src/db/migration/V20240902_1040__AL-4421.sql | 31 ++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240902_1040__AL-4421.sql diff --git a/pom.xml b/pom.xml index 0a70e49da..6c6ebf468 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.89.0 + 1.90.0 diff --git a/src/db/migration/V20240902_1040__AL-4421.sql b/src/db/migration/V20240902_1040__AL-4421.sql new file mode 100644 index 000000000..200cb0c65 --- /dev/null +++ b/src/db/migration/V20240902_1040__AL-4421.sql @@ -0,0 +1,31 @@ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD (INDIMPRIMECUPOMVOUCHERCUSTOMIZADO NUMBER(1,0))'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end; +/ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD CAMPOCUSTOMVOUCHER CLOB'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end; \ No newline at end of file From 37a1cfcc09239b3a335d0887f32ad7909f814247 Mon Sep 17 00:00:00 2001 From: Fernando Abimael Alvarez Uc Date: Tue, 3 Sep 2024 11:58:41 -0600 Subject: [PATCH 3/4] Se agrega campo DISPONIBLE EN TOTALBUS a tabla PARADAS --- pom.xml | 2 +- src/db/migration/V20240903_1153__AL-4882.sql | 15 +++++++++++++++ src/db/migration/V20240903_1155__AL-4882.sql | 12 ++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240903_1153__AL-4882.sql create mode 100644 src/db/migration/V20240903_1155__AL-4882.sql diff --git a/pom.xml b/pom.xml index 6c6ebf468..341726ef9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.90.0 + 1.90.1 diff --git a/src/db/migration/V20240903_1153__AL-4882.sql b/src/db/migration/V20240903_1153__AL-4882.sql new file mode 100644 index 000000000..251b54811 --- /dev/null +++ b/src/db/migration/V20240903_1153__AL-4882.sql @@ -0,0 +1,15 @@ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE PARADA ADD INDDISPONIBLETOTALBUS NUMBER(1, 0)'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20240903_1155__AL-4882.sql b/src/db/migration/V20240903_1155__AL-4882.sql new file mode 100644 index 000000000..cc3e7284c --- /dev/null +++ b/src/db/migration/V20240903_1155__AL-4882.sql @@ -0,0 +1,12 @@ +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 'UPDATE PARADA SET INDDISPONIBLETOTALBUS = 1'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file From 1ff4b531d064a0e9ec7ae406aa6682c9a481c78b Mon Sep 17 00:00:00 2001 From: Fabio Date: Thu, 5 Sep 2024 12:16:15 -0300 Subject: [PATCH 4/4] =?UTF-8?q?Modifica=C3=A7=C3=A3o=20Massiva=20Contratos?= =?UTF-8?q?=20feat=20bug#AL-4544?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20240822_0903__AL-4544.sql | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240822_0903__AL-4544.sql diff --git a/pom.xml b/pom.xml index 8b2fffd5c..d44155be9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.90.2 + 1.91.0 diff --git a/src/db/migration/V20240822_0903__AL-4544.sql b/src/db/migration/V20240822_0903__AL-4544.sql new file mode 100644 index 000000000..12d507d5c --- /dev/null +++ b/src/db/migration/V20240822_0903__AL-4544.sql @@ -0,0 +1,17 @@ +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 > CONFIGURAÇÃO COMERCIAL >> NEGOCIOS CORPORATIVOS >> MUDANÇA MASSIVA CONTRATO'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.MUDANCAMASSIVACONTRATO'', 1, SYSDATE, 1)'; + + exception + when dup_val_on_index then null; + when except_02291 then null; +end;