From 08933de9b2af699601c8c5257dfa9afead9a23c0 Mon Sep 17 00:00:00 2001 From: "bruno.neves" Date: Fri, 7 Jul 2017 22:23:32 +0000 Subject: [PATCH] fixed bug #0009181 fixed bug #0009182 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@71152 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170622_1417__mantis9182.sql | 7 +++++++ src/db/migration/V20170623_1500__mantis9182.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/db/migration/V20170622_1417__mantis9182.sql create mode 100644 src/db/migration/V20170623_1500__mantis9182.sql diff --git a/src/db/migration/V20170622_1417__mantis9182.sql b/src/db/migration/V20170622_1417__mantis9182.sql new file mode 100644 index 000000000..08b2b2d8d --- /dev/null +++ b/src/db/migration/V20170622_1417__mantis9182.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO ADD (MOTIVODEVOLUCAOBILHETE_ID NUMBER(7))'; + exception when column_exists then null; +end; diff --git a/src/db/migration/V20170623_1500__mantis9182.sql b/src/db/migration/V20170623_1500__mantis9182.sql new file mode 100644 index 000000000..501a718ce --- /dev/null +++ b/src/db/migration/V20170623_1500__mantis9182.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE MOTIVO_DEVOLUCAO_BILHETE ADD (TXTRELATORIO VARCHAR2(100))'; + exception when object_exists then null; +end; \ No newline at end of file