From 032ba450b77afc4ef8ca54dd84e438547465e999 Mon Sep 17 00:00:00 2001 From: frederico Date: Wed, 8 Nov 2017 12:48:08 +0000 Subject: [PATCH] fixed bug #10022 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@76167 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170811_0811__mantis10022.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/db/migration/V20170811_0811__mantis10022.sql diff --git a/src/db/migration/V20170811_0811__mantis10022.sql b/src/db/migration/V20170811_0811__mantis10022.sql new file mode 100644 index 000000000..2d0aa3b5a --- /dev/null +++ b/src/db/migration/V20170811_0811__mantis10022.sql @@ -0,0 +1,11 @@ +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'',''PERMITE ENCERRAR CHECKIN'', +''COM.RJCONSULTORES.VENTABOLETOS.GUI.VENTA.MENU.ITENS.ITEMMENUCHECKIN.ENCERRARCHECKIN'', +''1'',to_date(''15/04/16'',''DD/MM/RR''),''1'')'; + exception when dup_val_on_index then null; +end; \ No newline at end of file