From cae034c3c6067b9a4b444676358e2d6bacb31839 Mon Sep 17 00:00:00 2001 From: "bruno.neves" Date: Wed, 24 May 2017 17:52:03 +0000 Subject: [PATCH] =?UTF-8?q?bug=20#0009087=20-=20script=20cria=C3=A7=C3=A3o?= =?UTF-8?q?=20de=20coluna=20no=20princing=20e=20princingEspecifico?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69259 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170520_1227__mantis9087.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/db/migration/V20170520_1227__mantis9087.sql diff --git a/src/db/migration/V20170520_1227__mantis9087.sql b/src/db/migration/V20170520_1227__mantis9087.sql new file mode 100644 index 000000000..9f0d6c9a3 --- /dev/null +++ b/src/db/migration/V20170520_1227__mantis9087.sql @@ -0,0 +1,13 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + begin + execute immediate 'ALTER TABLE PRICING_ESPECIFICO ADD (EXIBEVENDA NUMBER(1,0))'; + exception when object_exists then null; + end + begin + execute immediate 'ALTER TABLE PRICING ADD (EXIBEVENDA NUMBER(1,0))'; + exception when object_exists then null; + end +end; \ No newline at end of file