diff --git a/pom.xml b/pom.xml index ba882756c..e9cdd393d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.100.0 + 1.100.1 diff --git a/src/db/migration/V20241016_1249__AL-4550.sql b/src/db/migration/V20241016_1249__AL-4550.sql new file mode 100644 index 000000000..e77025cfc --- /dev/null +++ b/src/db/migration/V20241016_1249__AL-4550.sql @@ -0,0 +1,31 @@ +-- INSERT / UPDATE +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 CONSTANTE ( + CONSTANTE_ID, + NOMBCONSTANTE, + DESCCONSTANTE, + INDTIPOCONSTANTE, + VALORCONSTANTE, + INDMANTENIMIENTOUSUARIO, + ACTIVO, + FECMODIF, + USUARIO_ID) + values ( + CONSTANTE_SEQ.NEXTVAL, + ''LINK_ACEPTAR_COTIZACION_EXPRESO'', + ''Link que se enviará en cuerpo de correo electrónico para aceptar cotización de Expreso.'', + null, + ''www.teste.com.br'', + null, + ''1'', + sysdate,''1'')'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file