diff --git a/src/db/migration/V20180706_1035__mantis11035.sql b/src/db/migration/V20180706_1035__mantis11035.sql new file mode 100644 index 000000000..07165d8bf --- /dev/null +++ b/src/db/migration/V20180706_1035__mantis11035.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA_IMPOSTO ADD (INDTRIBEMISSAO NUMBER(1) DEFAULT 1 )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA_IMPOSTO ADD (INDTRIBVIAGEM NUMBER(1) DEFAULT 0 )'; + exception when column_exists then null; +end; +/ \ No newline at end of file