From d95f2303c0d5d8efb5eb6e552e8e1f00fb3959e0 Mon Sep 17 00:00:00 2001 From: frederico Date: Mon, 14 Jan 2019 16:47:27 +0000 Subject: [PATCH] fixed bug#13108 qua:Renato dev:Valdir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@88826 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20190110_1555__mantis13108.sql | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/db/migration/V20190110_1555__mantis13108.sql diff --git a/src/db/migration/V20190110_1555__mantis13108.sql b/src/db/migration/V20190110_1555__mantis13108.sql new file mode 100644 index 000000000..797b0dce6 --- /dev/null +++ b/src/db/migration/V20190110_1555__mantis13108.sql @@ -0,0 +1,23 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_SEGURO ADD INDVENDESEGUROOPCEMBARCADA 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_SEGURO ADD INDVENDESEGUROTABELAEMBARCADA 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_SEGURO ADD INDTAXAEMBARQUEEMBARCADA NUMBER (1,0) DEFAULT 1'; + exception when column_exists then null; +end; \ No newline at end of file