From b9a32a97473af81c84fb8f36f23fbbc4e9811844 Mon Sep 17 00:00:00 2001 From: wilian Date: Tue, 12 Nov 2019 21:35:57 +0000 Subject: [PATCH] fixes bug#16732 fixes bug#16718 dev:fred/thiago qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@98770 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20191029_1132__mantis16732.sql | 7 +++++++ src/db/migration/V20191029_1133__mantis16732.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/db/migration/V20191029_1132__mantis16732.sql create mode 100644 src/db/migration/V20191029_1133__mantis16732.sql diff --git a/src/db/migration/V20191029_1132__mantis16732.sql b/src/db/migration/V20191029_1132__mantis16732.sql new file mode 100644 index 000000000..9834b1026 --- /dev/null +++ b/src/db/migration/V20191029_1132__mantis16732.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CTRL_SERIE_BPE ADD (INSCRICAOESTADUAL_ID NUMBER(7))'; + exception when column_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20191029_1133__mantis16732.sql b/src/db/migration/V20191029_1133__mantis16732.sql new file mode 100644 index 000000000..dafdbaa47 --- /dev/null +++ b/src/db/migration/V20191029_1133__mantis16732.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BPE_CTRL_DISPONIBILIDADE ADD (INSCRICAOESTADUAL_ID NUMBER(7))'; + exception when column_exists then null; +end; \ No newline at end of file