From 296119a3eb77fb4273c3b6f3534c11558793e12a Mon Sep 17 00:00:00 2001 From: Julio Heredia Date: Tue, 24 Oct 2023 18:10:06 -0300 Subject: [PATCH 1/2] add config constante = NAO_VALIDA_ESQUEMA_CORRIDA_VIA --- pom.xml | 2 +- src/db/migration/V20231024_1506__AL3101.sql | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20231024_1506__AL3101.sql diff --git a/pom.xml b/pom.xml index f745c5130..a9e04541c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.14.1 + 1.15.0 diff --git a/src/db/migration/V20231024_1506__AL3101.sql b/src/db/migration/V20231024_1506__AL3101.sql new file mode 100644 index 000000000..0579be366 --- /dev/null +++ b/src/db/migration/V20231024_1506__AL3101.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'INSERT INTO CONSTANTE (CONSTANTE_ID, NOMBCONSTANTE, DESCCONSTANTE, VALORCONSTANTE, INDTIPOCONSTANTE, INDMANTENIMIENTOUSUARIO, ACTIVO, FECMODIF, USUARIO_ID) + VALUES (CONSTANTE_SEQ.nextval, ''NAO_VALIDA_ESQUEMA_CORRIDA_VIA'', ''NAO VALIDA NA EDICAO DO ESQUEMA CORRIDA A VIA DOS TRECHOS DO DOUBLEDECK'', ''FALSE'', ''1'', ''1'', ''1'', sysdate, ''1'')'; + exception when dup_val_on_index then null; +end; \ No newline at end of file From 507ec670b7c7171afb219298a881b85e1626a5be Mon Sep 17 00:00:00 2001 From: Julio Heredia Date: Fri, 27 Oct 2023 16:01:46 -0300 Subject: [PATCH 2/2] problema no merge alteracao de versao --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a9e04541c..31aefc906 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.15.0 + 1.16.0