From 425537e77d80ab31c978d082629503b390c05498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aristides=20dos=20Reis=20J=C3=BAnior?= Date: Fri, 5 Jan 2024 11:15:22 -0300 Subject: [PATCH] fixes bug#AL-3451 --- pom.xml | 2 +- src/db/migration/V20240104_1800__AL-3451.sql | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240104_1800__AL-3451.sql diff --git a/pom.xml b/pom.xml index f724a16d4..3a863f942 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.23.3 + 1.24.0 diff --git a/src/db/migration/V20240104_1800__AL-3451.sql b/src/db/migration/V20240104_1800__AL-3451.sql new file mode 100644 index 000000000..f8b13062a --- /dev/null +++ b/src/db/migration/V20240104_1800__AL-3451.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 > RELATORIO >> FINANCEIRO >>> DESEMPENHO POR LINHA'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIODESEMPENHOPORLINHA'', 1, SYSDATE, 1)'; + + exception + when dup_val_on_index then null; + when except_02291 then null; +end;