diff --git a/src/db/migration/V20170726_1920__mantis9287.sql b/src/db/migration/V20170726_1920__mantis9287.sql new file mode 100644 index 000000000..511f14a79 --- /dev/null +++ b/src/db/migration/V20170726_1920__mantis9287.sql @@ -0,0 +1,17 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FISCAL_IMPRESSORA ADD (INDVALIDAESTADO NUMBER(1) DEFAULT 0 NOT NULL)'; + exception when object_exists then null; +end; +/ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FISCAL_IMPRESSORA MODIFY (INDBLOQUEAECF DEFAULT 0 NOT NULL)'; + exception when object_exists then null; +end; + +