Merge pull request 'fixes bug#AL-4653' (!203) from AL-4653 into master

Reviewed-on: utilidades/Flyway#203
Reviewed-by: aristides <aristides@rjconsultores.com.br>
master
Gleison da Cruz 2024-09-18 14:47:29 +00:00
commit 870da61a17
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;