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