From 186ee27967153daa69884e3aa6204a28b299ae7c Mon Sep 17 00:00:00 2001 From: julio Date: Wed, 22 Jun 2022 19:21:45 +0000 Subject: [PATCH] fixes bug#24679 dev: Valdir qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@112868 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20220621_0932__mantis24679.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20220621_0932__mantis24679.sql diff --git a/src/db/migration/V20220621_0932__mantis24679.sql b/src/db/migration/V20220621_0932__mantis24679.sql new file mode 100644 index 000000000..7d0f70b2c --- /dev/null +++ b/src/db/migration/V20220621_0932__mantis24679.sql @@ -0,0 +1,8 @@ +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 > PASAJERO FRECUENTE > IMPORTAR CLIENTES POLICIAL'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.PASAJEROFRECUENTE.MENU.IMPORTARCLIENTESPOLICIAL'',1,SYSDATE,-1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file