From 6b1afc15bccacf7fbe9051525602fecd8667ccc6 Mon Sep 17 00:00:00 2001 From: frederico Date: Mon, 17 Feb 2020 20:41:43 +0000 Subject: [PATCH] bug#18049 qua:Wallysson dev:Thiago git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@100250 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200203_2017__mantis18049.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/db/migration/V20200203_2017__mantis18049.sql diff --git a/src/db/migration/V20200203_2017__mantis18049.sql b/src/db/migration/V20200203_2017__mantis18049.sql new file mode 100644 index 000000000..7db6550e1 --- /dev/null +++ b/src/db/migration/V20200203_2017__mantis18049.sql @@ -0,0 +1,15 @@ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE ORGAO_CANCELACION ADD PORCCOMISSAOVENDA NUMBER(5,2)'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end; \ No newline at end of file