From 073a15ac17096b7c84fdf3973412b8956a403f16 Mon Sep 17 00:00:00 2001 From: alberto Date: Wed, 24 May 2017 18:08:53 +0000 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20script?= 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@69266 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170520_1227__mantis9087.sql | 13 ------------- src/db/migration/V20170524_1500__mantis9087.sql | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 src/db/migration/V20170520_1227__mantis9087.sql create mode 100644 src/db/migration/V20170524_1500__mantis9087.sql diff --git a/src/db/migration/V20170520_1227__mantis9087.sql b/src/db/migration/V20170520_1227__mantis9087.sql deleted file mode 100644 index 9f0d6c9a3..000000000 --- a/src/db/migration/V20170520_1227__mantis9087.sql +++ /dev/null @@ -1,13 +0,0 @@ -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 diff --git a/src/db/migration/V20170524_1500__mantis9087.sql b/src/db/migration/V20170524_1500__mantis9087.sql new file mode 100644 index 000000000..bbd44e243 --- /dev/null +++ b/src/db/migration/V20170524_1500__mantis9087.sql @@ -0,0 +1,16 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE PRICING_ESPECIFICO ADD (EXIBEVENDA NUMBER(1,0))'; + exception when object_exists then null; +end; +/ + +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE PRICING ADD (EXIBEVENDA NUMBER(1,0))'; + exception when object_exists then null; +end; \ No newline at end of file