From 4f69420d3034163bf51da5433452ab48e3872443 Mon Sep 17 00:00:00 2001 From: frederico Date: Tue, 22 Jan 2019 12:47:11 +0000 Subject: [PATCH] fixed bug#13109 qua:Marcelo dev:Thiago git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@89133 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20190118_1454__mantis13109.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/db/migration/V20190118_1454__mantis13109.sql diff --git a/src/db/migration/V20190118_1454__mantis13109.sql b/src/db/migration/V20190118_1454__mantis13109.sql new file mode 100644 index 000000000..7a18c6c78 --- /dev/null +++ b/src/db/migration/V20190118_1454__mantis13109.sql @@ -0,0 +1,18 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD INDTOTALBUS NUMBER (1,0) DEFAULT 1'; + exception when column_exists then null; +end; + +/ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_CAT_IND ADD INDEMBARCADA NUMBER (1,0) DEFAULT 1'; + exception when column_exists then null; +end; +