From f350b88f42569280456c3a6fbeb0237c5b714e41 Mon Sep 17 00:00:00 2001 From: gleimar Date: Tue, 1 Aug 2017 14:27:23 +0000 Subject: [PATCH] UPDATE PARA 0 OS ANTIGOS BUG#9287 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@72116 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170726_1920__mantis9287.sql | 1 + 1 file changed, 1 insertion(+) 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;