From f8dc03baffeb43bdc91e363597e505b5a7ce0e89 Mon Sep 17 00:00:00 2001 From: wilian Date: Sat, 3 Dec 2016 13:35:28 +0000 Subject: [PATCH] fixes bug #8307 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@63165 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20161203_1116__mantis8307.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20161203_1116__mantis8307.sql diff --git a/src/db/migration/V20161203_1116__mantis8307.sql b/src/db/migration/V20161203_1116__mantis8307.sql new file mode 100644 index 000000000..19a8f6076 --- /dev/null +++ b/src/db/migration/V20161203_1116__mantis8307.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 >> CONFIG COMERCIAL > MOTIVO DO CANCELAMENTO VENDA PACOTE'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.MOTIVOSDELACANCELVENDAPACOTE'',1,SYSDATE,1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file