fixes bug#AL-4653

master
Gleison da Cruz 2024-09-18 10:12:21 -03:00
parent b5f44a8139
commit aec0c5ff41
2 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId> <artifactId>Flyway</artifactId>
<version>1.93.1</version> <version>1.94.0</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -0,0 +1,9 @@
declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID)
VALUES (FUNCION_SISTEMA_SEQ.NEXTVAL, 1, ''ADM > RELATORIOS >> BILHETES CANCELADOS'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOBILHETESCANCELADOS'', 1, sysdate, 1)';
exception when dup_val_on_index then null;
end;