diff --git a/src/db/migration/V20180411_1800__mantis10879.sql b/src/db/migration/V20180411_1800__mantis10879.sql new file mode 100644 index 000000000..d8b05dfd6 --- /dev/null +++ b/src/db/migration/V20180411_1800__mantis10879.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BPE ADD (TIPOEVENTO VARCHAR2(6))'; + exception when column_exists then null; +end; diff --git a/src/db/migration/V20180411_1810__mantis10879.sql b/src/db/migration/V20180411_1810__mantis10879.sql new file mode 100644 index 000000000..0d5aac1a8 --- /dev/null +++ b/src/db/migration/V20180411_1810__mantis10879.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BPE ADD (TIPOSUBSTITUICAO VARCHAR2(1))'; + exception when column_exists then null; +end;