From ac4229323c96bfd2b5da462e735ac6f9ad687ae7 Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 11 May 2021 13:25:06 +0000 Subject: [PATCH] fixes bug#21994 dev: Wilian qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@106624 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20210510_1520__mantis21994.sql | 7 +++++++ src/db/migration/V20210510_1521__mantis21994.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 src/db/migration/V20210510_1520__mantis21994.sql create mode 100644 src/db/migration/V20210510_1521__mantis21994.sql diff --git a/src/db/migration/V20210510_1520__mantis21994.sql b/src/db/migration/V20210510_1520__mantis21994.sql new file mode 100644 index 000000000..9f46c725d --- /dev/null +++ b/src/db/migration/V20210510_1520__mantis21994.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE COMISSAO ADD (RECEITA_SEGURO NUMBER(13,2), RECEITA_BRUTA_SEGURO NUMBER(13,2) )'; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20210510_1521__mantis21994.sql b/src/db/migration/V20210510_1521__mantis21994.sql new file mode 100644 index 000000000..8c36d9a86 --- /dev/null +++ b/src/db/migration/V20210510_1521__mantis21994.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE COMISSAO_RECEITA ADD SEG_OBRIGATORIO NUMBER(13,2)'; + exception when column_exists then null; +end; \ No newline at end of file