From 4eb56b280f1878ae35fe246270c8176049d7b011 Mon Sep 17 00:00:00 2001 From: wilian Date: Thu, 27 Feb 2020 21:41:26 +0000 Subject: [PATCH] fixes bug#18444 fixes bug#18434 dev:thiago qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@100373 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200227_1821__mantis18444.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20200227_1821__mantis18444.sql diff --git a/src/db/migration/V20200227_1821__mantis18444.sql b/src/db/migration/V20200227_1821__mantis18444.sql new file mode 100644 index 000000000..6e2c9d1a8 --- /dev/null +++ b/src/db/migration/V20200227_1821__mantis18444.sql @@ -0,0 +1,8 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'update custom set sistema = ''2'' where chave = ''clienteProducto'' and tipo = ''4'''; + execute immediate 'update custom set sistema = ''1'' where chave = ''clienteProducto'' and tipo = ''1'''; + exception when object_exists then null; +end; \ No newline at end of file