From 503d862858cbc64fd9600e17b00e9a5b37638815 Mon Sep 17 00:00:00 2001 From: aristides Date: Tue, 27 Jul 2021 23:17:58 +0000 Subject: [PATCH] fixes bug#22205 qua: dev:Valdevir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@108046 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20210720_1536__mantis22205.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20210720_1536__mantis22205.sql diff --git a/src/db/migration/V20210720_1536__mantis22205.sql b/src/db/migration/V20210720_1536__mantis22205.sql new file mode 100644 index 000000000..a003c5448 --- /dev/null +++ b/src/db/migration/V20210720_1536__mantis22205.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD INDSEGUROOPCIONALW2DIGITAL NUMBER(1,0) DEFAULT 0 NOT NULL'; + exception when column_exists then null; +end; \ No newline at end of file