From 17974c4c5b3c17226b9c21c502403bee9690d4ca Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 4 Jun 2024 11:13:21 -0300 Subject: [PATCH] script de menu de alias classe fixes bug#AL-4470 --- pom.xml | 2 +- src/db/migration/V20240604_1100__AL-3857.sql | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240604_1100__AL-3857.sql diff --git a/pom.xml b/pom.xml index 483041e70..36f71f428 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.45.0 + 1.45.1 diff --git a/src/db/migration/V20240604_1100__AL-3857.sql b/src/db/migration/V20240604_1100__AL-3857.sql new file mode 100644 index 000000000..5dd362287 --- /dev/null +++ b/src/db/migration/V20240604_1100__AL-3857.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 > ESQUEMA OPERACIONAL > ALIAS CLASSE'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.MENU.ALIASCLASSE'', 1, SYSDATE, 1)'; + + exception + when dup_val_on_index then null; + when except_02291 then null; +end;