From ba38eb964140ec6aa08e3d6f2125c557790c6f96 Mon Sep 17 00:00:00 2001 From: valdevir Date: Thu, 11 Jan 2018 12:42:28 +0000 Subject: [PATCH] fixes bug #9984 - Script flyway adicionar campo numoperacion. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@77933 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180111_1030__mantis9984.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20180111_1030__mantis9984.sql diff --git a/src/db/migration/V20180111_1030__mantis9984.sql b/src/db/migration/V20180111_1030__mantis9984.sql new file mode 100644 index 000000000..2025b11c8 --- /dev/null +++ b/src/db/migration/V20180111_1030__mantis9984.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