From 77fc4e7619ef5c8af814a5507a27db72f99e0c53 Mon Sep 17 00:00:00 2001 From: wilian Date: Mon, 3 Jul 2017 23:30:02 +0000 Subject: [PATCH] bug #9309 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@70945 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170703_1457__mantis9309.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/db/migration/V20170703_1457__mantis9309.sql diff --git a/src/db/migration/V20170703_1457__mantis9309.sql b/src/db/migration/V20170703_1457__mantis9309.sql new file mode 100644 index 000000000..5bba18e1d --- /dev/null +++ b/src/db/migration/V20170703_1457__mantis9309.sql @@ -0,0 +1,12 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_COMISSAO + ADD ( + INDBILHETESTROCADOS NUMBER (1,0) DEFAULT 1, + INDBILHETESTRANSFERIDOS NUMBER (1,0) DEFAULT 1, + INDBILHETESDEVCANORIGEM NUMBER (1,0) + )'; + exception when column_exists then null; +end; \ No newline at end of file