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