From 3526e26cdc2c72d43ac05915a19237217b0a53b5 Mon Sep 17 00:00:00 2001 From: valdir Date: Thu, 3 May 2018 12:52:23 +0000 Subject: [PATCH] 0010992: Item 11 - Funcionalidade perfil fixes bug#10992 dev:daniel qua:marcelo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ao salvar o perfil sem clicar em somente leitura o campo de ficava nulo, atrapalhando a funcionalidade de travar os botões, foi alterado para setar o valor e criado um UPDATE no flyWay(V20180502_1355__mantis10992) para atualizar os usuários antigos com valores nulos. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@81544 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180502_1355__mantis10992.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20180502_1355__mantis10992.sql diff --git a/src/db/migration/V20180502_1355__mantis10992.sql b/src/db/migration/V20180502_1355__mantis10992.sql new file mode 100644 index 000000000..542408cc3 --- /dev/null +++ b/src/db/migration/V20180502_1355__mantis10992.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -00001); +begin + execute immediate 'UPDATE PERFIL_FUNCION SET INDLECTURA = 1 WHERE INDLECTURA IS NULL'; + exception when column_exists then null; +end; \ No newline at end of file