From 7c558acae21fc2ddd498018f47a51986c8a929d6 Mon Sep 17 00:00:00 2001 From: leonardo Date: Fri, 11 Aug 2017 20:35:57 +0000 Subject: [PATCH] fixes bug #9523 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@72576 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170811_1625__mantis9523.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20170811_1625__mantis9523.sql diff --git a/src/db/migration/V20170811_1625__mantis9523.sql b/src/db/migration/V20170811_1625__mantis9523.sql new file mode 100644 index 000000000..bc0545f6b --- /dev/null +++ b/src/db/migration/V20170811_1625__mantis9523.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into FORMA_PAGO values (38, ''VOUCHER ROD'', null,1,sysdate,1, null,''VR'',null, 0,null)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file