diff --git a/src/db/migration/V20170118_1730__ErroVendaManual.sql b/src/db/migration/V20170118_1730__ErroVendaManual.sql new file mode 100644 index 000000000..3ba6fbfba --- /dev/null +++ b/src/db/migration/V20170118_1730__ErroVendaManual.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE FISCAL_T2 MODIFY (FISCALIMPRESSORA_ID NULL)'; + exception when object_exists then null; +end; \ No newline at end of file