From a907e0faf8f922232149a768e1671e92c96e16d3 Mon Sep 17 00:00:00 2001 From: fabio Date: Mon, 28 May 2018 13:15:20 +0000 Subject: [PATCH] fixes bug#10747 dev: Waldevir/Gleimar qua: Renato git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@82172 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180521_1219__mantis10747.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20180521_1219__mantis10747.sql diff --git a/src/db/migration/V20180521_1219__mantis10747.sql b/src/db/migration/V20180521_1219__mantis10747.sql new file mode 100644 index 000000000..ad02edbc7 --- /dev/null +++ b/src/db/migration/V20180521_1219__mantis10747.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD ( INDVENDSEGTABELA NUMBER(1, 0) DEFAULT 0 )'; + execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD ( INDESTANSEGTABELA NUMBER(1, 0) DEFAULT 0 )'; + exception when column_exists then null; +end; \ No newline at end of file