diff --git a/src/db/migration/V20170726_1920__mantis9287.sql b/src/db/migration/V20170726_1920__mantis9287.sql index 511f14a79..ce042de1c 100644 --- a/src/db/migration/V20170726_1920__mantis9287.sql +++ b/src/db/migration/V20170726_1920__mantis9287.sql @@ -10,6 +10,7 @@ declare object_exists exception; pragma exception_init (object_exists , -01430); begin + execute immediate 'UPDATE FISCAL_IMPRESSORA SET INDBLOQUEAECF = 0 WHERE INDBLOQUEAECF IS NULL'; execute immediate 'ALTER TABLE FISCAL_IMPRESSORA MODIFY (INDBLOQUEAECF DEFAULT 0 NOT NULL)'; exception when object_exists then null; end;