From dde49264cb878c40589a6559accbcd9d80209ef3 Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 11 May 2021 16:41:37 +0000 Subject: [PATCH] fixes bug#22155 dev: Wallace qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@106626 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20210504_1839__mantis22155.sql | 7 +++++++ src/db/migration/V20210510_1321__mantis22156.sql | 7 +++++++ .../postgresql/migration/V20210504_1839__mantis22155.sql | 7 +++++++ .../postgresql/migration/V20210510_1321__mantis22156.sql | 7 +++++++ 4 files changed, 28 insertions(+) create mode 100644 src/db/migration/V20210504_1839__mantis22155.sql create mode 100644 src/db/migration/V20210510_1321__mantis22156.sql create mode 100644 src/db/postgresql/migration/V20210504_1839__mantis22155.sql create mode 100644 src/db/postgresql/migration/V20210510_1321__mantis22156.sql diff --git a/src/db/migration/V20210504_1839__mantis22155.sql b/src/db/migration/V20210504_1839__mantis22155.sql new file mode 100644 index 000000000..20b654c1c --- /dev/null +++ b/src/db/migration/V20210504_1839__mantis22155.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FECHAMENTO_PARAMGERAL ADD (BOLETO_JUROS NUMBER(5,2), BOLETO_MULTA NUMBER(5,2) )'; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/migration/V20210510_1321__mantis22156.sql b/src/db/migration/V20210510_1321__mantis22156.sql new file mode 100644 index 000000000..badb9297b --- /dev/null +++ b/src/db/migration/V20210510_1321__mantis22156.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FECHAMENTO_BOLETO ADD (PORC_MORA NUMBER(5,2), PORC_MULTA NUMBER(5,2) )'; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20210504_1839__mantis22155.sql b/src/db/postgresql/migration/V20210504_1839__mantis22155.sql new file mode 100644 index 000000000..20b654c1c --- /dev/null +++ b/src/db/postgresql/migration/V20210504_1839__mantis22155.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FECHAMENTO_PARAMGERAL ADD (BOLETO_JUROS NUMBER(5,2), BOLETO_MULTA NUMBER(5,2) )'; + exception when object_exists then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20210510_1321__mantis22156.sql b/src/db/postgresql/migration/V20210510_1321__mantis22156.sql new file mode 100644 index 000000000..badb9297b --- /dev/null +++ b/src/db/postgresql/migration/V20210510_1321__mantis22156.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FECHAMENTO_BOLETO ADD (PORC_MORA NUMBER(5,2), PORC_MULTA NUMBER(5,2) )'; + exception when object_exists then null; +end; \ No newline at end of file