From 9b2aadbcdec6a10e897a917d860f782d0625b379 Mon Sep 17 00:00:00 2001 From: aristides Date: Mon, 4 Oct 2021 21:48:55 +0000 Subject: [PATCH] fixes bug#23282 qua: dev:Valdevir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@108984 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20211004_0928__mantis23282.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/db/migration/V20211004_0928__mantis23282.sql diff --git a/src/db/migration/V20211004_0928__mantis23282.sql b/src/db/migration/V20211004_0928__mantis23282.sql new file mode 100644 index 000000000..44d50ba84 --- /dev/null +++ b/src/db/migration/V20211004_0928__mantis23282.sql @@ -0,0 +1,13 @@ +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,2,''VDA > CAIXA > CONSULTA DE BILHETES > VENDA ACOPLADA DE SEGURO OPCIOANAL W2DIGITAL'',''COM.RJCONSULTORES.VENTABOLETOS.GUI.CONSULTABOLETO.VENDAACOPLADASEGUROOPCIONALW2DIGITAL'',1,sysdate,1)'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file