From 5b8b85f44512ce19055298aecb9944b7428485c4 Mon Sep 17 00:00:00 2001 From: Fernando Uc Date: Thu, 10 Oct 2024 18:07:25 -0600 Subject: [PATCH] =?UTF-8?q?Se=20agregan=20scripts=20de=20men=C3=BA=20Segui?= =?UTF-8?q?miento=20Expresos=20e=20Informe=20de=20Viajes=20Ocasionales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20241010_1751__AL-4550.sql | 15 +++++++++++++++ src/db/migration/V20241010_1805__AL-4551.sql | 16 ++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20241010_1751__AL-4550.sql create mode 100644 src/db/migration/V20241010_1805__AL-4551.sql diff --git a/pom.xml b/pom.xml index 23fe91192..8e72ebec6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.98.3 + 1.98.4 diff --git a/src/db/migration/V20241010_1751__AL-4550.sql b/src/db/migration/V20241010_1751__AL-4550.sql new file mode 100644 index 000000000..93a2b79c7 --- /dev/null +++ b/src/db/migration/V20241010_1751__AL-4550.sql @@ -0,0 +1,15 @@ +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 > Expresso > Informe de Viajes Ocasionales'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.EXPRESSOS.INFORMEVIAJESOCASIONALES'', 1, + SYSDATE, 1)'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20241010_1805__AL-4551.sql b/src/db/migration/V20241010_1805__AL-4551.sql new file mode 100644 index 000000000..f9855e764 --- /dev/null +++ b/src/db/migration/V20241010_1805__AL-4551.sql @@ -0,0 +1,16 @@ +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 > Expresso > Seguimiento Expresos'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.EXPRESSOS.SEGUIMIENTOEXPRESOS'', 1, + SYSDATE, 1)'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; +/ \ No newline at end of file