From 1ff4b531d064a0e9ec7ae406aa6682c9a481c78b Mon Sep 17 00:00:00 2001 From: Fabio Date: Thu, 5 Sep 2024 12:16:15 -0300 Subject: [PATCH] =?UTF-8?q?Modifica=C3=A7=C3=A3o=20Massiva=20Contratos=20f?= =?UTF-8?q?eat=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;