From b11ae2d0d2e5ce0b37fc6db4bf330e02276fcd3b Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 12 Dec 2017 11:25:22 +0000 Subject: [PATCH] bug #9775 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@77227 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20171208_1701__mantis9775.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20171208_1701__mantis9775.sql diff --git a/src/db/migration/V20171208_1701__mantis9775.sql b/src/db/migration/V20171208_1701__mantis9775.sql new file mode 100644 index 000000000..2025b11c8 --- /dev/null +++ b/src/db/migration/V20171208_1701__mantis9775.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE EMPRESA ADD ( INDIMPRIMECUPEMBVENDAMANUAL NUMBER(1, 0) DEFAULT 0 NOT NULL )'; + exception when object_exists then null; +end; \ No newline at end of file