From b59a46d9134590bdd712d69fe27a92eb20e43060 Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 2 Jun 2020 20:54:13 +0000 Subject: [PATCH] bug#19391 dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@101935 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200602_1118__mantis19391.sql | 2 +- src/db/postgresql/migration/V20200602_1118__mantis19391.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/migration/V20200602_1118__mantis19391.sql b/src/db/migration/V20200602_1118__mantis19391.sql index 3a623dc81..712c378f6 100644 --- a/src/db/migration/V20200602_1118__mantis19391.sql +++ b/src/db/migration/V20200602_1118__mantis19391.sql @@ -17,7 +17,7 @@ declare pragma exception_init (dup_val_on_index , -00001); pragma exception_init (except_02291 , -02291); begin - execute immediate 'UPDATE FUNCIONSISTEMA_ID SET ACTIVO = 0 FROM FUNCION_SISTEMA where DESCRUTA like ''%MOVIMENTACIONBILHETES%'' '; + execute immediate 'UPDATE FUNCIONSISTEMA_ID SET ACTIVO = 0 where DESCRUTA like ''%MOVIMENTACIONBILHETES%'' '; exception when dup_val_on_index then null; when except_02291 then null; diff --git a/src/db/postgresql/migration/V20200602_1118__mantis19391.sql b/src/db/postgresql/migration/V20200602_1118__mantis19391.sql index 3a623dc81..712c378f6 100644 --- a/src/db/postgresql/migration/V20200602_1118__mantis19391.sql +++ b/src/db/postgresql/migration/V20200602_1118__mantis19391.sql @@ -17,7 +17,7 @@ declare pragma exception_init (dup_val_on_index , -00001); pragma exception_init (except_02291 , -02291); begin - execute immediate 'UPDATE FUNCIONSISTEMA_ID SET ACTIVO = 0 FROM FUNCION_SISTEMA where DESCRUTA like ''%MOVIMENTACIONBILHETES%'' '; + execute immediate 'UPDATE FUNCIONSISTEMA_ID SET ACTIVO = 0 where DESCRUTA like ''%MOVIMENTACIONBILHETES%'' '; exception when dup_val_on_index then null; when except_02291 then null;